Query the data of important parameters of the device for a certain month
such as, request: http://api.dessmonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=queryDeviceKeyParameterMonth&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1
| parameter |
description |
required |
| action |
queryDeviceKeyParameterMonth |
true |
| pn |
Digital collector number |
true |
| devcode |
Device protocol encoding |
true |
| devaddr |
Device Address (485 bus) |
true |
| sn |
Device serial number |
true |
| parameter |
The parameters to be queried are separated by multiple ",", seeImportant parameters of the device |
true |
| date |
The date to query, format: yyyy-mm, The date is considered the time zone of the device, If you do not pass this parameter, it defaults to the current month |
true |
response:
| parameter |
description |
required |
| info |
Important parameter data of the device in a certain month |
true |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"info":[{
"par":"apparent_power",
"val":"12.0000"
}
]
}
}
possible error:
| Returns an error code |
description |
detailed description |
| 0x0006 |
ERR_FORMAT_ERROR |
parameter error |
| 0x0007 |
ERR_MISSING_PARAMETER |
The necessary parameters are missing |
| 0x000C |
ERR_NO_RECORD |
No record (no data for the device) |
| 0x0102 |
ERR_NOT_FOUND_DEVICE |
device not found |