Hmm, just as a note, at least over here normal electricity companies provide the total level on their web site... no need to install any hardware.
In real time? Mine only gives me a month-to-date, end of month for billing, and month-over-month for the last two years (plus the outside temperature for comparison).
Monitoring energy usage with smart plugs, Prometheus and Grafana
161–170 of 190 posts
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#162I got a Zigbee power breaker and hooked it up so all my flat's power goes through it, and then made an e-ink display to show my power consumption: https://www.stavros.io/posts/making-the-timeframe/
For people in The Netherlands: all Smart Meters that the net maintainers installed (are required to) support the P1 standard, which provides a standardized interface for customers to read out current current draw, cumulative power use, etc. Usually gas is hooked as well. You can hook up a cheap dongle to expose the stats in an app. For instance, we use: https://www.homewizard.com/nl/shop/wi-fi-p1-meter/ This meter al…
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#163I got a Zigbee power breaker and hooked it up so all my flat's power goes through it, and then made an e-ink display to show my power consumption: https://www.stavros.io/posts/making-the-timeframe/
For people in The Netherlands: all Smart Meters that the net maintainers installed (are required to) support the P1 standard, which provides a standardized interface for customers to read out current current draw, cumulative power use, etc. Usually gas is hooked as well. You can hook up a cheap dongle to expose the stats in an app. For instance, we use: https://www.homewizard.com/nl/shop/wi-fi-p1-meter/ This meter al…
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#164Facetious but half serious reaction: surely grafana usage nullifies any possible benefit from the monitoring? If there is one piece of software regularly using way more resources than seem reasonable it's that one.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#165I scrape power usage metrics from Tapo P110s and push them to Grafana Cloud using https://github.com/richardjennings/tapmon - although as other commenters have noted - using Wifi for smart plugs has its rough edges.
I second that. I replaced a bunch of wall switches with Leviton WiFi smart ones and would never go WiFi again. They're totally unreliable. My Meross smart plugs fair a little better but still lose connectivity now and then (got a bit better with updates).
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#166Earlier quoted context omitted.
> You just can't expect HA to be able to do autoupdates for these daemons. I'm not expecting or even wanting HA to do autoupdates. A good framing of the crux of the problem here is that I want to use HA but not HAOS . > even with MQTT you'll need to run ZWave and ZigBee bridges. Yes, the point is wanting to keep them as part of my overarching OS-level deployment config so that I can manage them along side email, ngin…
> I'm not expecting or even wanting HA to do autoupdates. A good framing of the crux of the problem here is that I want to use HA but not HAOS. You can do that. It's not even hard, the HA documentation is pretty stellar in that regard: https://www.home-assistant.io/installation/#advanced-install... The HA team rightly doesn't want to officially support it, to avoid being inundated by people who don't want to keep the…
> There's just no way something like HA can be both useful for most people, and be released according to the Debian Stable calendar
People running Debian Stable expect and want slower updates. It's a feature, because things don't change out from under you. It means perhaps not being able to use some new device, but it also means that your current setup just doesn't break/change out of the blue to accommodate some new feature. Essentially the reasons you've said are already being taken into account by people running stable - like yes, running a HA moderated by Debian Stable while trying to use fleeting online APIs is going to be a bad time. Just like trying to use yt-dlp out of the Debian repo is.
> NixOS is not that much different from the HA approach
Sure, but the difference is that I opted into using NixOS as my OS distribution to meet my needs for my entire environment. Whereas HA pushes using their HASS [0] mini distribution as part of using HA. We've discussed the necessary reasons for that, and I agree that the all-encompassing solution makes sense for many people. But the fact remains that is essentially managing a new instance of a bespoke distribution. And that's what really made for my negative experience.
With the advent of Core, it does seem like my previous specific situation has been addressed. But the memory of my experience remains, and then I see things like https://github.com/NixOS/nixpkgs/pull/126326 which make it look like that same rejection of the larger ecosystem dynamic is still alive and well. It just gives me pause, regardless of the continued existence of HA-on-NixOS.
As I said, I'm certainly not against Home Assistant. I'll eventually try using it again when I want some kind of easy UIs for my automation setup. The problems I'm currently solving really just require logging, graphs, and automation rules. And so I've just decided to focus on MQTT-first as the nucleation point, rather than putting all my eggs in the Home Assistant basket again.
[0] Whatever the mini Linux distribution that runs inside the Docker container is called. When writing the previous comment I had thought that was HAOS but now I'm seeing that HAOS isn't included in Supervised or Container. I believe it was called HASS back then, so maybe it's still HASS?
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#167Earlier quoted context omitted.
Shelly relays can be configured to do all these things and the voltage safety threshold itself is also configurable (at least in the Plus devices) but they aren't zigbee. Otherwise great little devices.
Cannot find in-wall options much.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#168Earlier quoted context omitted.
Cannot find in-wall options much.
Not sure what do you mean? There are the 1/1PM/Mini/2PM which quite comfortably fit behind light fixtures and outlets (unless you have shallow flush mounts).
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#169Earlier quoted context omitted.
You're running all your flat's power through that $14 Chinese rubbish and never assumed that shortcuts were taken or quality would be an issue? How do you know it will continue to function as a circuit breaker and isn't just a piece of wire inside? For the uninitiated, CE marking is meaningless (it allows for self-certification). I'd like to see Big Clive do a teardown of one of those.
> $14 Chinese rubbish Where do you think the "quality" devices are made?
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#170Earlier quoted context omitted.
For people in The Netherlands: all Smart Meters that the net maintainers installed (are required to) support the P1 standard, which provides a standardized interface for customers to read out current current draw, cumulative power use, etc. Usually gas is hooked as well. You can hook up a cheap dongle to expose the stats in an app. For instance, we use: https://www.homewizard.com/nl/shop/wi-fi-p1-meter/ This meter al…
> all Smart Meters that the net maintainers installed (are required to) support the P1 standard Does that support monitoring each power circuit separately?
It is entirely possible to meter each individual circuit, either with CTs and a meter or (gross simplification) special breakers that have metering capability built-in.