HomebridgeMagicHome-DynamicPlatform icon indicating copy to clipboard operation
HomebridgeMagicHome-DynamicPlatform copied to clipboard

[BUG] Changing a light state from outside of Homebridge doesn't sync back to Homebridge

Open giladgd opened this issue 2 years ago • 0 comments

Describe the bug

When I turn a LED strip on or off using a Google Nest device or using the Magic Home app, the LED controller state doesn't update on Homebridge automatically, which makes it impossible to crate automation the depend on the on/off state change of the light.

I also noticed that the status in HomeBridge updates instantly when opening the HomeKit app on an Apple device, but it doesn't update in the background.

To Reproduce

Steps to reproduce the behavior:

  1. Open the HomeKip app, navigate to the room when a LED strip device is present, make sure it's off in the app and in reality

  2. Ask a Google Nest device to turn on the light

  3. The light status in the HomeKit app doesn't update.

  4. Open the HomeKip app, navigate to the room when a LED strip device is present, make sure it's off in the app and in reality

  5. Open the Magic Home app on another device

  6. Turn on the light using the Magic Home app

  7. The light status in the HomeKit app doesn't update

Expected behavior

After turning on the light from a Google Next device or the Magic Home app, the light status should automatically update in the Homekit app by itself.

Additional context

I think adding an option to do state polling could help.

Host Hardware

  • Hardware: Raspberry Pi Zero W
  • OS: Raspbian
  • OS Version: 9 (stretch)

Homebridge and MagicHome

  • Homebridge: 1.4.0
  • Homebridge MagicHome Dynamic Platform version: 1.9.7
  • Link to the MagicHome Device on the seller's website: https://aliexpress.com/item/4001366157377.html

giladgd avatar Apr 09 '22 16:04 giladgd