Skip to content

jdelgado-dtlabs/powerpi

Repository files navigation

PowerPi

This project is for creating a power consumption monitor with Raspberry Pi. At the time of this writing, a Raspberry Pi 3 B+ was used. It is compatible with the Raspberry Pi 4.


This is designed for US single split-phase 3-wire installations. My premesis uses a subpanel to distribute all power from from the mains panels in three wires (2 hot, 1 neutral).

100A Power Subpanel US


Things you will need to install on your system:

  1. Install Raspbian Buster with minimal options.
  2. Install InfluxDB using the latest repo version fron Influx themselves. Do not use the version in Raspbian.
  3. Install Grafana using the latest version fron Grafana themselves. Do not use the version in Raspbian.
  4. Install Python3 and all the packages in the requirements.txt file.
  5. Install Supervisord from the Raspbian repo. sudo apt-get install supervisor

Hardware used:

  1. Raspberry Pi 3 Model B+
  2. Lechacal RPICT3V1
  3. SCT-013-000 Current Transformer 100A
  4. US AC Adapter 77DA-10-09
  5. 5v 3A Power Adapter for RPi 3 with integrated switch
  6. SanDisk 128GB Ultra Fit USB 3.1 Flash Drive - SDCZ430-128G-G46 (For database storage)

As a note, you don't need to install InfluxDB and Grafana on the same Raspberry Pi that you are reading energy data from. You can configure an external server that will accept your ingested data. This can be a hosted solution as well as a on-premesis server. Just make the appropriate changes to config.conf with the proper URL, Username and Password of your external/hosted solution. Otherwise, it will all run from the Raspberry Pi just fine.


This is how the dashboard looks like. The JSON file included will generate these dashboards for you. Subject to change.

PowerPi Dashbaord

For the Daily kWh and Monthly kWh, you will need to edit the query slightly to adjust to your time zone. Visit this site to learn about which time zones to use.

About

A Raspberry Pi based Power Monitoring hub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages