Skip to content
HALOWERK

Ladewerk

ev meter session reconcile

Return interval-attributed session energy and overlapping meter attribution from supplied cumulative readings.

POST https://lade.halowerk.com/v1/ev-meter-session-reconcile

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
readingsarrayYes
sessionsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "readings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "minute": {
            "$ref": "#/$defs/s0"
          },
          "kwh": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "minute",
          "kwh"
        ],
        "additionalProperties": false
      },
      "maxItems": 300,
      "minItems": 2
    },
    "sessions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 48,
            "minLength": 1
          },
          "start": {
            "$ref": "#/$defs/s0"
          },
          "end": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "id",
          "start",
          "end"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    }
  },
  "required": [
    "readings",
    "sessions"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w4:F9:input",
  "$defs": {
    "s0": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    }
  }
}

Open original schema

Published input example

{
  "readings": [
    {
      "minute": 0,
      "kwh": 0
    },
    {
      "minute": 10,
      "kwh": 10
    }
  ],
  "sessions": [
    {
      "id": "A",
      "start": 0,
      "end": 5
    },
    {
      "id": "B",
      "start": 5,
      "end": 10
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’