I also notice the spec is wrong for the history in both versions.
It implies the units are inside sensor 9 which is different from 1-8
Code:
<msg> start of message
<src>CC128-v0.11</src> [as for Real-Time]
<dsb>00089</dsb> [as for Real-Time]
<time>13:10:50</time> [as for Real-Time]
<hist> start of history
<dsw>00032</dsw> days since wipe of history
<type>1</type> sensor Type, "1" = electricity
<units>kwhr</units> units of data eg KWHr
<data> start of data burst
<sensor>0</sensor> historic Appliance Number
<h024>001.1</h024> h="hours", 24="22 to 24 hrs ago"
<h022>000.9</h022> h="hours", 22="20 to 22 hrs ago"
<h020>000.3</h020> h="hours", 18="20 to 20 hrs ago"
<h018>000.4</h018> h="hours", 22="16 to 18 hrs ago"
</data>
... [Sensor 1 to 8 data here]
<data>
<sensor>9</sensor>
<units>kwhr</units> <!-- SURELY THIS IS WRONG -->
<h024>000.0</h024>
<h022>000.0</h022>
<h020>000.0</h020>
<h018>000.0</h018>
</data>
</hist>
</msg>