I’m running openHab 5.1.0.M2 in a docker on a synology NAS.
I have many Shelly devices running without any problems.
I just bought two Shelly Mini 1 Gen 3 and two Shelly BLU Motion. I had some trouble to get everything working, but eventually everything was fine. All motion events from both BLU devices (which I added with autodiscovery to openHab) were sent to openHab. That was day before yesterday. Today, I noticed that those events are not send to openHab any more.
Here are some additional information about my setup:
The two Shelly 1 are located in two rooms next to each other. So each Shelly 1 is able to receiv motion event from both Shelly BLU (which are located in those rooms). That might even be the cause of the problem.
On both Shelly 1 the OH-Script is running and the diagnostics show CPU Utilization about every 10 seconds. When everything was working, I could see Log Messages on the Shelly 1 like
Parsed BTH data from device….
shelly_notification:210 Event from script…
I enabled DEBUG-Logging for the Shelly-binding and saw something like
17:08:09.271[DEBUG] [org.openhab.binding.shelly.internal.api2.ShellyBluApi] - shellyblumotion-e8e07ed09ea0: BLU event oh-blu.data received from address e8:e0:7e:d0:9e:a0, pid=60 (JSON={"src":"shelly1minig3-e4b323268eac","dst":"openhab-172.20.0.10","method":"NotifyEvent","params":{"ts":1765296489.22,"events":[{"component":"script:1","id":1,"event":"oh-blu.data","data":{"encryption":false,"BTHome_version":2,"pid":60,"Battery":100,"Illuminance":18,"Motion":0,"addr":"e8:e0:7e:d0:9e:a0","rssi":-75,"packet":"44 00 3c 01 64 05 08 07 00 21 00"},"ts":1765296489.22}]}})
17:08:09.272[DEBUG] [org.openhab.binding.shelly.internal.handler.ShellyBaseHandler] - shellyblumotion-e8e07ed09ea0: Channel sensors#lux updated with 18 lx (type class org.openhab.core.library.types.QuantityType).
17:08:09.272[DEBUG] [org.openhab.binding.shelly.internal.handler.ShellyBaseHandler] - shellyblumotion-e8e07ed09ea0: Channel sensors#motion updated with OFF (type class org.openhab.core.library.types.OnOffType).
17:08:09.273[INFO] [openhab.event.ItemStateChangedEvent] - Item 'Shelly_Motion_Keller_Lux' changed from 84 lx to 18 lx (source: org.openhab.core.thing$shelly:shellyblumotion:e8e07ed09ea0:sensors#lux)
17:08:09.273[INFO] [openhab.event.ItemStateChangedEvent] - Item 'Shelly_Motion_Keller_Bewegung' changed from ON to OFF (source: org.openhab.core.thing$shelly:shellyblumotion:e8e07ed09ea0:sensors#motion)
So everything was fine. I also saw both BLU devices in the Shelly manager.
Now, I don’t see any events on the diagnostic log on neither of the two Shelly 1 devices even though the script is running (at least it generates CPUutilization messages).
I should not say, I don’t see any events, because sometimes an event is received and forwarded to openHab. But that is really rare and not every time the motion detector detects a motion event (signaled by the red light).
I have the problem with both BLU devices. Strangely enough, I just see one BLU device in the Shelly manager any more. The other one disappeared. Both Things seem to bei “online” in openHab.