/meter/elec/import/day
Returns the total energy import data for the last 24 hours, sampled at 5 minute intervals.
Returns 503 Service Unavailable if insufficient data has been collected, or if the meter type does not support energy import measurements.
get
Authorizations
AuthorizationstringRequired
Format has to be N2G-LAN-USER token="${USER_API_TOKEN}".
Responses
200
OK
application/json
statusstringOptional
401
Unauthorized
503
Service Unavailable
get/meter/elec/import/day
GET /meter/elec/import/day HTTP/1.1
Host: {IP}
Authorization: YOUR_API_KEY
Accept: */*
{
"status": "text",
"elec": {
"import": {
"interval": 1,
"start_time": 1,
"entry_count": 1,
"unit": "text",
"results": [
1
]
}
}
}Last updated
Was this helpful?

