r/homeautomation Aug 11 '21

Whole home energy monitor w/ Grafana charts PROJECT

With the interest in electrical power monitoring from the latest Home Assistant update, I thought it would be useful to point out that Grafana is a pretty good tool for visualizing power usage. I'm working on putting together a more complete tutorial of how I set up the system, but here's some screen shots of my Grafana dashboards. I have a pair of CircuitSetup 6-channel modules, giving me 12 channels. Two used for the main incoming breaker and ten channels for branch circuits. I'm pushing watt data into InfluxDB via MQTT and Telegraf. And then using Grafana to make charts.

Aggregate Usage for selected date

Daily Usage for selected dates, with weekend highlighting

Houly usage for selected times, with night / day highlighting

Example Query

https://preview.redd.it/yy4htw1yrug71.png?width=1058&format=png&auto=webp&s=672c02dba6f672bb23174dd335b51c05fd8493dd

https://preview.redd.it/vhv8jnvyrug71.png?width=1058&format=png&auto=webp&s=ad94895d42478c773ca3f938e9e255278fbf1f71

https://preview.redd.it/hxlacpnzrug71.png?width=917&format=png&auto=webp&s=455ff622c206fd608d227b0902111d4165d5d389

143 Upvotes

View all comments

Show parent comments

2

u/jackd90 Aug 11 '21

I've got two of the circuit setup "boards" running ESPs on WiFi without any issue. Once is a two clamp module for the mains and the other is running 5 extension boards monitoring all 30 breakers. It's pushing all metrics (amp, watt, freq, volt) via HA api every second and the WiFi impact is negligible.