Incoming Webhook

Incoming Webhooks are an easy way to POST metering data into your EnergyID record.

  1. Activate an Incoming Webhook for your EnergyID record
  2. Get you secret URL to post metering data to
  3. Create a JSON payload to send to EnergyID

The HTTP POST request should look like this:

POST https://hooks.energyid.eu/services/WebhookIn/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxxxxxxxxxxx
Content-type: application/json 
{
    "remoteId": "elec-sensor-arduino-03",
    "remoteName": "Electricity",
    "metric": "electricityImport",
    "unit": "kWh",
    "readingType": "counter",
    "data": [
        ["2019-10-17T08:00+0200", 60989.564],
        ["2019-10-18T08:00+0200", 61005.238]
    ]
}

Read the webhook documentation