1
0

Change zoneminder service and camera names

This commit is contained in:
Przemek Grondek 2021-09-11 16:05:39 +02:00
parent cd3b9f5b83
commit 5d01733ab6
3 changed files with 14 additions and 12 deletions

View File

@ -1,5 +1,5 @@
- id: camera_1_notification
alias: '[Camera] 1 notification'
- id: camera_kitchen_notification
alias: '[Camera] Kitchen notification'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
@ -14,13 +14,13 @@
data:
message: Motion Detected in Kitchen!
data:
entity_id: camera.monitor_1
entity_id: camera.kitchen
url:
_: "/lovelace-tablet/cctv"
mode: single
- id: camera_2_notification
alias: '[Camera] 2 notification'
- id: camera_hallway_notification
alias: '[Camera] Hallway notification'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
@ -35,7 +35,7 @@
data:
message: Motion Detected in Hallway!
data:
entity_id: camera.monitor_2
entity_id: camera.hallway
url:
_: "/lovelace-tablet/cctv"
mode: single

View File

@ -136,8 +136,10 @@ octoprint:
bed: true
zoneminder:
- host: 192.168.50.197
path_zms: cgi-bin/nph-zms
- host: zoneminder.grondek.pl
ssl: true
verify_ssl: true
path_zms: /zm/cgi-bin/nph-zms
path: /zm/
camera:
- platform: zoneminder

View File

@ -110,8 +110,8 @@ leave_home:
- service: switch.turn_on
entity_id:
- switch.kitchen_camera_outlet_on_off
- switch.monitor_1_state
- switch.monitor_2_state
- switch.kitchen_state
- switch.hallway_state
- service: switch.turn_off
entity_id:
- switch.desk_motor_on_off
@ -145,8 +145,8 @@ arrive_home:
- switch.computer_outlet
- service: switch.turn_off
entity_id:
- switch.monitor_1_state
- switch.monitor_2_state
- switch.kitchen_state
- switch.hallway_state
- switch.kitchen_camera_outlet_on_off
mode: single
icon: mdi:home-import-outline