Closed gregsmith-movista closed 5 months ago
The logbook in HA starts to fill rapidly with entries from the camera with a "updating" message every second...
example of logbook attached
There is otherwise no activity on the printer. It is not printing anything, but it is on, and ready to print when a job is sent.
Honestly, it looks like someone left a debug flag running in the code somewhere. If we could figure out where that is, and get it commented out next build it would be AWESOME.
Let me know if I can help test out the issue.
Unfortunately the mechanisms that Home Assistant has to suppress this are buggy and don't work.
Dupe of #423
Yea great work guys, but this makes it unusable for me at the moment. Also the manual refresh mode doesn't seem to survive reloads.
You can fix the real logbook with this configuration setting in your configuration.yaml like this:
recorder:
exclude:
entities:
- image.p1p_SERIAL_camera
- sensor.p1p_SERIAL_wi_fi_signal
You can't filter the entities just with the similar logbook: configuration settings because HA broke that a while back - only the recorder filtering works since that also controls logging. You could filter out the entire image domain from the logbook but it's best to filter these high volume events from being recorded at all as above.
What you can't fix currently is the logbook pane that appears in the device view - it shows live logbook entire pre-filtering so it'll appear like the logbook is still being spammed but if you look at the real the logbook it will not have the entries.
Now that I understand the distinction between the real logbook and the misleading logbook pane in the device view I'll see if I can actually suppress the recorder from the integration itself.
Actually my testing was flawed - logbook suppression alone does work:
logbook:
exclude:
entities:
- image.p1p_SERIAL_camera
- sensor.p1p_SERIAL_wi_fi_signal
Although to reduce database churn I still suggest suppressing via recorder.
Now that I understand the distinction between the real logbook and the misleading logbook pane in the device view I'll see if I can actually suppress the recorder from the integration itself.
Nope, the attribute suppression mechanism doesn't seem to work for the sensor state itself. The only solution right now is the user configuration change above.
Closing as dupe of #423
Discussed in https://github.com/greghesp/ha-bambulab/discussions/449