Solar and battery telemetry for developers
Where site energy data actually comes from, how often it updates, and how to handle gaps without misleading your scheduler.
Site energy data usually arrives from inverter APIs, battery management systems, a metering device, or an energy management gateway. Each has its own update interval, units, sign conventions and failure behaviour.
Normalise early: a single internal model of generation, consumption, import, export and state of charge, with explicit units and timestamps, saves an enormous amount of downstream confusion.
Handle gaps deliberately. A scheduler that treats missing generation data as zero will defer everything; one that treats it as the last known value will over-run. Mark data stale and fall back to a conservative policy.
Read-only integrations are the safe default. Anything that writes to energy equipment control is a different risk class and needs professional involvement.
- telemetry
- integration
- data