This posting applies to the CurrentCost or Watts Clever ENVI model Wireless Energy Monitor.
Serial Connection details for ENVI Energy Monitor
Serial Settings:
- Baud Rate 57600
- Data Bits 8
- Stop Bits 1
- Parity None
Live Data
The following XML is a single record of data sent from the CurrentCost\Watts Clever Envi Wireless Energy Monitor. In this example the transmitter has a single sensor attached to a single phase installation.
We can see from the following live data, transmitted every 6 seconds , that sensor 0 (the transmitter has one sensor on channel 1 (the fixed sensor) which is reading 1352 watts being consumed.
<msg>
<src>CC128-v0.11</src>
<dsb>00160</dsb>
<time>11:52:58</time>
<tmpr>28.9</tmpr>
<sensor>0</sensor>
<id>03583</id>
<type>1</type>
<ch1>
<watts>01352</watts>
</ch1>
</msg>
<src> field represents the monitor model and firmware version, it is my understanding that two
versions exist being 0.09 and 0.11.
<dsb> Days since birth, the number of days since the monitor was started.
<time> the time as per the monitors internal clock.
<tmpr> Temperature in Celsius.
<sensor> the sensor number for the data being presented.
<id> the transmitter id.
<type>Device type.
<Ch1> Channel 1 data, this will be repeated if more that once sensor is attached to the
transmitter.
History Data
History messages are output starting at 1 minute past every odd hour, ie 17:01, 19:01 etc, you may also force the history to be output by pressing and holding the Down and OK buttons together until the LED flashes.
The following XML is the result of forcing a history dump.
The first message block output is for the HOURS data.
<msg>
<src>CC128-v0.11</src>
<dsb>00160</dsb>
<time>12:13:05</time>
<hist>
<dsw>00160</dsw>
<type>1</type>
<units>kwhr</units>
<data>
<sensor>0</sensor>
<h020>7.453</h020>
<h018>7.909</h018>
<h016>8.354</h016>
<h014>3.570</h014>
<h012>2.355</h012>
<h010>1.777</h010>
<h008>2.839</h008>
<h006>2.443</h006>
<h004>3.179</h004>
</data>
[Repeated for each sensor 1 to 9]
<data>
<sensor>9</sensor>
<h020>0.000</h020>
<h018>0.000</h018>
<h016>0.000</h016>
<h014>0.000</h014>
<h012>0.000</h012>
<h010>0.000</h010>
<h008>0.000</h008>
<h006>0.000</h006>
<h004>0.000</h004>
</data>
</hist>
</msg>
Second Message block output is for the DAYS
<msg>
<src>CC128-v0.11</src>
<dsb>00160</dsb>
<time>12:13:06</time>
<hist>
<dsw>00160</dsw>
<type>1</type>
<units>kwhr</units>
<data>
<sensor>0</sensor>
<d090>42.078</d090>
<d089>25.921</d089>
<d088>44.765</d088>
<d087>30.234</d087>
<d086>28.171</d086>
<d085>25.812</d085>
<d084>27.468</d084>
<d083>26.062</d083>
<d082>23.664</d082>
<d081>23.812</d081>
<d080>20.093</d080>
<d079>27.296</d079>
<d078>35.820</d078>
<d077>32.421</d077>
<d076>27.375</d076>
<d075>28.382</d075>
<d074>26.500</d074>
<d073>30.601</d073>
<d072>32.664</d072>
<d071>39.125</d071>
<d070>42.507</d070>
<d069>40.070</d069>
</data>
' [Repeated for each sensor (1-9)]
<data>
<sensor>9</sensor>
<d090>0.000</d090>
<d089>0.000</d089>
<d088>0.000</d088>
<d087>0.000</d087>
<d086>0.000</d086>
<d085>0.000</d085>
<d084>0.000</d084>
<d083>0.000</d083>
<d082>0.000</d082>
<d081>0.000</d081>
<d080>0.000</d080>
<d079>0.000</d079>
<d078>0.000</d078>
<d077>0.000</d077>
<d076>0.000</d076>
<d075>0.000</d075>
<d074>0.000</d074>
<d073>0.000</d073>
<d072>0.000</d072>
<d071>0.000</d071>
<d070>0.000</d070>
<d069>0.000</d069>
</data>
</hist>
</msg>
Additional message blocks are output until day D001 is output.
The next message block output represents the MONTHS Data.
<msg>
<src>CC128-v0.11</src>
<dsb>00160</dsb>
<time>12:13:07</time>
<hist>
<dsw>00160</dsw>
<type>1</type>
<units>kwhr</units>
<data>
<sensor>0</sensor>
<m005>1037.00</m005>
<m004>1037.50</m004>
<m003>962.750</m003>
<m002>1146.25</m002>
<m001>1403.25</m001>
</data>
[Data will be repeated for other sensors]
<data>
<sensor>9</sensor>
<m005>0.000</m005>
<m004>0.000</m004>
<m003>0.000</m003>
<m002>0.000</m002>
<m001>0.000</m001>
</data>
</hist>
</msg>
Finally, not shown here will be the YEARS records