For the complete documentation index, see llms.txt. This page is also available as Markdown.

/meter/elec/power/hour

Returns the stored power data for the last 1 hour, sampled at 1 second intervals.

get
Authorizations
AuthorizationstringRequired

Format has to be N2G-LAN-USER token="${USER_API_TOKEN}".

Responses
200

OK

application/json
statusstringOptional
get/meter/elec/power/hour
GET /meter/elec/power/hour HTTP/1.1
Host: {IP}
Authorization: YOUR_API_KEY
Accept: */*
{
  "status": "text",
  "elec": {
    "power": {
      "interval": 1,
      "start_time": 1,
      "entry_count": 1,
      "unit": "text",
      "results": [
        1
      ]
    }
  }
}

Last updated

Was this helpful?