-
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
Make chamber image camera domain type #595
Make chamber image camera domain type #595
Conversation
@AdrianGarside sorry to hijack this PR, but in the release notes for 2.0.23 you mention:
Both picture elements and picture card are working for me with live video with the new camera entity: type: picture-entity
entity: camera.p1s_camera
camera_image: camera.p1s_camera
camera_view: live
show_state: false
show_name: false type: picture-elements
elements: []
camera_image: camera.p1s_camera
camera_view: live With |
@steveneaston thanks I will give that a go. |
This is what I currently have. If I replace that custom:layout-card with anything else the camera doesn't render.
Ah, I was trying to insert the camera as a card within the elements list, but I see you can just have the camera as a background for the entire picture-elements at the top level:
More compact, doesn't have the weird sizing problems I had with custom:layout-card so much better. |
After the update the camera image doesn't render at all. Not on a dashboard, but also not directly on the device page. The link to the image is https://[domain]/api/camera_proxy_stream/camera.bambu_labs_a1_camera?token=b319ff977dddd5bc34927da7c7adfdsfe17dfc3f1df59f8505bd9fd5e633bfea047e2f9c803a4 If tried restarting HA and the printer. Other sensors seem to be working with the exception of the camera. |
Anything in the debug logs? What version of home assistant? Does downgrading to the version where it's an image work again? |
I have to admit that after clearing the Safari cache it seems to work again :) |
Whoops. A bit too fast. It seems to be working in the native app on macOS and on my iPhone. It also seems to work on Chrome. It just doesn't work very well on Safari. If you clear the cache it works again. If you keep the image open you suddenly see the entire page reloading and the image is broken. There is nothing in the debug log. HA is the latest version. I can try some earlier versions, but I'm actually doubting if these problems were not in Safari before. |
Since it's a standard HA camera entity at this point, there's likely nothing I can do to fix Safari mishandling rendering it :( |
It seems to be a known issue for quite some time: So nothing we can do about it I’m afraid. |
Please open an issue for this - I'll likely add in a configuration to have the older image 'fake' camera sensor active instead. I'm not sure how quickly I'll be able to get to it though - work got crazy again. Apparently firefox misbehaves if you have too many printer videos displaying at once where the image approach worked. So misbehaving web browsers is a theme. |
Makes the chamber "image" a
camera
domain type.Fixes #365, #423, #531.