Query the annual data of important parameters of energy storage equipment
| parameter | description | required |
|---|---|---|
| action | querySPDeviceKeyParameterTotalPerYear | true |
| parameter | Important parameters of the device | true |
response:
| parameter | description | required |
|---|---|---|
| option[x].val | value | true |
| option[x].gts | time | true |
Pass in important parameters for the device:
| parameter | description |
|---|---|
| BATTERY_ENERGY_TOTAL_DISCHARGE | Total battery discharge |
| BATTERY_ENERGY_TOTAL_CHARGE | Total battery charge |
| LOAD_ENERGY_TOTAL | Total load power consumption |
| ENERGY_TOTAL_TO_GRID | The total grid-connected electricity |
| ENERGY_TOTAL_FROM_GRID | Total electricity consumption of the grid |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"option":[
{
"gts":"2018",
"val":"0.0000"
}
]
}
}
possible impacts:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | format error,parameter error |
| 0x0007 | ERR_MISSING_PARAMETER | The necessary parameters are missing |
| 0x0102 | ERR_NOT_FOUND_DEVICE | device not found |