diff --git a/packages/cameras.yaml b/packages/cameras.yaml
index ee5dac1..94d30e1 100644
--- a/packages/cameras.yaml
+++ b/packages/cameras.yaml
@@ -139,7 +139,7 @@ input_label:
# frontdoor_camera_text_overlay_url: http://192.168.xxx.xxx/Video/inputs/channels/1/overlays/text/1
rest_command:
- set_camera_text_left_bottom:
+ set_frontdoor_camera_text_left_bottom:
url: !secret frontdoor_camera_text_overlay_url
username: !secret camera_username
password: !secret camera_password
@@ -153,6 +153,48 @@ rest_command:
{{ message }}
+ set_driveway_camera_text_left_bottom:
+ url: !secret driveway_camera_text_overlay_url
+ username: !secret camera_username
+ password: !secret camera_password
+ method: PUT
+ content_type: 'text/xml'
+ payload: >-
+
+
+ 1true
+ 45520
+ {{ message }}
+
+
+ set_patio_camera_text_left_bottom:
+ url: !secret patio_camera_text_overlay_url
+ username: !secret camera_username
+ password: !secret camera_password
+ method: PUT
+ content_type: 'text/xml'
+ payload: >-
+
+
+ 1true
+ 45520
+ {{ message }}
+
+
+ set_playarea_camera_text_left_bottom:
+ url: !secret playarea_camera_text_overlay_url
+ username: !secret camera_username
+ password: !secret camera_password
+ method: PUT
+ content_type: 'text/xml'
+ payload: >-
+
+
+ 1true
+ 45520
+ {{ message }}
+
+
###############################################################################
# _____ _ _
# / ____| (_) | |
@@ -168,9 +210,27 @@ script:
###############################################################################
# Camera Text Overlay Script - sets a given text as an overlay on camera feed
#
- camera_text_overlay:
+ frontdoor_camera_text_overlay:
sequence:
- - service: rest_command.set_camera_text_left_bottom
+ - service: rest_command.set_frontdoor_camera_text_left_bottom
+ data_template:
+ message: "{{text}}"
+
+ driveway_camera_text_overlay:
+ sequence:
+ - service: rest_command.set_driveway_camera_text_left_bottom
+ data_template:
+ message: "{{text}}"
+
+ patio_camera_text_overlay:
+ sequence:
+ - service: rest_command.set_patio_camera_text_left_bottom
+ data_template:
+ message: "{{text}}"
+
+ playarea_camera_text_overlay:
+ sequence:
+ - service: rest_command.set_playarea_camera_text_left_bottom
data_template:
message: "{{text}}"
@@ -795,14 +855,35 @@ automation:
condition:
- condition: template
value_template: >
- {% if state_attr('script.camera_text_overlay', 'last_triggered') != None %}
+ {% if state_attr('script.frontdoor_camera_text_overlay', 'last_triggered') != None %}
{{ (as_timestamp(now()) - as_timestamp(
- state_attr('script.camera_text_overlay', 'last_triggered'))) | int > 120 }}
+ state_attr('script.frontdoor_camera_text_overlay', 'last_triggered'))) | int > 120 }}
{% else %}
true
{% endif %}
action:
- - service: script.camera_text_overlay
+ - service: script.frontdoor_camera_text_overlay
+ data_template:
+ text: >
+ {{ '* ' if states('alarm_control_panel.simplisafe') == 'armed_home' or
+ states('alarm_control_panel.simplisafe') == 'armed_away' -}}
+ {{- states('sensor.dark_sky_temperature')|int}} °F, Feels like
+ {{- ' ' ~ states('sensor.dark_sky_apparent_temperature') |int -}}
+ - service: script.driveway_camera_text_overlay
+ data_template:
+ text: >
+ {{ '* ' if states('alarm_control_panel.simplisafe') == 'armed_home' or
+ states('alarm_control_panel.simplisafe') == 'armed_away' -}}
+ {{- states('sensor.dark_sky_temperature')|int}} °F, Feels like
+ {{- ' ' ~ states('sensor.dark_sky_apparent_temperature') |int -}}
+ - service: script.playarea_camera_text_overlay
+ data_template:
+ text: >
+ {{ '* ' if states('alarm_control_panel.simplisafe') == 'armed_home' or
+ states('alarm_control_panel.simplisafe') == 'armed_away' -}}
+ {{- states('sensor.dark_sky_temperature')|int}} °F, Feels like
+ {{- ' ' ~ states('sensor.dark_sky_apparent_temperature') |int -}}
+ - service: script.patio_camera_text_overlay
data_template:
text: >
{{ '* ' if states('alarm_control_panel.simplisafe') == 'armed_home' or
diff --git a/zwcfg_0xd89c4f0c.xml b/zwcfg_0xd89c4f0c.xml
index b6981b5..c48da99 100644
--- a/zwcfg_0xd89c4f0c.xml
+++ b/zwcfg_0xd89c4f0c.xml
@@ -34,10 +34,10 @@
-
-
+
+
-
+
@@ -168,7 +168,7 @@
-
+
@@ -216,9 +216,9 @@
-
-
-
+
+
+
@@ -379,7 +379,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -574,7 +574,7 @@
-
+
@@ -601,7 +601,7 @@
-
+
@@ -728,9 +728,9 @@
-
-
-
+
+
+
@@ -974,7 +974,7 @@
-
+
@@ -1006,12 +1006,12 @@
-
+
-
-
-
-
+
+
+
+
@@ -1181,7 +1181,7 @@
-
+
@@ -1190,8 +1190,8 @@
-
-
+
+
@@ -1328,7 +1328,7 @@
-
+
@@ -1416,7 +1416,7 @@
-
+
@@ -1703,7 +1703,7 @@
-
+
@@ -2023,7 +2023,7 @@
-
+
@@ -2038,7 +2038,7 @@
-
+
@@ -2132,7 +2132,7 @@
-
+
@@ -2238,7 +2238,7 @@
-
+
@@ -2253,7 +2253,7 @@
-
+
@@ -2341,7 +2341,7 @@
-
+
@@ -2405,9 +2405,9 @@
-
+
-
+
@@ -2580,7 +2580,7 @@
-
+
@@ -2704,7 +2704,7 @@
-
+