Skip to content
HALOWERK

Solarwerk

pv meter energy balance

Return energy-balance residuals between supplied PV, grid, load and storage meters.

POST https://solar.halowerk.com/v1/pv-meter-energy-balance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
periodsarrayYes
tolerance_whnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "periods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pv_wh": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "import_wh": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "export_wh": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "load_wh": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "battery_delta_wh": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000
          },
          "loss_wh": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "pv_wh",
          "import_wh",
          "export_wh",
          "load_wh",
          "battery_delta_wh",
          "loss_wh"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "tolerance_wh": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    }
  },
  "required": [
    "periods",
    "tolerance_wh"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "periods": [
    {
      "pv_wh": 1000,
      "import_wh": 100,
      "export_wh": 200,
      "load_wh": 800,
      "battery_delta_wh": 80,
      "loss_wh": 20
    }
  ],
  "tolerance_wh": 5
}

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 โ†’