The Raspberry Pi Power Monitor is a combination of custom hardware and software that will allow you to monitor your unique power situation in real time, including power consumption, generation, and net-status. The data are stored to a database and displayed in a Grafana dashboard for monitoring and reporting purposes.
This project is derived from and inspired by the resources located at https://learn.openenergymonitor.org.
This code accompanies DIY circuitry (see the references above) that supports monitoring of up to 6 current transformers and one AC voltage reading. The individual readings are then used in calculations to provide real data on consumption and generation, including the following key metrics:
- Total home consumption
- Total solar PV generation
- Net home consumption
- Net home generation
- Total current, voltage, power, and power factor values
- Individual current transformer readings
Please see my website to order the power monitor PCB and current sensors:
This project interfaces with high voltage electrical systems and discusses working in and around a main electrical panel. I would recommend hiring a licensed electrician to install the CTs on your high voltage lines. Any processes outlined in this project are taken at your own risk and I cannot be held liable for personal injury or property damage.