tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
332 stars 168 forks source link

Smart Heater temperature display issues #345

Closed var-log-skynet closed 1 year ago

var-log-skynet commented 1 year ago

Describe the bug SmartHeater XL (C) dispalys correct temperatures (current and desired) in tuya smart app, but not in Homebrigde/HomeKit

Expected behavior Dispaly correct vaules

Screenshots Homebridge tuya homekit

Device info (please complete the following information, which can be found in log): [homebridge-tuya-platform] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 230 exceeded maximum of 122. See https://homebridge.io/w/JtMGR for more info.

github-actions[bot] commented 1 year ago

Thank you for your feedback, we will solve this issue soon

Josje92 commented 1 year ago

Exactly the same issue here 👋 - so, tagging along! Think it has something to do with F / C difference..

Edit: this might be useful info. My device is currently switched off, I tried to lower my maxValue from 122 to 22 (celcius) and got this message in my console:

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.

Which was exactly 10 times the current temperature. So the temperature given by Tuya has to be divided by 10 before passing it to homebridge.

Josje92 commented 1 year ago

Made a PR for this.

github-actions[bot] commented 1 year ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.

var-log-skynet commented 1 year ago

This is still an issue

RohitRajendran commented 6 months ago

I'm also having a similar issue where my heater set to 69F is showing up as 156.

Screenshot 2023-12-08 at 2 37 02 PM