Adaptive energy flow diagram of a single device for energy storage
| 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: