question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Thermostat temperature wrong by factor of 10

See original GitHub issue

I 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.

IMG_1111 IMG_1112 IMG_1113 IMG_1114

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:open
  • Created a year ago
  • Comments:20 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Sch011commented, Dec 26, 2022

@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 ^^

0reactions
0x5ecommented, Dec 26, 2022

@Sch011 I need the original schema from the device info json, which can be found(the filepath) from the log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tuya Thermostat temperature wrong by factor 10 : r/homebridge
So Heating to 157,0°C will result in heating to 15°C. Max temp seems to be read out correctly at 370°C/37°C.
Read more >
What to do when your thermostat is wrong - CNET
A bad temperature sensor ... Another cause for a thermostat to be reading the wrong temperature in your home is a faulty temperature...
Read more >
How to Calibrate Your Thermostat - Smart Touch Energy Blog
Even tiny changes matter, raising your energy bill by up to 10%. Poor sleep quality: Your bedroom's temperature can impact your sleep.
Read more >
Thermostat Reads Higher than Actual Temperature
When a thermostat reads higher than actual temperature, your home can get too cold in the winter. It can also become too warm...
Read more >
Thermostat Reading Wrong Temperature? Here Are Some ...
Poorly located. Perhaps the most common reason why your thermostat might start reading the wrong temperature is that it's not located properly.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found