Query the detailed data of the important parameters of the energy storage equipment under the same protocol as the user
such as, request: http://api.dessmonitor.com/public/?sign=1be26050c26f09ff2e280b805e880f4929760937&salt=1553345835433&token=9bd1fa08a65e279407413b61ec05264d556d756254854199aa4e3c469409f4e6&action=querySPDevicesKeyParamOneDay¶meter=battery_active_power&date=2019-01-01&devcode=2337&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1
notice:Only power station owner accounts are supported
| parameter |
description |
required |
| action |
querySPDevicesKeyParamOneDay |
true |
| devcode |
Device protocol encoding |
true |
| parameter |
Important parameters of the device |
true |
| date |
The date to query, format: yyyy-MM-dd, The date is considered asdeviceThe time zone in which it is located, If you do not pass this parameter, it defaults to today |
false |
Pass in important parameters for the device:
| parameter |
description |
| BATTERY_ACTIVE_POWER |
Battery power |
| BT_BATTERY_CAPACITY |
Battery capacity |
| PV_OUTPUT_POWER |
Photovoltaic power generation |
| GRID_ACTIVE_POWER |
Grid power |
| LOAD_ACTIVE_POWER |
Load power |
response:
| parameter |
description |
required |
| detail[x].val |
Important parameter The value of a moment in time |
true |
| detail[x].gts |
time, format: yyyy-MM-dd HH:mm:ss |
true |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"detail":[
{
"val":"0.0100",
"ts":"2019-01-01 00:00:00"
},
{
"val":"0.0100",
"ts":"2019-01-01 00:05:00"
},
{
"val":"0.0100",
"ts":"2019-01-01 00:10:00"
},
{
"val":"0.0080",
"ts":"2019-01-01 23:55:00"
}
]
}
}
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 |
| 0x000C |
ERR_NO_RECORD |
no records |