Query the important parameters of the Device for a certain month's data
| Parameter | Description | Required |
|---|---|---|
| action | queryDeviceKeyParameterMonth | True |
| pn | Datalogger number | True |
| devcode | Device protocol code | True |
| devaddr | Device address (485 bus) | True |
| sn | Device serial number | True |
| parameter | Parameters to query, refer to Important Device parameters | True |
| date | Date to query , format: yyyy-mm, Date is considered as the time zone where the Device is located, If this parameter is not passed, it will be defaulted to current month | True |
response:
| Parameter | Description | Required |
|---|---|---|
| info | Data of important Device parameters for a certain month | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"info":[{
"par":"apparent_power",
"val":"12.0000"
}
]
}
}
Possible errors:
| Response error code | Description | Details |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | Parameter error |
| 0x0007 | ERR_MISSING_PARAMETER | Missing necessary parameters |
| 0x000C | ERR_NO_RECORD | No record (the Device has no data) |
| 0x0102 | ERR_NOT_FOUND_DEVICE | Device not found |