Skip to content

BHT-002 thermostats reports wrong temperature #62

@midstar

Description

@midstar

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/).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions