Stream Component: Confirmed Cameras and Configurations

You mean in Lovelace?

camera_image: camera.entry_rtsp_entry
entities:
  - script.test_stream
title: RTSP Direct
type: picture-glance

or

entity: camera.entry_rtsp_syno
type: picture-entity
1 Like

Thanks, Iā€™ll try new time I have access to my HA.
Should it work with generic IP camera?

How do I setup stream and google assistant for using with voice? I canā€™t seem to get it to work, and there no instructions to find.

Iā€™m using GA via NabuCasa

FYI: With Blue Iris I didnā€™t have any luck getting this to workā€¦

- platform: generic
  still_image_url: "http://192.168.1.x/image/cameraname"
  stream_source: "http://192.168.1.x/h264/cameraname/temp.m3u8"

It would ignore the stream_source and pull an mjpeg stream from the still_image_url.

But this is workingā€¦

- platform: ffmpeg
  input: "http://192.168.1.x/h264/cameraname/temp.m3u8"

Note: If login is needed it must be included in the URL.

eg:

- platform: ffmpeg
  input: "http://user:[email protected]/h264/cameraname/temp.m3u8"

rather thanā€¦

- platform: ffmpeg
  input: "http://192.168.1.x/h264/cameraname/temp.m3u8"
  username: user
  password: password

I finally made stream working on Dlink 935L when clicking on the camera with this config

  - platform: generic
    still_image_url: !secret foto_trastero
    stream_source: !secret video_trastero
    username: !secret camera_user
    password: !secret camera_password
    name: CƔmara trastero
    verify_ssl: false

Secret file

# CƔmara trastero
video_trastero: rtsp://user:password@IP:554/play1.sdp
foto_trastero: http://IP/cgi/jpg/image.cgi
camera_user: XXXX
camera_password: Pass

WIth this config both still and stream are working. Important, check that you add user and password in rtsp and YOU DONā€™T add it for still_image, as that is the only way I made both working.

1 Like

Check my latest post with working configuration for DCS-935L

Iā€™m trying to cast my webcam to a tv with mibox3 but when I try to cast, the tv show only the blue logo of google cast. The webcam I try to use is a generic camera and it works, I have enabled the stream: component. the url stream is from blue iris. Do you have any suggienstion?
Thanks

Hi Jason,
does that mean mjpeg cameras wonā€™t be able to stream ever or just for the time being?

it works great, now i just have to insert the wemos in my intercom! and then (studying) transmission to the smartphone via iftt, like a wifi doorbell.

1 Like

The stream component does not seem to work properly on my admittedly oddball setup.

My cameras are piped into a separate box running Zoneminder. I had nothing but problems using the MJPEG camera component to get the camera streams from Zoneminder into Home Assistant. Home Assistant would crash every couple of hours. I switched to importing the exact same camera feeds into Home Assistant using the FFPMPEG component.

I started using the stream component on 0.91.0. The still images work fine in Lovelace, but when I try to open the streams I get this: https://imgur.com/E7JG9IW

The setup for each camera is this more-or-less.

The Dafang camera in this list is the same as xiaomi dafang camera or not?

you have to use the ā€œrtspā€ stream and not ā€œhttp:ā€

Thanks a lot. But didnā€™t work on my DCS-932L. Not the still image, or the rtsp stream.

1 Like

Tried bot, the normal foscam component, tried the ffmpeg, both not working.

  - platform: ffmpeg
    name: Camera Stream
    input: -rtsp_transport tcp -i rtsp://username:[email protected]:88/videoMain

and

 - platform: generic
    name: Camera Stream
    stream_source: rtsp://user:[email protected]:88/videoMain
    still_image_url: http://1.1.1.1:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass"
    username: !secret foscam_user
    password: !secret foscam_password
    verify_ssl: false

also the default foscam component not working either.
Seems to be really an issue with the chromecast itself it think, because all above examples are working fine within the browser or VLC.

Google chromecast keeps hanging on the cast logo

Updated to 0.91.2, I have pre-load set and I was checking my cam in the eveningā€¦ I noticed the feed was showing stale info, I gave up after about 30s of watching it and restarted HA.

I will do some more tests but I have some fear that the delay in the feed grows after a whileā€¦ I was checking it this morning and the delay between realtime and what is shown is around 15s on my VM on my synology.

Trying to run without pre-load results in intermittent black feeds stillā€¦ Launching and waiting over a min the feed never loads, however if I close and re-open it is almost instant and only has a delay of about 3-5s from real time.

I guess my problem is that pre-load seems to result in some VERY delayed video, no pre-load results in unreliable feeds.

Reolink setup with the sub feed and generic cameraā€¦ Let me know if there is any more info I can provide.

HI there!

Iā€™m super struggling getting a Unifi Protect live stream to playā€¦

TLDR, the cards are showing snapshots, and when I click on them, they go to the huge full screen snapshot and donā€™t show the RTSP stream. Iā€™ve verified the RTSP stream via VLC (and Iā€™m using them for another streaming app tooā€¦)

camera config:

- platform: generic
  name: Pool
  still_image_url: http://10.0.80.119/snap.jpeg
  stream_source: rtsp://10.0.1.6:7447/<XXXX>
  verify_ssl: false

I have a couple cards Iā€™ve tried:

entity: camera.pool
type: picture-entity

and:

camera_image: camera.pool
entities:
  - camera.pool
title: Pool
type: picture-glance

I feel Iā€™m missing something obvious here, but canā€™t quite figure it out :slight_smile: Thanks in advance!

You can mention that Axis cameras using the Axis integration will work from 0.92. Thanks for your great work @hunterjm

Your rtsp feed needs to have the username password to start.

Rtsp://username:[email protected]:7447ā€¦

Weird, Iā€™ll try thatā€¦ but thereā€™s no username password required for VLC and suchā€¦ Pretty sure itā€™s authenticated.

Thanks!