Thermostat temperature wrong by factor of 10
See original GitHub issueI have a heated mirror (DMS SIH-600, shows up as “heater device (wifi)”) wich shows up and works but the values are wrong by a factor of 10. On/Off switch works as expected. The Input in Homekit App allows values between 0°C and 370°C. wich seems to reflect the max temp of the device of 37°C. Dialing in 168°C results in a setting of 16°C.
The current temperature shown seems to be always 122,0°C. The Logs show:
[27/07/2022, 10:12:05] [homebridge-tuya-platform] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 190 exceeded maximum of 122. See https://homebridge.io/w/JtMGR for more info.
Where 190 seems to reflect the 19°C shown in the Tuya app.
Expected behavior I would expect a temp range from 0°C to 37°C as in the Tuya app. And the current Temperature reflecting the actual value instead of showing 122°C all the time, even when the heater is off.
TuyaOpenAPI response: {"result":[{"category":"qn","devices":["063603439c9c1f44ed2c"],"functions":[{"code":"switch","desc":"switch","name":"switch","type":"Boolean","values":"{}"},{"code":"temp_set","desc":"temp set","name":"temp set","type":"Integer","values":"{\"unit\":\"℃\",\"min\":0,\"max\":370,\"scale\":1,\"step\":10}"},{"code":"c_f","desc":"c f","name":"c f","type":"Enum","values":"{\"range\":[\"C\",\"F\"]}"}],"product_id":"4aVbNfxEYUbylvvW"}],"success":true,"t":1658913513102,"tid":"1617ca160d8d11eda506322e56e3d437"} path = /v1.0/devices/functions
Issue Analytics
- State:
- Created a year ago
- Comments:20 (7 by maintainers)

Top Related StackOverflow Question
@0x5e Thanks to you I’ve found the original schema and I managed to modify the schema by myself cuz I didn’t want to bother you more than I did; I do really appreciate every tip you gave me thanks again and have a nice one ^^
@Sch011 I need the original schema from the device info json, which can be found(the filepath) from the log.