I have a Blue Iris installation, which I have added to my config.yaml
camera:
- platform: generic
still_image_url: "http://192.168.1.130:81/image/cctv-01.jpg"
stream_source: "http://192.168.1.130:81/h264/cctv-01/temp.m3u8"
name: CCTV-01
I have added the stream component to my config.yaml also just using the line
stream:
I have created the lovelace card using config
type: picture-entity
tap_action:
action: more-info
hold_action:
action: none
show_icon: false
show_name: false
entity: camera.cctv_01
From my overview UI I can see the still image on the card and can click on it to see the video stream.
I then copied the token for camera.cctv_01 from develpoer tools > states
Using the api path found in the stream component documentation, I then pasted the token, along with my duckdns domain to form the url in this format (names and token redacted)
https://mydomain.duckdns.org/api/camera_proxy/camera.cctv_01?token=05xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx82
In the browser I get the still image from camera.cctv_01
If I open the stream using VLC I get a 10 second video of the still image.
Am I missing something which isn’t allowing me to view the home assistant stream?
Also I have noticed that the camera’s token changes every time I restart HASS, should I be using another method for authenticating with the stream?