-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Unable to (find a way to) Exclude ZHA Events from Logbook #84590
Comments
Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zha documentation |
+1 this issue, the lack of exclude filtering for the logbook in the ui, either temporary or 'save preferences' style, makes it very difficult to track a series of events and limits its usefulness. Now that I have a fairly large zigbee network I'm finding zha checkin event spam to create a ton of noise. |
+1 dito |
I noticed that with @AndreFjeld and @teskanoo have Zigbee motion sensors that appear in the Logbook. Hope someone knows how to change that. |
+1 also having this issue. Would love to get these out of the Logbook |
Wondering why the ZHA integration is reporting these events in the log to begin with, not really seeing the relevance. I'd imagine that the zwavejs integration also checks in with zwave devices, but it doesn't display these events at all. I'd get it if I would have enabled debug logging or something but that's not the case. |
recorder.yaml.txt |
The logbook and recorder settings are the same: |
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) logbook documentation |
|
Current logbook behavoir is that when I do a page refresh the ZHA and Hue events which should not be there are gone from the logbook. They are not written to the DB so the recorder ZHA and Hue events exclude works. |
With the difference being that you interacted with the device right? I’d deem these different (and more useful) then the redundant checkin events Zha is logging, which seem to only indicate that it tried to check if the device is still there. |
That does seem to be the case, although I would still like them to not be there |
Thanks doekwerk - you nailed it there These events were definitely being added (interwoven) into the logbook AFTER the logbook page loads - it is something to do with the "previously introduced live logbook" mentioned on this page https://rc.home-assistant.io/blog/2023/01/25/release-20232/#streaming-history |
This one is annoying. I also wonder if the logbook changes could be causing this: #87128 |
Why limit this to ZHA events? It would be great if we could click an event and ignore, trash, snooze any line item. Maybe HA-PC-1 System Uptime changed to 29:16:22:25 HASPone p[2].b[4] displays a clock with a clock icon triggered by time pattern |
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. |
I'm up to date on the OS and on the core version and problem still there. |
Bump. The only reason that hasn't been any activity on this lately is because we're still waiting for the development team to chime in with their diagnosis. Still ongoing on both web and phone. |
Two months later, we still have our logbooks spam'ed with checkins. Does anyone have a recommendation or solution ? |
Still happening... 2023.07.2 None of the logbook entries have a clickable link making me assume they are not 'registered' with an entity_id If they were (which might allow me to exclude them using logbook exclude rules) but this did not work to remove entities added with no domain or entity_id
|
Clicking "reconfigure devices" fixed this for me. |
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. |
Issue is still present on 2023.11.0rc |
Vote for it, that is annoying |
I'd like to add my vote for getting this addressed somehow. I'm not interested in ANY of the zha internal events (i.e. the ones with the BIG RED Z icon) but as others have mentioned, there doesn't seem to be a supported way of not seeing them in the logbook. Filtering using recorder, or logbook, doesn't seem to catch them. What I did find is that you can get rid of them by hacking the code directly, commenting out the last line of components/zha/logbook.py. This doesn't stop them being logged, but it does stop them being displayed, as it makes the event display callback routine essentially do nothing.
It seems this issue should be simple to fix for someone who actually understands how these subsystems fit together. It just seems to need some proper classifier added to the events, that can then be filtered. I've yet to work out from the code where the events are actually being fed back and what causes them to be considered for the logbook at all, and that may be beyond my minimal python skills... |
That's not my experience. I still see the entries after restarting HASS so they must come from the database, right? |
Any progress on this? It is driving me crazy. Interesting is that I have 2 of these Smartthings devices, and only one is filling the log with these useless events. |
This should be a simple fix (???). What I miss is a response on this thread,, to get an understanding why the log i filled with useless information - and why it is not possible to exclude them in any way. |
also experiencing same issue, but only with 2 zigbee extenders. |
I would also like to exclude ZHA events from the logbook. Since 2024.3, I have events every 5min for a plug:
@dmulcahey @puddly Sorry to tag you but this issue is old. Is there anything you can do? |
FWIW, I've managed to remove most of the ZHA stuff in the logbook with these bits of config. There's still the bug where if you're watching the live logbook update the ZHA events will appear, but they then disappear if you refresh the view, but I find this liveable-with. The "logbook" section removes any events that don't have a recognised filterable domain, so it's a catch-all, and may remove some other events that you do care about...
|
+1 on this issue. |
I don't know if these two symptoms are related but recently (a few months ago I guess) my Xfinity keypad started to act weirdly. I have an automation supposed to sync Alarmo and the keypad and it started to be slow/laggy/buggy for no reason. |
@luke7101 I've found most common blueprints for ZHA switches are always triggered by these update events also, but the logic within the automation means no action is taken. |
I absolutely agree. |
Good news, with #114591 attribute update events due to ZHA checking for updates should disappear |
I just saw that made beta - fingers crossed we have seen the end of this :) |
core-2024.4.0 fixed the issue for me. No more flooding in the logbook and no more automations triggered by a fake event! |
still seeing 'Checkin event was fired' events after upgrading unfortunately |
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. |
I still have that issue. I'm pretty new to homeassistant and these messages appeared after installing an Sonoff Zigbee 3.0 USB Dongle Plus and connected some IKEA Sensors and Light |
FWIW... Also exp experiencing this with a Sonoff Zigbee 3.0 USB Dongle Plus |
Still happening for Hue motion sensors. |
Yes, I have a Hue outdoor motion sensor that's spamming the logbook on the latest version. |
IT is mainly Hue motions sensors that still persist in this behaviour for me now |
The problem
Since I switched from Deconz to ZHA, my logbook is overrun with entries created by the ZHA Integration
I have found no way to prevent these entries from appearing in the logbook (which makes the logbook very difficult to read)
Having over 100 Zigbee devices this results in the Logbook consisting of about 70-75% ZHA Events with the remaining 25-30% being those events in which I have expressed an interest in being reported
I have attempted to exclude ZHA events in the logbook configuration by domain
I have attempted to exclude ZHA events in the logbook via recorder configuration where I can exclude event_types
Recorder config, IMO, should be the solution to remove these logbook entries - I can only imagine that I am targeting the wrong event_types, however this is how they appear in my (MariaDB) Database
I have attempted to prevent the logging in logbook by reducing the logging level for the integration (in the vain hope that this might be a factor)
I have verified that this issue occurs regardless of the Enable/Disable debug logging setting for the integration
I have attempted to identify in the codebase if and where any recorder and logbook exclusions are taken into consideration when the deciding to log into the logbook
What version of Home Assistant Core has the issue?
2022.12.8
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
ZHA, Logbook
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
No response
Example YAML snippet
The text was updated successfully, but these errors were encountered: