tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
332 stars 168 forks source link

Ceiling fan controller in smart life app not appearing in Homebridge #300

Closed iGageit closed 1 year ago

iGageit commented 1 year ago

I recently installed a ceiling fan controller and got it in my smart life app and that is connected to Homebridge.. but the fan will not appear. I connected a smart bulb just to make sure my connection was good and it is. for some reason my fan controller that make my dumb fan smart will not appear in Homebridge. thank you for looking at this and hope you find a fix.

github-actions[bot] commented 1 year ago

Thank you for your feedback, we will solve this issue soon

0x5e commented 1 year ago

Please try https://github.com/0x5e/homebridge-tuya-platform and provide some logs about your device (without sensitive data)

iGageit commented 1 year ago

The fan I was using is this by the way: https://amzn.to/3TgxLfX

0x5e commented 1 year ago

Hi @iGageit , please provide plugin logs then we can see where the problem happend.

iGageit commented 1 year ago

I can see the smart fan in the logs but it won't appear in HomeKit. Here is the log when I turn on the light from the smart life app. TuyaOpenMQ onMessage: topic = cloud/token/in/{my device}, message = {"data":{"dataId":"myid-2ef4-4c1e-8e0b-976d16a85143","devId":"{my device}","productKey":"{mikes}","status":[{"20":false,"code":"switch_led","t":"1666626685","value":false}]},"protocol":4,"pv":"2.0","sign":"ddd174645c9fb5a4a75875735416bc5255","t":1666626685}

iGageit commented 1 year ago

When I turn on the fan on or off, I can see that Homebridge can see the state of change, But I does not appear in the accessories tab of Homebridge or in HomeKit.

iGageit commented 1 year ago

update: when I use yours https://github.com/0x5e/homebridge-tuya-platform it now will appear in HomeKit, but HomeKit says "Not supported"

in Homebridge: here is the log. [10/24/2022, 12:22:09 PM] [@0x5e/homebridge-tuya-platform] Create accessory using legacy mode: Living room Smart Fan. [10/24/2022, 12:22:09 PM] [@0x5e/homebridge-tuya-platform] Unsupported device: Living room Smart Fan.

0x5e commented 1 year ago

OK. I will fix this later.

iGageit commented 1 year ago

any progress on this bug? any log info you need to help debug?

0x5e commented 1 year ago

I will fix next week, sorry for the late. No info need currently.

B-double-U commented 1 year ago

Hi, I have the same issue with a Thermostat. The device is connected in the Tuya platform and I can see in the Homebridge logs that changing values, like the temperature, are received in Homebridge. However the device is not showing up in the accessories overview and not in Homekit.

iGageit commented 1 year ago

I just noticed that the fan controls is always defaulting to 2% speed in the Home app settings.. not an urgent deal but just so it's on your radar. @0x5e

0x5e commented 1 year ago

I just noticed that the fan controls is always defaulting to 2% speed in the Home app settings.. not an urgent deal but just so it's on your radar. @0x5e

Ok I will see this later, thanks :)

0x5e commented 1 year ago

@iGageit how many fan levels do you have? off/low/medium/high ? Can you provide TuyaDeviceList.json like this: https://github.com/0x5e/homebridge-tuya-platform/issues/44

github-actions[bot] commented 1 year ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.