prasad-edlabadka / homebridge-tuya-ir

Allows homebridge to control Tuya Smart IR based devices
Apache License 2.0
51 stars 22 forks source link

Avatto IR #54

Closed qattanson closed 2 years ago

qattanson commented 2 years ago

I have the IR installed in tuya. I configured it in homebridge to control it (AC unit) from the HomeKit app in my iphone. It is showing on my iphone and in homebridge, however it is not controlling the IR (not switching the AC on and off). Please advise.

"name": "TuyaIR", "client_id": "xxxxxxxxxxxx", "secret": "xxxxxxxxxxx", "region": "eu", "smartIR": [ { "deviceId": "bf7b9xxxxxxxxxxxx", "autoFetchRemotes": true, "devices": [ { "id": "bf7b9xxxxxxxxxxxxxx", "diy": false, "model": "S08", "brand": "avatto" } ] } ], "platform": "TuyaIR"

prasad-edlabadka commented 2 years ago

Can you please send logs?

qattanson commented 2 years ago

Tuya IR issue

prasad-edlabadka commented 2 years ago

Need more logs. This isn't showing any error as to what happened.

qattanson commented 2 years ago

It does not show any errors and the device is appearing in the homekit app as well as the homebridge local. It shows that you can switch it on and off and control the temperature, however does not work.

qattanson commented 2 years ago

All sorted.

I realized the mistake!!. I was using the Device ID of the assigned device instead of the IR remote itself. I change it now and it is working perfectly.

Thank you so much!!