Adaptive energy flow diagram of a single device for energy storage

such as, request: http://api.dessmonitor.com/public/?sign=9a783845dce735a71ff118ced2333aa194623120&salt=1540890436977&token=72066f2b89b6f1e9d169f615ee51a8b8f6f6f19aeac43f601462a41805324e93&action=webQueryDeviceEnergyFlowEs&pn=X2118122507142&devcode=2343&devaddr=1&sn=1601012001&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action webQueryDeviceEnergyFlowEs true
devcode Energy storage protocol code true
pn Energy storage equipment PN true
devaddr Energy storage device address true
sn Energy storage equipment SN true

response:

parameter description required
dat[x].brand Equipment brand 0 = energy storage machine,1=PV inverter,2=Grid-tied inverter,3=Energy storage all-in-one true
dat[x].bt_status The value of the battery energy flow direction:1 for discharge,0 is directionless,-1 for charging true
dat[x].pv_status The value of the direction of photovoltaic energy flow:1 for photovoltaic power generation,0 is directionless,-1 No definition true
dat[x].gd_status The value of the direction of the mains power flow:1 to buy electricity,0 is directionless,-1 for selling electricity true
dat[x].bc_status The value of the load energy flow direction:1 No definition,0 is directionless,-1is power consumption true
dat[x].ol_status The value of the oil function energy flow direction:1 for power generation,0 is directionless,-1 No definition true
dat[x].we_status The value of the wind energy flow direction:1 for power generation,0 is directionless,-1 No definition true
dat.bt_status[j].par key true
dat.bt_status[j].val value true
dat.bt_status[j].unit unit true
dat.bt_status[j].status Energy flow direction state trues
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "brand":2,
        "bt_status":[
            {
                "par":"bt_battery_capacity",
                "val":"200.0000",
                "unit":"Ah",
                "status":-1
            }
        ],
        "pv_status":[
            {
                "par":"pv_output_power",
                "val":"0.0000",
                "unit":"W",
                "status":0
            }
        ],
        "gd_status":[
            {
                "par":"grid_active_power",
                "val":"0.0000",
                "unit":"kW",
                "status":0
            }
        ],
        "bc_status":[
            {
                "par":"load_active_power",
                "val":"0.0000",
                "unit":"W",
                "status":0
            }
        ],
        "ol_status":[
            {
                "par":"oil_output_power",
                "val":"0",
                "status":0
            }
        ],
        "we_status":[
            {
                "par":"wind_output_power",
                "val":"0",
                "status":0
            }
        ]
    }
}

possible error:

results matching ""

    No results matching ""