Many UK energy suppliers are giving away 'free' energy monitors to their customers. I think this is a great idea.
My current supplier, EON-UK, is using the ENVI monitor from CurrentCost which is supplied with a USB cable for connection to the computer. Through this connection, it is possible to make a much better logger than the device itself shows.
The supplied cable is actually an all-in-one USB->UART->TTL convertor. The drivers for it are already present in modern Linux kernels so for Linux it's plug 'n' play.
Here you can download a few programs which:
The main program is written in Python using documentation from the CurrentCost.com website. The message parsing part is in a separate class which you can use for your own programs.
Although these scripts are standalone, they are designed to form part of an overall solution so don't expect any fancy user interfaces.
Now supports multi-channel/multi-appliance setups automatically. Including an example for 3-phase setup!
Please leave a comment below if you find this useful or have any feedback!
Now updated to support multiple channels and multiple appliances. The command line arguments have changed so please check before upgrading.
Useful routines that seem to be working well after just under a day. I did write my own Python code but it creaked a bit - well, it was my first foray into Python. My Raspberry Pi code needed a tweak to the first line, plus a second line to give me the UK sterling symbol. #!/usr/bin/env python # -*- coding: latin-1 -*- I also added code for daily energy (kWh) use/cost and min/av/peak HRULEs and prettified the output for my eyes. Your code was a sound base to start from; thanks.