Explore hourly energy consumption and solar output.
Home Power by Hour · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
hoursreadonly EnergyHour[] | null
Hourly consumption and solar production in kWh. Use null for either missing series, omit hours for the demo, or pass hours: null when the feed is unavailable.
currentHournumber
Optional last hour to include (0–23). With connected data, all supplied hours are included by default.
locationstring
Optional meter or site label.
peakHoursreadonly [number, number]
Optional tariff window as a start hour and exclusive end hour (0–24).
Data and integration
Preview
A sample household day through 15:00. Switch between energy use and solar output.
Inputs
Use whole local hours 0–23 and nonnegative used and solar values in kWh for each hourly bucket. A missing value for one channel is null. The last record for a valid hour wins. Optional currentHour excludes later buckets and sets the expected coverage through that hour.
Source options
Normalize the meter and inverter to one reporting day. Aggregate repeated local hours on a daylight saving transition. Provide peakHours only if the tariff window is known.
Actions
Compare consumption and solar output. Use the slider to inspect a reading by hour and the arrow keys to move between readings. The total sums the supplied buckets through the selected reporting cutoff.
Integration requirements
Invalid channel readings are treated as unavailable. Zero is a recorded value. Coverage counts valid buckets for the selected series from midnight through currentHour, or the latest supplied hour if currentHour is omitted.