Guys what are your favourite smart plug? I need one with easy integration with grafana, not sucking, and shipment to EU country?
Monitoring energy usage with smart plugs, Prometheus and Grafana
21–30 of 190 posts
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#22If someone else wants to try this, I strongly recommend against using WiFi for the plugs, instead use Z-Wave or Zigbee. Wifi is just not meant for this use case, it will be unhappy if you start adding a lot of devices, and it will slow down your main use of WiFi for your phone.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#23Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#24I 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/
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#25I 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/
That was a great write up! I wish I had the time to follow-up this guide. Thanks for sharing it!
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#26No need for that mate, just deploy home assistant or something similar and you will get this (and more) out of the box
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.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#27It's annoying that smart plugs/bulbs etc use wifi when Powerline exists
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#28i'm trying to nudge Grafana into the direction of IoT/SCADA control, so we can be both, a great way to viz (data sources) and to control (data sinks). not personally a huge fan of having to recommend Home Assistant for that use case :) (i work at Grafana Labs)
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#29For 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 10 minutes was 253V or more. However, TuYa sockets which pretty much are the only in-wall variety I was able to find on the local market, shut off at 260V. This tends to be somewhat problematic in an area saturated with PV installations, like the one I'm living in.
This problem is compounded by the fact that the reported measurements of sockets sitting on the same phase tend to differ quite a bit. Some sockets tend to overstate the voltage compared to neighboring sockets sitting on the same wires. Thus, they shut off when they think it's 260V, while it might just as well be 255V.
Just saying that if you put lots of those in your walls, you might suddenly find yourself in a need to prepare some automations to try and bring the sockets on once the voltage is back to normal. This particular variety of sockets won't come back on after the voltage drops.
Re: Monitoring energy usage with smart plugs, Prometheus and Grafana
#30No need for that mate, just deploy home assistant or something similar and you will get this (and more) out of the box
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.