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

View File

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

View File

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