Skip to content

Read production / consumption data from Landis + Gyr electricity meters using the infrared port.

Notifications You must be signed in to change notification settings

xens/smartmeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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

About

Read production / consumption data from Landis + Gyr electricity meters using the infrared port.

Resources

Stars

Watchers

Forks

Languages