max-cube-protocol icon indicating copy to clipboard operation
max-cube-protocol copied to clipboard

Wallthermostat temp always 0

Open Silas007 opened this issue 5 years ago • 0 comments

When I read the L message of my wallthermostat, the value for the temp is always 0. I decoded the results of my cube and they were different from the described values here. Attached you can find my results.

I figured out, that I need to use other bytes of the message when reading from the wallthermostat. It is bytes 8 and index 12 for normal thermostats and 20 and 24 for wallthermostat (starting with 0).

Maybe someone can verify? My Cube is using firmware 1.1.3.

So for me, I used this code: (Testing for >128 because I only want the upper bit)

if (deviceType == EQ3MAX_DEV_TYPE_WALLTHERMOSTAT) { deviceStatus.temp = (payload[8]>=128 ? 25.5 : 0) + payload[12] / 10; } else { deviceStatus.temp = (payload[20]>=128 ? 25.5 : 0) + payload[24] / 10; }

decoded_254.txt decoded_275.txt decoded_280.txt decoded_340.txt

Silas007 avatar Aug 21 '18 08:08 Silas007