Closed vbartels closed 1 year ago
Thank you for your feedback, we will solve this issue soon
This pull request: https://github.com/xlinur/tuya-homebridge/pull/1/files claims to have this fixed.... I've no way to check?!
Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.
Nothing changed, how can I help? Are more informations needed?
@vbartels please try @0x5e/homebridge-tuya-platform
, it has been fixed.
@vbartels please try
@0x5e/homebridge-tuya-platform
, it has been fixed.
I just installed a heater today and the issue is still there
plugin is v1.5.0 (released over a year ago?) and no available updates to apply - what do you mean by “please try @0x5e/homebridge-tuya-platform
“?
@recoi1er It's fixed in https://github.com/0x5e/homebridge-tuya-platform/pull/20, please install @0x5e/homebridge-tuya-platform
instead of homebridge-tuya-platform
@recoi1er It's fixed in 0x5e#20, please install
@0x5e/homebridge-tuya-platform
instead ofhomebridge-tuya-platform
I don’t understand, what is 0x5e?
@0x5e does the fix only apply on Fahrenheit degrees? Cuz I’m currently using the plugin you suggested to, I’ve tried both 1.6 and 1.7 (beta) versions and I do have some trouble with my thermostat that are using Celsius degrees; basically the setting temperature (in tuya and on the thermostat) is always the half of the one requested from HomeKit, the temperature detector in the room (by HomeKit) is always five time less than the real one (showed in tuya and on the thermostat).
@0x5e does the fix only apply on Fahrenheit degrees? Cuz I’m currently using the plugin you suggested to, I’ve tried both 1.6 and 1.7 (beta) versions and I do have some trouble with my thermostat that are using Celsius degrees; basically the setting temperature (in tuya and on the thermostat) is always the half of the one requested from HomeKit, the temperature detector in the room (by HomeKit) is always five time less than the real one (showed in tuya and on the thermostat).
Not only Fahrenheit degrees, it can transform any schema you want.
@0x5e does the fix only apply on Fahrenheit degrees? Cuz I’m currently using the plugin you suggested to, I’ve tried both 1.6 and 1.7 (beta) versions and I do have some trouble with my thermostat that are using Celsius degrees; basically the setting temperature (in tuya and on the thermostat) is always the half of the one requested from HomeKit, the temperature detector in the room (by HomeKit) is always five time less than the real one (showed in tuya and on the thermostat).
Not only Fahrenheit degrees, it can transform any schema you want.
May you tell me how can I do that, I would really appreciate, thanks
@Sch011 The example is below, please try if it solves your problem: https://github.com/0x5e/homebridge-tuya-platform/blob/develop_1.7.0/ADVANCED_OPTIONS.md#adjust-integer-schema-ranges
@Sch011 The example is below, please try if it solves your problem: https://github.com/0x5e/homebridge-tuya-platform/blob/develop_1.7.0/ADVANCED_OPTIONS.md#adjust-integer-schema-ranges
Thanks I fixed the setting temperature, how do I adjust the temperature perceived by the thermostat?
@Sch011 Using onGet
and onSet
to adjust the values, like this:
"onGet": "(value * 5);",
"onSet": "(value / 5);",
@Sch011 Using
onGet
andonSet
to adjust the values, like this:"onGet": "(value * 5);", "onSet": "(value / 5);",
Thanks again
@0x5e Hi, as you may see the temperature below is 21 as it should be, thanks to the suggestion you gave me, but the one above ( the detected one) is only 3,5, I’ve bene trying adding different lines of code or modify the existing ones but I never figured how to fix the actual room’s temperature value, is there a way to?
@0x5e Hi, as you may see the temperature below is 21 as it should be, thanks to the suggestion you gave me, but the one above ( the detected one) is only 3,5, I’ve bene trying adding different lines of code or modify the existing ones but I never figured how to fix the actual room’s temperature value, is there a way to?
Please upload the original schema of the target temperature and current temperature, let me have a look.
@0x5e That’s the code I’ve ended up with
@Sch011 I need the original schema from the device info json, which can be found(the filepath) from the log.
@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 ^^
I switched to @0x5e s fork and it works for me, too. Thanks!
To confirm, having the same issue, https://snipboard.io/n0mesI.jpg
Is it only working in the beta then?
Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.
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.
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