First of all, thanks for the plugin, it was very easy to set up and turn all home a/c into HomeKit controlled devices.
One small issue however: seems like default Tuya API for device status returns empty array for IR-controlled devices, and it makes impossible to recover true device status upon HB restart. Example logs from startup:
First of all, thanks for the plugin, it was very easy to set up and turn all home a/c into HomeKit controlled devices.
One small issue however: seems like default Tuya API for device status returns empty array for IR-controlled devices, and it makes impossible to recover true device status upon HB restart. Example logs from startup:
As you can see,
status
is[]
, which is not helpful. In Tuya app I can see correct statuses, but HB and HK don't see them once HB is restarted.I found another API, but cannot test it easily: https://developer.tuya.com/en/docs/cloud/universal-infrared?id=K9jgsgd7buln4#title-31-Query%20air%20conditioner%20status
Maybe you can query that one for true device status?
Same applies for fans. Not sure about switches.
Thanks in advance!