pettijohn / EMon-Pi

Energy monitoring on a raspberry pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Energy monitoring on a Raspberry Pi.

Goal is to read current and voltage on a houshold AC circuit via an ADS1115 I2C ADC, rendering a simple UI on a textual multi-line display, finally logging data to an AWS lambda function for historical analysis plus a web UI.

Hardware

Contains libraries for reading the sensors, updating the text display, and pushing to AWS IoT via MQTT.

Download certificates for the device to hardware/certificates

References

AWS-Setup

Contains code to create DynamoDB tables, configure IoT, and upload Lambda functions, etc.

Run aws configure and enter the access key for an IAM user with the necessary permissions.

TODO

  • Missing Data
  • For every hour, identify <60 minute entries, interpolate and insert.
  • Run every hour for prior two hours
  • Alarm if >6(?) missing
  • Make app boot on Pi.
  • Have API Gateway spit out static HTML/JS from S3 and AJAX response from Lambda to render dashboard.
  • Hardware client - batch into 5min uploads. Flush on keyboardInterrupt.

About

Energy monitoring on a raspberry pi


Languages

Language:Python 64.6%Language:HTML 12.9%Language:JavaScript 12.5%Language:CSS 8.1%Language:PowerShell 1.6%Language:Shell 0.3%