homebridge-shelly icon indicating copy to clipboard operation
homebridge-shelly copied to clipboard

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

Open przemekpobuta opened this issue 2 years ago • 2 comments

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:

  • Shelly device(s): Shelly 2.5, RGBW (SHRGBW2, SHSW-25)
  • Plugin version: homebridge-shelly v0.19.1
  • Device running homebridge: Raspberry Pi

przemekpobuta avatar Feb 15 '23 19:02 przemekpobuta

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

angyp avatar Feb 26 '23 01:02 angyp

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

MR91 avatar Apr 08 '23 21:04 MR91