General
Below is a list of confirmed cameras and configurations that work with the new Home Assistant Stream component. Please comment below with your configuration if you have had success and it does not already appear in this list.
Finding your camera’s streams
If your camera is not in the list below, you might be able to find the endpoints you need in the iSpy Camera Database for your make and model. The camera will need both a type of JPEG
and either VLC
or FFMPEG
in the list. Clicking on the model will give you a dialog to create the urls. Type JPEG
goes into still_image_url
, VLC
or FFMPEG
goes into stream_source
.
Confirmed Configurations
BlueIris
Keep in mind the IP address is that of your BlueIris installation and not the camera itself.
- platform: generic
still_image_url: "http://192.168.1.x/image/cameraname"
stream_source: "http://192.168.1.x/h264/cameraname/temp.m3u8"
HikVision
- platform: generic
still_image_url: "http://user:[email protected]/ISAPI/Streaming/channels/101/picture"
stream_source: "rtsp://user:[email protected]:554"
Amcrest
Standard RTSP port:
amcrest:
- host: 192.168.1.x
username: user
password: password
stream_source: rtsp
or non-standard port
- platform: generic
still_image_url: "http://user:[email protected]/cgi-bin/snapshot.cgi"
stream_source: "rtsp://user:[email protected]:(port)/cam/realmonitor?channel=1&subtype=1"
Axis
Available via the built-in integration starting in 0.92.
Foscam
Available via the built-in integration.
Doorbird
Available via the built-in integration starting in 0.92.
Dahua
Depending on your camera configuration, you may also need to set authentication: basic
and/or verify_ssl: false
.
- platform: generic
still_image_url: "http://192.168.1.x/cgi-bin/snapshot.cgi"
stream_source: "rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=00"
username: username
password: !secret dahuapass
ReoLink
You must be on 0.90.1 for this configuration to work.
High Quality
- platform: generic
still_image_url: "http://192.168.1.x/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=user&password=password"
stream_source: "rtsp://user:[email protected]:554/h264Preview_01_main"
Low Quality
- platform: generic
still_image_url: "http://192.168.1.x/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=user&password=password"
stream_source: "rtsp://user:[email protected]:554/h264Preview_01_sub"
UniFi NVR (UniFi Video Controller)
Instructions:
- (If you haven’t already) Turn on RTSP by going to settings (gear icon at the bottom right) scrolling down to streaming ports, and turn on RTSP.
- Go back to the cameras view, select a camera, and scroll down to “RTSP Service”. Click on it and copy the link for the quality feed you want. That link will be your
stream_source
- Create an API user (if you haven’t already), by going to the users tab in the right menu.
-
- Click “Add user”, fill out all the info.
-
- Create a new group giving it view video and recording permissions.
-
- Select API Access and turn on “Allow API Usage”.
-
- Select the user you just created, click on API Usage, and copy the API key
The still_image url will be constructed as follows:
http://<your nvr's IP>:7080/api/2.0/snapshot/camera/<the ID after the slash from the RTSP url, up to the _>?force=true&apiKey=<api key you just copied>
- platform: generic
still_image_url: "http://10.0.10.6:7080/api/2.0/snapshot/camera/5c35744ae4b00e065c24865d?force=true&apiKey=yourkeyhere"
stream_source: "rtsp://10.0.10.6:7447/5c35744ae4b00e065c24865d_1"
UniFi Protect
- Enable RTSP by selecting a Camera / Manage / Toggle on RTSP
- Copy the RTSP URL
Example :
rtsp://192.168.X.X:7447/AbCdeFGhiJK
- Log into the camera (via camera IP address)and turn on Enable Anonymous Snapshot*. Checkbox at bottom of config page. Click Save Changes when done.
https://192.168.X.X/camera/config
- Default Camera username is:
ubnt
- Password for the camera can be found under the Protect NVR under Settings (Gear icon) / Device Password / Edit
With that information you can now configure it as a generic camera:
- platform: generic
name: Front Porch
still_image_url: https://192.168.X.X/snap.jpeg
stream_source: rtsp://192.168.X.X:7447/AbCdeFGhiJK
verify_ssl: false
Once I figure out how to pass username and password credentials I will update to remove Anonymous Snapshots
Synology
For Synology cameras, obtain the stream path using these instructions and use the RTSP stream URL for stream_source
in generic camera.
Dafang
- platform: generic
name: Camera
still_image_url: https://192.168.x.y/cgi-bin/currentpic.cgi
stream_source: rtsp://192.168.x.y:8554/unicast
verify_ssl: false
username: root
password: ********
authentication: basic
ESCAM G02
- platform: generic
still_image_url: "http://CAMERA_IP/snap.jpg?usr=USERNAME&pwd=PASSWORD"
stream_source: "rtsp://USERNAME:PASSWORD@CAMERA_IP:554/01"
name: "ESCAM G02 Stream #1"