Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallthermostat temp always 0 #43

Open
JanScheeleDev opened this issue Aug 21, 2018 · 0 comments
Open

Wallthermostat temp always 0 #43

JanScheeleDev opened this issue Aug 21, 2018 · 0 comments

Comments

@JanScheeleDev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant