![]() The next step is to set up Grafana and Prometheus. Here’s a diagram of how it should look (my wiring was not this neat □): Setting up Grafana Cloud They even have a link to get a certified electrician to come and install it if you’re more comfortable having someone else do it. The Emporia Vue app has great instructions and important safety information, so go slow and read all the directions - but it’s pretty easy to install. To start, you’ll need to get the Emporia Vue 2 setup in your home circuit board. Once that’s complete, I won’t have to use HomeAssistant and the exporter will take its place. Then I use Grafana to visualize everything using the Prometheus data source that’s available by default in Grafana Cloud.Īs a side note, I’m planning on writing a Prometheus exporter, which will natively scrape from Emporia Vue’s API. Prometheus is then scraping those metrics now stored in HomeAssistant and remote writing them to my free Grafana Cloud stack. HomeAssistant is grabbing the energy metrics from Emporia Vue’s cloud API. Inside it are two containerized applications running HomeAssistant and Prometheus. Top 5 devices at home currently consuming the most powerĪ quick explanation of the diagram above: On the right you see my Raspberry Pi.I’d noticed my energy bills were high, so I set out to use a Raspberry Pi, along with Prometheus and Grafana, to monitor my consumption so I could determine what part of my house was using the most energy.Īfter our April 8 webinar on monitoring your Raspberry Pi with Grafana Cloud, I wanted to share my project notes in case anyone out there is looking for another software experiment idea. Raspberry Pi 3B+ uses at least 170 mA more than its older sibling the Pi3B, but can use significantly more when the ARM CPUs are being driven hard.About six months ago, I decided to start a little project at home that combined my interest in IoT with my experience as a solutions engineer here at Grafana Labs. Faster processing takes more power, and that’s what we can see in the chart. ![]() It’s probably loading faster, but you don’t get ‘owt for n’owt. You can see that this is significantly higher than with the Pi3B. Where we DO see a significant difference is in the loading of LXDE while under CPU load. So it’s not really surprising to see only small differences if you strip out the effect of the new LAN7515 chip. Whilst watching or shooting video, the GPU is handling most of the work, and this is unchanged on the new chip. This seems to account for most of the differences except for while under CPU load. I believe there will be a facility to switch this off if not used (at some point). This is due to the new Gigabit ethernet chip. The thing that jumps out at you if you compare 3B+ with 3B is that it uses at least 170 mA more current – even at idle. Raspberry Pi power usage chart incorporating Pi 3B plus Commentary It would require measurement of “all of the Pis” which I haven’t got time to do right now – and you want your data NOW! Results At some point I will consider adding this data to the chart/table, but not today. But the new Gigabit ethernet chip definitely chews through more power than the previous Pi models (even when not in use). I’ve never done power tests while using ethernet. What we’re interested in is power usage over time, so you can work out what size battery pack or solar panel you will need. This matters only when selecting a PSU to run your Pi, and you already have the official recommendations of a 2.5 Amp PSU for that. It won’t give a true picture of peak instantaneous current e.g. The eMeter gives time-averaged readings (updated several times per second) to two decimal places of an Amp, which is good enough for our purposes. Comparing the readouts on the bench power supply, clamp meter and taking the actual data readings from the eMeter gives a reasonable degree of confidence in the results (when they agree, which they did). It’s important to understand the limitations of any equipment, tests and results. The Pi3B+ was connected to wifi, but no bluetooth devices were in use. The camera module is unplugged for all but the shooting video test. Watching video is done with a 1080p video on the SD card. “Shooting video” is done without saving the video output to the SD card. EMeter, clamp meter and bench PSU all being used to check power consumption of Raspberry Pi 3B plusĬurrent and voltage are measured using my eMeter (also used my clamp meter to confirm this time) and calibrated shunt whilst performing four different activities.
0 Comments
Leave a Reply. |