mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
adding weird untracked
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
alias: Cam03 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam03
|
||||
extra:
|
||||
alias: Cam03 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam03
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam03_sub on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam03_sub
|
||||
extra:
|
||||
alias: Cam03_sub on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam03_sub
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam08 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam08
|
||||
extra:
|
||||
alias: Cam08 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam08
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam08 on Front Room Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp_cam08_sub
|
||||
extra:
|
||||
alias: Cam08 on Front Room Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp_cam08_sub
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam13 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam13_sub
|
||||
extra:
|
||||
alias: Cam13 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam13_sub
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam13 on Front Room Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam13_sub
|
||||
extra:
|
||||
alias: Cam13 on Front Room Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam13_sub
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam19 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam19_sub
|
||||
extra:
|
||||
alias: Cam19 on Computer Area Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam19_sub
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,8 +1,8 @@
|
||||
alias: Cam19 on Front Room Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam19_sub
|
||||
extra:
|
||||
alias: Cam19 on Front Room Hub
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam19_sub
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -1,17 +1,17 @@
|
||||
alias: Create temporary camera link
|
||||
sequence:
|
||||
- variables:
|
||||
link_id: "{% for _ in range(40) %}{{ range(10)|random }}{% endfor %}"
|
||||
|
||||
- service: webrtc.create_link
|
||||
data:
|
||||
link_id: "{{ link_id }}" # create a random or permanent link ID
|
||||
# url: rtsp://rtsp:12345678@192.168.1.123:554/av_stream/ch0
|
||||
# entity: camera.sonoff # you can use camera entity_id or url
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam03_sub
|
||||
open_limit: 1 # how many times a link can be opened (0 - unlimit, 1 - default)
|
||||
time_to_live: 60 # how many seconds will the link live (0 - unlimit, 60 - default)
|
||||
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
alias: Create temporary camera link
|
||||
sequence:
|
||||
- variables:
|
||||
link_id: "{% for _ in range(40) %}{{ range(10)|random }}{% endfor %}"
|
||||
|
||||
- service: webrtc.create_link
|
||||
data:
|
||||
link_id: "{{ link_id }}" # create a random or permanent link ID
|
||||
# url: rtsp://rtsp:12345678@192.168.1.123:554/av_stream/ch0
|
||||
# entity: camera.sonoff # you can use camera entity_id or url
|
||||
url: rtsp://192.168.1.7:8554/rtsp_cam03_sub
|
||||
open_limit: 1 # how many times a link can be opened (0 - unlimit, 1 - default)
|
||||
time_to_live: 60 # how many seconds will the link live (0 - unlimit, 60 - default)
|
||||
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
message: '<a href="/webrtc/embed?url={{ link_id }}" target="_blank">Open Camera</a>'
|
||||
Reference in New Issue
Block a user