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

BHT-002 thermostats reports wrong temperature #62

Open
midstar opened this issue Sep 15, 2022 · 0 comments
Open

BHT-002 thermostats reports wrong temperature #62

midstar opened this issue Sep 15, 2022 · 0 comments

Comments

@midstar
Copy link

midstar commented Sep 15, 2022

BHT-002 thermostat (sometimes called Moes) temperature conversion is wrong.

The temperature to / from the thermostat through the Tuya Open API is reported as an "Integer data type".

According to:
https://developer.tuya.com/en/docs/iot/datatypedescription?id=K9i5ql2jo7j1k
-> The Integer value shall be divided by 10^(scale value) to get the temperature value in Celcius.

However, BHT-002 expects the integer value to be divided by 2^(scale value).

Is this an issue in the Tuya IoT Python SDK or in the firmware of the thermostat?

Note that the temperature is reported correctly in the Smart Life App, but it is reported incorrectly in the Tuya IoT Development Platform (https://auth.tuya.com/).

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