Query the output active power details of Inverters or other power generation Device on a certain day
Particular attention:This interface returns the original power curve and will not be completed and is not available 24/7. To match the Plant curve, this interface needs to be used Query the 24-hour output active power details of Inverters or other Device, action isqueryDeviceActiveOuputPowerOneDay24Hour
Parameter | Description | Required |
---|---|---|
action | queryDeviceActiveOuputPowerOneDay | True |
pn | Datalogger number | True |
devcode | Device protocol encoding | True |
devaddr | Device address (485 bus) | True |
sn | Device serial number | True |
date | Date to query , format: yyyy-mm-dd, Date is considered as the time zone where the Device is located | True |
response:
Parameter | Description | Required |
---|---|---|
outputPower[x].val | Output active power, Standardized units | True |
outputPower[x].ts | Time of generating active power output(The time zone where the Device is located), format: yyyy-mm-dd hh:mi:ss | True |
The outputPower
array is arranged in ascending order of ts
, where the earliest data occurs first
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"outputPower":[
{
"val":"29.0001",
"ts":"2016-12-31 06:10:10"
},
{
"val":"30.0001",
"ts":"2016-12-31 06:15:10"
}
]
}
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | Parameter error |
0x000C | ERR_NO_RECORD | No records (no data reported by the Device was found) |
0x0102 | ERR_NOT_FOUND_DEVICE | Device not found |