Query the monthly power generation of the Plant
Parameter | Description | Required |
---|---|---|
action | queryPlantEnergyMonth | True |
plantid | Plant id | True |
date | Date to query, format: yyyy-mm, The date is considered to be the time zone where the Plant is located,If this parameter is not passed, it will be defaulted to current month | False |
response:
Parameter | Description | Required |
---|---|---|
energy | Power generation, Standardized units | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"energy":"10.0001"
}
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | Parameter error |
0x000B | ERR_NO_PERMISSION | No permission (the user does not have permission to operate the Plants) |
0x0101 | ERR_NOT_FOUND_DEVICE | Unable to find the Device |
0x0104 | ERR_NOT_FOUND_PLANT | Unable to find the Plant |
0x000C | ERR_NO_RECORD | No records (no data found or no data generated for that month) |