initial commit
This commit is contained in:
71
configuration/script/scripts.yaml
Normal file
71
configuration/script/scripts.yaml
Normal file
@ -0,0 +1,71 @@
|
||||
---
|
||||
cast_camera_doorbell:
|
||||
alias: Cast Doorbell Camera
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
entity_id: media_player.kitchen_max
|
||||
data:
|
||||
url: rtsp://10.10.11.110:8554/doorbell
|
||||
extra:
|
||||
mode: webrtc,mse
|
||||
force: true
|
||||
enabled: true
|
||||
|
||||
cast_camera_frontyard:
|
||||
alias: Cast Frontyard Camera
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
entity_id: media_player.kitchen_max
|
||||
data:
|
||||
url: rtsp://10.10.11.110:8554/frontyard
|
||||
extra:
|
||||
mode: webrtc,mse
|
||||
force: true
|
||||
enabled: true
|
||||
|
||||
cast_camera_entrance:
|
||||
alias: Cast Entrance Camera
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
entity_id: media_player.kitchen_max
|
||||
data:
|
||||
url: rtsp://10.10.11.110:8554/entrance
|
||||
extra:
|
||||
mode: webrtc,mse
|
||||
force: true
|
||||
enabled: true
|
||||
|
||||
cast_camera_side1:
|
||||
alias: Cast Side 1 Camera
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
entity_id: media_player.kitchen_max
|
||||
data:
|
||||
url: rtsp://10.10.11.110:8554/side1
|
||||
extra:
|
||||
mode: webrtc,mse
|
||||
force: true
|
||||
enabled: true
|
||||
|
||||
cast_camera_doorbell_nvidia:
|
||||
alias: Cast Doorbell to Nvidia ShieldTV
|
||||
sequence:
|
||||
- variables:
|
||||
link_id: "{% for _ in range(10) %}{{ range(10)|random }}{% endfor %}"
|
||||
- service: webrtc.create_link
|
||||
data:
|
||||
link_id: "{{ link_id }}"
|
||||
url: rtsp://10.10.11.110:8554/doorbell-mid-res
|
||||
open_limit: 0
|
||||
time_to_live: 90
|
||||
# - service: persistent_notification.create
|
||||
# data:
|
||||
# message: "https://house.savin.nyc/webrtc/embed?url={{ link_id }}&webrtc=true"
|
||||
- service: rest_command.pipup_url
|
||||
data:
|
||||
title: Doorbell
|
||||
message: You have a visitor!
|
||||
width: 640
|
||||
height: 480
|
||||
url: "https://house.savin.nyc/webrtc/embed?url={{ link_id }}&webrtc=false"
|
||||
# url: "https://house.savin.nyc/webrtc/embed?url={{ link_id }}&webrtc=false"
|
Reference in New Issue
Block a user