Skip to content

MarcSN311/piMeter

 
 

Repository files navigation

piMeter - a SmartMeter HAT for Raspberry Pi

Frontend

alt text

Board

alt text

Schematics

piMeter Schematics

Setup Raspberry Pi

Enable SPI in raspi-config

Install Dependencies

// Install libsqlite
apt-get install libsqlite3-dev
// Install lighttpd
apt-get install lighttpd
// Install php with Modules
apt-get install php7.0-fpm php7.0 php7.0-sqlite
// 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
// Install Qt
sudo apt-get install qt5-default

Install Visu

Just Copy the Visu Folder into your lighttpd www root

Build piMeter

qmake
make

Run piMeter

// bcm2835 Lib needs root
sudo ./piMeter &

Ressources

ADE9000 Datasheet

bcm2835 Library

libsqlite3 Library

lighttpd Webserver

amCharts Chart Library

Qt5

www.digitaldex.de

About

SmartMeter HAT for Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 31.9%
  • Makefile 31.9%
  • JavaScript 28.2%
  • CSS 3.8%
  • HTML 2.7%
  • QMake 1.5%