Energy storage queries the view of all device status under the user
| parameter | description | required |
|---|---|---|
| action | webQueryDeviceStatusViewEs | true |
| devtype | device type,If not, query for all device types | false |
response:
| parameter | description | required |
|---|---|---|
| dat[x].total | Total number of devices | true |
| dat[x].warningCount | Total number of alarms | true |
| dat[x].faultCount | Total number of failures | true |
| dat[x].offCount | Total number offline | true |
| dat[x].normalCount | Total number online | true |
| dat[x].standby | Total number online | true |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"total":5191,
"warningCount":41,
"faultCount":33,
"offCount":795,
"normalCount":4322
}
}
possible error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0008 | ERR_FORBIDDEN | rejection |
| 0x0102 | ERR_NOT_FOUND_DEVICE | device not found |