Query the daily data of important parameters of energy storage equipment for a certain month
| parameter | description | required |
|---|---|---|
| action | querySPDeviceKeyParameterMonthPerDay | true |
| parameter | Important parameters of the device | true |
| date | The date to query, format: yyyy-mm, The date is considered asper projectthe time zone in which it is located, if you do not pass this parameter, it defaults to the current month | false |
Important parameters of the device are passed in:
| parameter | description |
|---|---|
| BATTERY_ENERGY_TODAY_DISCHARGE | The daily discharge of the battery |
| BATTERY_ENERGY_TODAY_CHARGE | The daily charge of the battery |
| LOAD_ENERGY_TODAY | Daily power consumption of the load |
| ENERGY_TODAY_TO_GRID | Daily grid-connected electricity |
| ENERGY_TODAY_FROM_GRID | Daily electricity consumption of the grid |
response:
| parameter | description | required |
|---|---|---|
| option[x].val | value | true |
| option[x].gts | time | true |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"option":[
{
"gts":"2018-01-01",
"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 |