I am suddenly getting a LOT of checkin events fired through ZHA. Below is an example. How can I turn these off, and should I?
Thanks.
Frankge
(Frank Gerlipp)
September 19, 2022, 2:47pm
3
Im getting the same with a single device
timelf123
(Tim Elfelt)
December 20, 2022, 8:41pm
4
I’m getting the same spam with a multisensor - zhaquirks.samjin.multi2.SmartthingsMultiPurposeSensor2019
SandmanXX
(Warren R)
January 2, 2023, 11:52pm
5
I haven’t seen anything I could do to turn these log entries off? Or at least hide them?
teskanoo
(Teska Noo)
February 4, 2023, 9:10pm
6
There are several of us wondering the same
opened 09:52PM - 26 Dec 22 UTC
integration: logbook
integration: zha
feature-request
### 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
```
logbook:
exclude:
domains:
- zha
```
I have attempted to exclude ZHA events in the logbook via recorder configuration where I can exclude event_types
```
recorder:
exclude:
event_types:
- zha_event
- zha.zha_event
```
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)
```
logger:
default: info
logs:
homeassistant.components.zha: critical
```
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
```yaml
Snippets from recorder and logbook configurations that I have tried to exclude these events from the logbook
recorder:
exclude:
event_types:
- zha_event
- zha.zha_event
logbook:
exclude:
domains:
- zha
```
```
### Anything in the logs that might be useful for us?
_No response_
### Additional information
Forum post concerning this matter (which has been present since August 2021 but has not, as far as I can see, been raised as an issue)
https://community.home-assistant.io/t/exclude-zha-events-from-logbook/452501/13
SandmanXX
(Warren R)
June 17, 2023, 11:23pm
8
Sorry Phillip, that doesn’t help me at this time.
I’m still getting the events, about every minute or so. When I try following the directions of pull attrib, when I click the read attribute, it runs for a few secs, then gives me a red stopsign-looking icon for a couple seconds, and never fills in the value.
I have a HUB-z controller plugged into my Odroid N2+.
This is still happening. It started maybe within a month or so of me posting, one of the updates. If I look in the logbook for any of the device/entities, it doesn’t show any checkin event/attribute event, anything, so apparently it is not an entity. Anyone still looking into this?
mrcriter
(Mrcriter)
July 25, 2023, 1:52am
10
Please help! My logbook is full of these. It’s nearly impossible to find certain logs because of all of these events firing.
Podds
November 5, 2023, 3:52pm
11
If you still have an issue: Re-configuring the entity with reporting issues fixed the issue for me. I can see you have multiple entities, but I think you could try it anyways. Could be that an update of ZHA caused this…
SandmanXX
(Warren R)
February 13, 2024, 4:54am
12
I think so. I’m having more ZHA problems now, at least with a battery card, but the issue is still here, as I posted the pic above.
My heater valve does the same thing. However, I don’t care about the logbook. My problem is that the LED lights turn on every time this happens… Any way to fix the root cause on the device? (I know this rather a Zigbee problem than HA but I am interested anyway.)
michaelh
(Michael)
February 5, 2025, 9:49pm
14
Still no input from devs? I’m seeing the same thing and would love to know why and what I should do about it