Core-2021.8.8
Supervisor-2021.06.8
OS-6.2
I finally made the decision to bring my security cameras into my HA setup this week and found a few blog posts and community posts that were able to get me where I needed to be. The problem I am having is there is about a 10-15 second delay on the stream. I am fine with that for just having a glance every once in a while, but I eventually want to include the streams in my automations, Ex. Doorbell camera, motion events, etc. I tried the Reolink IP integration from HACS, but I couldn’t get it to work and ended up on the “generic” platform.
Here is the configuration for the cameras:
# Cameras
camera:
- platform: generic
name: Office
still_image_url: http://myipaddress/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=dfsew3e435ef&user=myuser&password=mypassword
stream_source: rtsp://myuser:mypassword@myipaddress:554//h264Preview_01_sub
- platform: generic
name: Front Door
still_image_url: http://myipaddress/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=dfsew3e435ef&user=myuser&password=mypassword
stream_source: rtsp://myuser:mypassword@myipaddress:554//h264Preview_02_sub
I have Reolink cameras, but they are not RTSP capable. I found that the NVR is capable as long as I specify the channel for each camera. Like I said, it works but has a delay. Could I be missing something in my configuration, or is it because I have to use the NVR?
Since they are “working” I tried to test out streaming the feed to my television. I wrote this automation:
- id: '1629986983376'
alias: Charge Station Opened
trigger:
- type: opened
platform: device
device_id: 176c69d6fcb7c3043b679f8670894871
entity_id: binary_sensor.charge_station_door
domain: binary_sensor
action:
- service: camera.play_stream
target:
entity_id: camera.living_room
data:
media_player: media_player.living_room_tv
The television in question is a Vizio Smartcast and brought into HA through the Vizio Smartcast integration. I used the tools in automations to make sure everything completed when it was triggered and I didn’t have any errors but I also didn’t have any stream on the television. Can this work with the Vizio Smartcast tvs or do I need something else?
Any references or docs out there for this type of issue?