Hello,
What is the best way to stream IP camera to TV (with chromecast)?
For the moment I use Axis (camera integration) - Google cast - Broadlink - and automation.
alias: Camera Stream bezoek
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.q3538_lve_0_object_analytics_persoon
from: "off"
to: "on"
- platform: state
entity_id:
- binary_sensor.q3538_lve_0_object_analytics_auto
from: "off"
to: "on"
condition: []
action:
- service: remote.send_command
target:
entity_id:
- remote.broadlink_remote
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
command: Back
device: TV Samsung QN92B 43
- service: camera.play_stream
data:
media_player: media_player.tv_in_keuken
format: hls
target:
entity_id: camera.q3538_lve_0
- delay:
hours: 0
minutes: 3
seconds: 0
milliseconds: 0
- service: remote.send_command
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
command: Back
device: TV Samsung QN92B 43
target:
entity_id: remote.broadlink_remote
- service: media_player.media_stop
target:
entity_id: media_player.tv_in_keuken
data: {}
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: remote.send_command
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
command: Back
device: TV Samsung QN92B 43
target:
entity_id: remote.broadlink_remote
mode: single
Delay is more than 10 seconds.
Regards