-
Notifications
You must be signed in to change notification settings - Fork 85
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
[Feature] Camera stream only while printing or on request #423
Comments
I second that, the camera never stops unless you power cycle the printer (and then you need to restart HA to get camera to start) |
I added configuration to exclude events from the camera since they were extremely spammy. Goes in your global HA configuration.yaml: logbook:
exclude:
entities:
- image.p1s_01pxxxxxxxx_camera
|
I've tried this using the "recorder" integration ...continues to record camera updates.. |
I disabled the entity for now, hoping it will be fixed in the near future. |
Adding a vote here. I've unfortunately disabled the entity as well. |
It’s a bug if you have to restart the printer to get the camera working again. I fixed a bug recently that led to that if you were connecting via the Bambu cloud Mqtt service instead of direct to the printer. |
Is that working for you? It doesn’t for me. What version of home assistant are you running? |
Yes it works. I no longer see the events for the camera in the logbook. Running HAOS 11.2, the printer is in LAN mode. To be extra clear, you'll have to change the entity name in the filter to match whatever your camera entity name is 🙂 |
You’ll want to utilize the “record” function and not the “logbook” function. It still get recorded just doesn’t show on the logbook. Also if using the record function it doesn’t show on the logbook bag but only when you filter for the actual camera entity for some reason |
You've misread a bit, I said that I need to restart HA to get the camera to work again if I stop the logflow from the printer by restarting the printer. |
I spent some time over the weekend trying to get recorder and logbook exclusions to work with no success - they’re still spamming the system. So I wonder what’s different for folk that have gotten it to behave as advertised. |
Sorry I mistyped. I mean it’s a bug if you have to restart home assistant after you restarted the printer to get the camera working again. It should automatically reconnect without any intervention. |
I can't get recorder exclusion to work for these images by any means: None of domains, entity_globs or entities work to stop the state change being recorded and present in the logbook every 1-2 seconds. Were you able to get this to work? |
My testing was flawed. The logbook pane in the device view shows pre-filtered changes and I have found no way to prevent that showing live changes even when they are correctly filtered from the logbook and backing database. The actual logbook was properly excluding. You can suppress the logging by adding either of these to your configuration.yaml file:
or
I recommend suppressing recording as that'll reduce the database churn. |
Stale issue message |
Is it possible to expose camera as a |
Stale issue message |
I've added PR #595 to implement this. |
Resolving as completed with #595 |
Describe the feature
My Homeassistant-Logfile is full with camera P1S has changed.
It would be great, if the image is only refreshing while printing, or on request - for example when the picture was pressed.
What device is this for?
P1S
Other Information
No response
The text was updated successfully, but these errors were encountered: