-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
40 lines (30 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Reads data from a Current Cost EnviR display via USB port to a Linux machine and logs the data to a file.
Based on Paul Mutton's excellent Perl script and tutorial: http://www.jibble.org/currentcost/
with modifications from Jamie Bennett: http://www.linuxuk.org/2008/12/currentcost-and-ubuntu/
----------------
Dependencies
================
This module requires the Device::SerialPort Perl module. Install this using Perl's package manager:
At the Linux command line, type:
sudo perl -MCPAN -e shell
And then type:
install Device::SerialPort
---------------
Data format
===============
The data format of the data.txt file is:
UNIX TIME WATTS DD/MM/YEAR HH:MM:SS
The time and date is taken from the local machine, not the Current
Cost (although the time is extracted from the Current Cost's output so
it would be easy to use the time from the Current Cost rather than
from the local Linux machine.)
-----------------------------------
To import into Open Office Calc
===================================
On the import, select “separated by tabs” and “detect special numbers”
No longer maintained and alternative projects
=============================================
Please note that I no longer use or maintain this code. Please see these alternative projects:
* https://github.com/JackKelly/currentCostCosmTX
* https://github.com/JackKelly/iam_logger
* http://jack-kelly.com/summary_of_my_energy_monitoring_code