Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

piMeter - a SmartMeter for Raspberry Pi

This repo contains the software for the piMeter_hardware project. You need a running InfluxDB and Grafana installation. A Tutorial on how to setup can be found at www.digitaldex.de

Setup Raspberry Pi

Enable SPI

sudo raspi-config
-> Interface Option
-> Enable SPI

Install Dependencies

// Install bcm2835 Library
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
tar zxvf bcm2835-1.52.tar.gz
./configure
make
sudo make check
sudo make install

Change influxdb credentials in main.cpp

influxdb_cpp::server_info si("IP", 8086, "DB", "user", "password");

Build piMeter

g++ main.cpp spiComm.cpp -o piMeter -lbcm2835

Run piMeter

// bcm2835 Lib needs root
sudo ./piMeter &

Visualization

alt text

Example Grafana piMeter json can be found in the /visu folder

About

Software for piMeter EnergyMonitor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages