Monitoring energy usage with smart plugs, Prometheus and Grafana
31–40 of 190 posts
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#32Guys what are your favourite smart plug? I need one with easy integration with grafana, not sucking, and shipment to EU country?
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#33Guys what are your favourite smart plug? I need one with easy integration with grafana, not sucking, and shipment to EU country?
Just about to try some ikea zigbee sockets, seem cheap(7e) in comparison. I hope I can also get them working command line based, just trying to setup a sonoff usb stick with some python package (bellows) as we speak.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#34No need for that mate, just deploy home assistant or something similar and you will get this (and more) out of the box
Grafana is a hell of a lot nicer & controllable than HA HA is great, but it's not the answer to everything
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#35No need for that mate, just deploy home assistant or something similar and you will get this (and more) out of the box
Right up until the Home Assistant UI turns into a lagfest, the installation dies, and you can't debug why because Docker. At least that's what happened to me. And no, it wasn't RPi SD power issues. This happened on an otherwise-stable amd64 server. The Home Assistant authors' hostility towards simple native distributions is now a show stopper for me. Long term reliability is more important than quick initial setup.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#36No need for that mate, just deploy home assistant or something similar and you will get this (and more) out of the box
Right up until the Home Assistant UI turns into a lagfest, the installation dies, and you can't debug why because Docker. At least that's what happened to me. And no, it wasn't RPi SD power issues. This happened on an otherwise-stable amd64 server. The Home Assistant authors' hostility towards simple native distributions is now a show stopper for me. Long term reliability is more important than quick initial setup.
Demanding the authors who gave you the software for free also provide support for an installation method they've offered up with no support is a bit ridiculous, don't you think?
That attitude is what causes open source projects to die though...
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#37You need to be careful with what plugs you choose, though, because they each have, let's say, their own peculiarities. For instance, their overvoltage protection might not align well with what the local regulations say. For example, in my region of EU, the upper voltage tolerances are such that 264V must trigger an instant poweroff, and also anything producing power must shut off if the average voltage over the last…
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#38Earlier quoted context omitted.
I'm also looking at a custom solution for my current migration from WiFi sockets to Zigbee. It seemed impossible to do an offline installation of home assistant, and discouraging signs for running it without an internet connection. There seems to be a sonoff usb stick that might act as a hub and allow command-line monitoring of all devices, should be perfect for feeding into grafana/prometheus.
HA will happily run offline; if you mean HAOS then I don't know what it does but it's an unorthodox Linux distro, but once it installs it should also run offline without issues. I'm also using their skyconnect zigbee coordinator and it works very well.
I recall the online requirement was for some ntp server requests that cant be disabled.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#39Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#40Earlier quoted context omitted.
HA is actually pretty debuggable. Just install the SSH plugin, then SSH into the HA box, and then simply "docker exec" into the target HA container.
... and then not have any of your usual development tools, environment, system layout, or repair techniques because you're inside someone else's "works on my system" that they threw over the wall. It's obviously possible to debug what goes on inside a Docker image. It's just not something I'm particularly interested in dealing with, especially under duress.
FWIW, this can also be called stable state you can retreat to. And build upon, e.g. adding a layer of debugging tools.
I don't really like to deal with Docker, but at least I have reasonable certainty it'll work. I prefer system package manager or MSI, but if not that, it beats having to build something when it's near-guaranteed that what I'll get is not the binary the authors had in mind, if it even runs at all.
(Then again, I routinely rebuild Emacs to stay on the bleeding edge. But it took a while to work out all the usual dependency mess, and I even broke my system once doing it.)