Camera image not showing?

I have a hard time with my camera. The URL when pasted in a browser works, if I use it in an iframe it works, but when I use the camera component it doesn’t show anything

  - id: xxxxx  # Automatically created id
    type: iframe
    url: http://192.168.1.45/snapshot.cgi?usr=admin&pwd=xxxxxx
    aspect_ratio: 100%               
  - id: yyyyy
    type: picture-entity
    title: Office
    entity: camera.office
    show_info: true
    tap_action: more-info

in configuration

camera office:
  - platform: generic
    name: Office
    still_image_url:  http://192.168.1.45/snapshot.cgi?usr=admin&pwd=xxxxxx

the iframe show the camera image, the picture-entioty is as below

Your configuration is wrong
check this:

Here is an example from my camera:

camera:
  - platform: mjpeg
    mjpeg_url: http://192.168.1.xx
    name: Camera office
    authentication: basic
    username: username
    password: password

Will try your suggestion. In any case my code was working in HASS in the past

did you get this working? having the same problem here. iframe works good, camera component no

I have the same issue. I followed the video a tutorial video (https://www.youtube.com/watch?v=0JdnJj_dTL4). The video is showing when clicking on the card. The image url is working as well, but it’s not showing in the card for me. :frowning:

on your overview click on the 3 dots then click on the exit the dashboard. Find your camera card and then edit. Find the “Camera view” should be under the camera entity. I changed it from auto to live. you also can unclicked the state button too.

5 Likes

i need help with this as well. my mjpeg entity card showing no stream either. the url works in web browser fine.

That worked for me - thanks! My 3 x ONVIF cameras were fine with auto, but my more basic rtsp non-ONVIF cameras needed the “live” option.

For those trying to find the location its here:

2 Likes

This worked for me also, thanks I’ve been hours with this problem until I found this!