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

/meter/elec/import/year

Returns the total energy import data for the last 12 months, sampled at 60 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
get/meter/elec/import/year
GET /meter/elec/import/year 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?