Query the daily 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=1c8734b64cf19c42444b787311221dc7184ba698&salt=1553338825680&token=258bd1a5fce570bfdc32c5c2cb0a87356272f4e7f02f803ce79849dd136b60b4&action=querySPDevicesKeyParamMonthPerDay¶meter=load_energy_today&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 |
querySPDevicesKeyParamMonthPerDay |
true |
| parameter |
Important parameters of the device |
true |
| devcode |
Device protocol |
true |
| date |
The date to query, format: yyyy-mm, The date is considered asdeviceThe time zone in which it is located, If you do not pass this parameter, it defaults to the month |
false |
Pass in important parameters for the device:
| 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 |
| ENERGY_TODAY |
Photovoltaic daily power generation |
response:
| parameter |
description |
required |
| option[x].val |
value |
true |
| option[x].gts |
time |
true |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"option":[
{
"gts":"2019-01-01",
"val":"470.8000"
},
{
"gts":"2019-01-02",
"val":"470.9000"
},
{
"gts":"2019-01-03",
"val":"471.2000"
},
{
"gts":"2019-01-04",
"val":"455.6000"
},
{
"gts":"2019-01-05",
"val":"533.2000"
},
{
"gts":"2019-01-06",
"val":"538.1000"
},
{
"gts":"2019-01-07",
"val":"538.2000"
},
{
"gts":"2019-01-08",
"val":"536.3000"
},
{
"gts":"2019-01-09",
"val":"539.0000"
},
{
"gts":"2019-01-10",
"val":"538.1000"
},
{
"gts":"2019-01-11",
"val":"537.3000"
},
{
"gts":"2019-01-12",
"val":"539.2000"
},
{
"gts":"2019-01-13",
"val":"538.1000"
},
{
"gts":"2019-01-14",
"val":"0.0000"
},
{
"gts":"2019-01-15",
"val":"491.9000"
},
{
"gts":"2019-01-16",
"val":"0.0000"
},
{
"gts":"2019-01-17",
"val":"294.8000"
},
{
"gts":"2019-01-18",
"val":"22.9000"
},
{
"gts":"2019-01-19",
"val":"37.6000"
},
{
"gts":"2019-01-20",
"val":"61.5000"
},
{
"gts":"2019-01-21",
"val":"67.8000"
},
{
"gts":"2019-01-22",
"val":"56.4000"
},
{
"gts":"2019-01-23",
"val":"0.0000"
},
{
"gts":"2019-01-24",
"val":"0.0000"
},
{
"gts":"2019-01-25",
"val":"0.0000"
},
{
"gts":"2019-01-26",
"val":"0.0000"
},
{
"gts":"2019-01-27",
"val":"0.0000"
},
{
"gts":"2019-01-28",
"val":"0.0000"
},
{
"gts":"2019-01-29",
"val":"0.0000"
},
{
"gts":"2019-01-30",
"val":"0.0000"
},
{
"gts":"2019-01-31",
"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 |