Skip to content
Code for talking to a Current Cost EnviR energy meter
Branch: master
Clone or download
mapkyca Merge pull request #1 from ebaschiera/master
fix for reading temperature less than 10, because current cost adds a sp...
Latest commit 7da4a50 Dec 13, 2014

Current Cost EnviR reader tool

This is a simple command line tool for fetching the current energy usage, temperature and time from a Current Cost EnviR electricity usage meter.

It has been tested against the EnviR meter, but may well work with other meters in the current cost range.


python [-t timeout] [-p serial-port] [-b baudrate] [-o "formatted list of output"]


  • timeout: is max time to wait for a reading (Default 10 seconds)
  • serial-port: Serial port that the meter is connected to (default /dev/ttyUSB0)
  • baudrate: Speed to connect to device (default 57600, which you shouldn't need to change unless you're using a different meter)

Format string similar to 'Energy Now: {{option}}, Temperature: {{option}}'


  • This has been tested against the EnviR, but may well work with other devices in the range (if you change the baud rate).
  • Currently this only supports one sensor connected to the device.


  • Python 2
  • pySerial


You can’t perform that action at this time.