homebridge-tuya-ir
homebridge-tuya-ir copied to clipboard
Control Fan Speed
Ton thanks for making it.
Currently only Fan on/off working, when trying to increase or decrease speed logs shows
[5/9/2022, 8:37:19 PM] [TuyaIR] Failed to invoke API param is illegal , please check it
[5/9/2022, 8:37:19 PM] [TuyaIR] Failed to get commands for the fan. Defaulting to standard values. These may not work.
[5/9/2022, 8:37:19 PM] [TuyaIR] Failed to change Fan speed due to an error the infrared code corresponding to the key does not exist
The Fan I am using has independent Speed control buttons, instead of the volume kind button to decrease/increase.
Is there a way to use speed controls?
You can try to fork this repo and use the DIY device function that I pushed
You can try to fork this repo and use the DIY device function that I pushed
This is already merged with main branch and available on npm.
The changes for DIY will need to be extended for speed. I think current implementation support only ON and OFF for DIY.
One way to do this is define a custom remote in Tuya and learn each key on your remote one by one. Then use this custom remote's device Id. It won't show up as Fan but you will get all the buttons as switches.
You can try to fork this repo and use the DIY device function that I pushed
Good suggestion. I have a Fan with speed up and down. I think it isn't possible to create a workaround with using the slider control, right?
There is now DIY accessory for this