Closed zixuan96 closed 1 year ago
Please test with v1.0.5 and let me know.
With v1.0.5, I can switch the mode of AC, but it still cannot fetch Target Heater-Cooler State, Current Temperature and Rotation Speed from the API.
[23/07/2022, 17:18:26] [TuyaIR] 空调 mode is Cool [23/07/2022, 17:18:29] [TuyaIR] 空调 mode is Heat [23/07/2022, 17:18:29] [TuyaIR] 空调 is now On [23/07/2022, 17:18:32] [TuyaIR] 空调 mode is Cool [23/07/2022, 17:18:33] [TuyaIR] 空调 temperature is set to 27 degrees. [23/07/2022, 17:18:37] [TuyaIR] 空调 temperature is set to 26 degrees. [23/07/2022, 17:18:56] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:18:56] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:18:56] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:19:26] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:19:26] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:19:26] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:19:56] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:19:56] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [23/07/2022, 17:19:56] [homebridge-tuya-ir] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
Strangely I am not seeing this error. What version of homebridge are you using?
v1.5.0
Current Temperature is missing because AC partner doesn't have any temperature sensor, but Target Heater-Cooler State
and Rotation Speed
should correspond to target_temp
and fan_level
in the status set.
IR doesn't have feedback mechanism. The status is retrieved from the server only if it is exclusively operated using IR control. There is no guarantee that status would be up to date.
Hi, is it possible to stop it retrieving data from the server, or set the background polling interval longer? Everytime it receives "undefined" value from the server, it will set that value to 0, which means OFF for AC, inconsistent with the current state.
Hi, I'm trying to use this plugin for my Tuya AC partner (空调伴侣). It works well for a few weeks. However, after recent updating, the only commands I can use are turning on and off AC. I think the variable names don't match the Tuya API any more.
The instruction set should be:
And the status set should be: