-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all events of Shelly BLU devices arrive in HA #113983
Comments
Ok, I just noticed, that in the Shelly App the ProxyDevice (Shelly 3 Pro EM) did not have BLE Observer enabled anymore. I reenabled it and now the events arrive in HA. I am sure it was enabled in the past (also the logs of the past days say so), but this is not an issue of the HA BTHome integration. |
I am sorry, but i have to reopen this issue again. The above was not the reason for this issue. The Shelly APP shows the last proxy used for this (close) event and these devices have "Enable Bluetooth gatway" enabled. This logs shows the sensor opened at 9:56:18, but not the close event (closed at 9:56:51 - shelly app said). I can't show you the history in the shelly app, because my history is limited to 5 events and the door has been opened/closed since then. One thing i don't understand is, that the Shelly APP sometimes shows another reporting device (proxy), than HA/BTHome shows in it's log. not sure if this is an issue but i was wondering why that is. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
First of all: This issue might look/feel similar to #111137, but i think the reasons for this are totally different.
I have several Shelly BLU devices and multiple Shelly devices as Proxy (1PM,2PM, Pro 3EM).
My Problem only occurs with Shelly BLU DW.
Sometimes HomeAssistant has a wrong state (open) of these Sensors than the Shelly App does (closed).
Here some Screenshots:
HA - last event 23:30:48 "open"
Shelly APP - last event 23:30:57 "closed"
Shelly APP - last reporter 23:31:38
Here is the log:
btonlykellerintime.log
The Log is filtered for this particular Shelly BLU Device only (3C:2E:F5:FB:AA:C0) and for this day only.
What i think is interesting:
Reporters/Proxies in this Log are devices, which are on another floor that the Shelly BLU device (has nothing to do with the HA integration, but i wonder why the Shelly BLU does not connect the devices, which are about 5m away on the same floor).
And i think this is the issue: The Log does not contain the close event at 23:30:57. The open event occured at 23:30:48. Enough time in between, so it should not be a race condition. What is also interesting: The Shelly App say "last Reporter for this BLU Devices is NT" - which is a Shelly Pro 3EM on the same floor as the Shelly BLU DW and about 5-8m away. This device does not show up in the HA logs above.
So, somehow this close-event, which was fired at 23:30:57 did reach the Shelly Proxy Device (the Shelly Pro 3 EM) and was sent to the Shelly Cloud, but did not reach my HA.
Update 1:
The proxy device, which was used to transmit the Close Event to the ShellyCloud is 34:98:7A:45:3D:70 (Shelly Pro 3EM).
I just checked my HA logs for this device and its full of:
"Bluetooth scanner has gone quiet for 90s, check logs on the scanner device for more information"
onlyntintime.log
I just opened/closed that particular door a few minutes ago. And NONE of the events (open/close) arrive in HA anymore. But the Shelly APP history shows all open/close-events.
Again the Shelly APP says: Last reporter is the Shelly Pro 3EM i mentioned above.
I downloaded a new log and filtered for the BLU device, but no entries for today. The events just don't arrive in HA anymore / when sent over the Shelly Pro 3EM as Proxy.
Update 2:
I restarted HA, opened/closed the door. Still it says: Last event 10h ago. Shelly App receives every event. I have no idea of whats wrong here now.
What version of Home Assistant Core has the issue?
core-2024.3.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
bthome, shelly?
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: