Project Description
This 'Project' provides a small Perl Script to convert the log-values auf the 'Contrad Energy Loger 3500 and 4000'.

It reads the binary coded logs values throu STDIN and outputs XML, CSV or PNG.

The Script is based on the documentation available from conrad.de

With this Script the Energy Logger 3500 & 4000 can be used with Linux too.

Sample Output CSV:


1254158520;28.08.2009 19:22:00;226.0;0.77;0.83;144.6;174.2
1254158580;28.08.2009 19:23:00;226.5;1.03;0.82;190.9;232.8
1254158640;28.08.2009 19:24:00;226.4;1.03;0.82;190.8;232.7
1254158700;28.08.2009 19:25:00;226.0;1.03;0.81;188.2;232.3
1254158760;28.08.2009 19:26:00;226.6;1.03;0.81;188.7;232.9
1254158820;28.08.2009 19:27:00;226.6;1.03;0.81;188.7;232.9
1254158880;28.08.2009 19:28:00;226.5;1.03;0.81;188.6;232.8
1254158940;28.08.2009 19:29:00;227.4;0.77;0.82;143.8;175.3


Sampel Output XML:


<sequence>
  <logEntry ts="1254159660">
     <time>28.08.2009 19:41:00</time>
     <volt>227.4</volt>
     <ampere>0.77</ampere>
     <performanceFactor>0.81</performanceFactor>
     <effectivePower>142.0</effectivePower>
     <output>175.3</output>
  </logEntry>
  <logEntry ts="1254159720">
     <time>28.08.2009 19:42:00</time>
     <volt>226.9</volt>
     <ampere>1.03</ampere>
     <performanceFactor>0.81</performanceFactor>
     <effectivePower>188.9</effectivePower>
     <output>233.3</output>
  </logEntry>
  <logEntry ts="1254159780">
     <time>28.08.2009 19:43:00</time>
     <volt>226.6</volt>
     <ampere>0.77</ampere>
     <performanceFactor>0.81</performanceFactor>
     <effectivePower>141.5</effectivePower>
     <output>174.7</output>
  </logEntry>
  <logEntry ts="1254159840">
     <time>28.08.2009 19:44:00</time>
     <volt>226.9</volt>
     <ampere>0.77</ampere>
     <performanceFactor>0.82</performanceFactor>
     <effectivePower>143.5</effectivePower>
     <output>174.9</output>
  </logEntry>
</sequence>


PNG Output:

c1.png

Last edited Sep 12, 2009 at 12:47 PM by SvJoe, version 7