No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
smartmeter.py

README.md

smartmeter.py: extract data from "smart" power-meters

This tool reads the values contained inside Landis+Gyr power-meters and sends the output to Influxdb. It has been tested with the E230 model but I guess that it should work with other IEC 62056 compliant devices too.

I'm using an USB infrared probe to read the data, I bought mine on Ebay for 30$, but you can create yours if you have time ;)

install

Install few dependencies using pip

  • pyserial
  • influxdb

configure

You'll have to statically set the Influxdb server IP address + database settings inside the code for now.

run

$ ./smartmeter.py -d /dev/ttyUSB0

  • -D: daemonize

credits

Joost Baltissen is the author of the inital code