Energy bills are the rare home topic where data changes real money. When electricity prices spiked, the most interesting question to me was not 'how much did I pay?' but 'what will I pay next month?'. A monitoring addict answers that with Zabbix. This page is the energy lane of the home monitoring guide series.
The ideas are deliberately importable: Nord Pool prices work across Europe, and the Fingrid open-data pattern works with any utility that publishes grid telemetry.
Why monitor home energy at all?
Because prices are not constant anymore, and visibility lets you shift consumption instead of guessing. In Finland you choose between a fixed-price contract and spot pricing tied to the market. Monitoring the spot price turns the abstract market into a number on a dashboard, and suddenly running the washing machine at 2am makes rational sense.
Track the electricity price hour by hour
Part 20 explains the full setup: a Python library for Nord Pool supplies the day-ahead price, a cron job runs it nightly, Zabbix reads the output file, and a preprocessing regex pulls the average price, with a custom multiplier converting euros per megawatt to the per-kilowatt value you see on your bill. After that, the trigger is trivial - alert when prices are about to spike, and see when they bottom out.
Watch the real-time power of the whole grid
Finland's grid operator Fingrid publishes open data, including the current electricity consumption, and all you need is a free API key. Part 24 shows the cleanest route: one HTTP agent item, JSONPath preprocessing, and your Zabbix suddenly knows if the national grid is near its limit. Combine it with the price feed and you have the two conditions for the polite version of smart home automation: turn things on when power is both cheap and available.
Catch tripped fuses early
A storm once tripped the fuse of our district heating device and nobody noticed for about ten hours. Part 50 shows the cheap fix: plug a smart power socket into an outlet on the same fuse as the critical device and monitor it in Zabbix. When the plug stops reporting, the fuse has tripped and you get an alert while the house is still warm. The same idea scales to fridges, freezers and server rooms.
Measure your own real-time power too
The grid number is nice, but your own consumption is what you can actually change. The pattern from part 24 continues with a household real-time power panel, and the seasonal-lights story is the best example of the payoff: my wife asked if Zabbix could turn our decorational lights on and off based on the current electricity price and grid load, and the answer, naturally, was 'of course it can'. It is automation on a rule you can actually explain to your family.
Track prices of anything, from products to fuel
The price method is not limited to electricity. Part 56 watches a retailer whose prices swing between 23.90 and 59.90 euros for the same product: inspect the page source, add an HTTP agent item, extract the number with preprocessing, and trigger when the value changes. The same trick later tracked fuel prices, so the family car and the home both get a 'buy/wait' signal from the same dashboard.
What you can do with the data
- Shift heavy loads (washer, dishwasher, EV charging) to cheap hours.
- Gate decorations and comfort features on both price and grid load.
- Alert the household on price spikes before the bill arrives.
- Cross-check retailer price claims with your own item (something a lot of people would like to do, and all it needs is an HTTP agent item).
- Feed the electric-car data from the car guide into the same dashboard, so charging cost and electricity price are side by side.
Frequently asked questions
How do I get electricity prices into Zabbix?
Install a Nord Pool Python library, run it from cron daily, write the output to a file, and let Zabbix read it with a master item plus regex preprocessing that extracts the average price and converts to the correct unit. Part 20 has the whole recipe.
Can Zabbix tell me the best time to run my dishwasher?
Yes. Once the hourly spot price is a Zabbix item, any trigger can compare the current hour price against a threshold and alert, or a script can start the appliance automatically. Combine it with the grid consumption feed and you add the 'polite' requirement too.
How do I detect a tripped fuse?
Put a smart power socket on the same fuse as a critical device and monitor it. When the outlet stops reporting, assume the fuse is out and alert. The setup fits in one dashboard panel and takes minutes, as shown in part 50.
Does this work outside Finland?
The Fingrid feed is Finland-specific, but the pattern is not: any grid operator with an open API slot drops into the same HTTP agent item. Nord Pool covers most of Europe's day-ahead price markets, and the web-page price trick works anywhere a price is on a page.
Which blog posts cover energy monitoring?
Part 20 covers electricity prices, part 24 real-time grid power and the seasonal-lights automation, part 50 tripped fuses, part 56 product price tracking, and the fuel price monitoring post extends the idea to transport. All of them link from this guide.
First published as part of the home monitoring guide series on whatsuphome.fi. The detailed, screenshot-laden versions of every step live in the blog posts linked above.

Add new comment