alexryd / homebridge-shelly

Homebridge plugin for Shelly devices
MIT License
297 stars 44 forks source link

[Bug] Cannot turn off the light after turn on from HomeKit and Homebridge UI #432

Open przemekpobuta opened 1 year ago

przemekpobuta commented 1 year ago

Hi, From yesterday my shelly accessories started to behave strangely. I can turn on light, and adjust brightness and color, but I cannot turn off anything! I need to do this from Shelly's web UI on each device, but it is not working from the Apple Home app and Homebridge UI. The status is changed to off, but the lights are still on. I cannot see any logs for turn off, as I observed only for turn on or adjust bright.

The whole config was working perfectly fine for about a year.

Please advise.

Log output

[15/02/2023, 20:35:30] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 100%, (255,255,255,255)
[15/02/2023, 20:35:33] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 63%, (255,255,255,161)
[15/02/2023, 20:35:33] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 49%, (255,255,255,125)
[15/02/2023, 20:35:33] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 46%, (255,255,255,117)
[15/02/2023, 20:35:35] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 46%, (255,25,0,0)
[15/02/2023, 20:35:43] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 46%, (255,25,0,0)
[15/02/2023, 20:35:46] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 46%, (255,25,0,0)
[15/02/2023, 20:36:31] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 57%, (255,25,0,0)
[15/02/2023, 20:36:33] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 36%, (255,25,0,0)
[15/02/2023, 20:36:35] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 23%, (255,25,0,0)
[15/02/2023, 20:36:38] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 2%, (255,25,0,0)
[15/02/2023, 20:40:05] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 2%, (255,25,0,0)
[15/02/2023, 20:43:19] [Shelly] Setting light of device SHRGBW2 E743C5 to on, 2%, (255,25,0,0)
[15/02/2023, 20:43:24] [Homebridge UI] [admin] Accessory layout changes saved.
[15/02/2023, 20:43:34] [Homebridge UI] [admin] Accessory layout changes saved.
[15/02/2023, 20:43:41] [Shelly] Setting relay0 of device SHSW-25 C45BBE6A9AC1 to true

Environment:

angyp commented 1 year ago

Have you changed anything in the network recently? New switch/access point? Do you have the CoIoT peer set to mcast? I notice the same thing after changing my switch and it's all to do with multicasts not returning to homebridge. If you only have homebridge as a controller try setting the CoIoT peer to the IP of homebridge

MR91 commented 1 year ago

@angyp thank you so much, you just saved me from setting up homebridge all over again!