-
Notifications
You must be signed in to change notification settings - Fork 23
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
Broken image displayed #140
Comments
Have tried restarting and disabling/enabling the camera with no help. Nothing suspect in the logs either |
Does edit: I just noticed it's a phone... |
Yep, problem is happening on all devices I try, phone/tablet/laptop. |
Could these be related? Logger: homeassistant.components.websocket_api.http.connection Logger: homeassistant.helpers.script.websocket_api_script |
There are a couple of things we can look at: Go to Now look for |
Last_Thumbnail appears for the camera that are working and also the one not working. The entity_picture also displays in the browser directly and is the same as the last_thumbnail |
I can see the img block and the url is correct (obfuscated some urls with xxxx):
but this is not what is displayed, when I hover over this in the debugger, it highlights the broken image on the page:
here is the whole block if that helps:
|
One thing I just noticed. Can try you changing this in the config: image_view: direct And that might explain the strange message you are seeing in the config. Did you want it to start streaming when you opened the GUI? |
Yep I tried that and it doesnt fix the issue. All the other cameras are configured the same and display the image preview as expected, although the stream doesnt start for any of them on load as i had hoped. They have all been configured this way for years, and the only thing that has changed for the camera with the broken image is that it went completely flat (assume a broken image view is what should be shown when there is no connection?) Its like it just hasnt come back from that state even though its fully charged and controllable by HA |
I'll try and reproduce it here and look through the code. It looks like it's choosing it knows about the thumbnail image but is choosing to give you the broken one. |
Sorry, it's back to the debug window. Is there anything appearing in the console? On Chrome it's a tab on the left, middle to bottom of the screen. |
Console output:
|
Randomly, the problem is fixed. The camera in question captured some recordings while it was armed when we were out. Now its dosplaying properly |
The card has been working great for years. Recently one of my cameras battery went flat. Even though it is now charged and connected to HA (i can set alarm mode, take snapshots etc via service calls), the card just displays a broken image. All other cameras and their cards are working fine.
The text was updated successfully, but these errors were encountered: