add zoneminder config

This commit is contained in:
2022-11-03 20:34:24 +00:00
parent 07373045fc
commit c5c8999f4d
3 changed files with 317 additions and 314 deletions

View File

@@ -1,75 +1,75 @@
- id: "1589065904158" - id: '1589065904158'
alias: Agua - Aquecimento alias: Agua - Aquecimento
description: "" description: ''
trigger: trigger:
- at: 06:00:00 - at: 06:00:00
platform: time platform: time
- at: 08:00:00 - at: 08:00:00
platform: time platform: time
- at: "16:00:00" - at: '16:00:00'
platform: time platform: time
- at: "20:00:00" - at: '20:00:00'
platform: time platform: time
action: action:
- data: {} - data: {}
entity_id: switch.aquecimento_agua entity_id: switch.aquecimento_agua
service: switch.toggle service: switch.toggle
mode: single mode: single
- id: "1578994958446" - id: '1578994958446'
alias: Garagem - Warn gate Open alias: Garagem - Warn gate Open
description: "" description: ''
trigger: trigger:
- entity_id: binary_sensor.portao_garagem_input - entity_id: binary_sensor.portao_garagem_input
from: "on" from: 'on'
platform: state platform: state
to: "off" to: 'off'
condition: [] condition: []
action: action:
- data: - data:
message: O portao da garagem foi aberto message: O portao da garagem foi aberto
title: "*Portao da garagem*" title: '*Portao da garagem*'
service: notify.buttler service: notify.buttler
- id: "1579542436595" - id: '1579542436595'
alias: Garagem - warn gate closed alias: Garagem - warn gate closed
description: "" description: ''
trigger: trigger:
- entity_id: binary_sensor.portao_garagem_input - entity_id: binary_sensor.portao_garagem_input
from: "off" from: 'off'
platform: state platform: state
to: "on" to: 'on'
condition: [] condition: []
action: action:
- data: - data:
message: O portao da garagem foi fechado message: O portao da garagem foi fechado
title: "*Portao da garagem*" title: '*Portao da garagem*'
service: notify.buttler service: notify.buttler
- id: "1583841493592" - id: '1583841493592'
alias: System - Notify when hacs needs update alias: System - Notify when hacs needs update
description: "" description: ''
trigger: trigger:
- entity_id: sensor.hacs - entity_id: sensor.hacs
from: "0" from: '0'
platform: state platform: state
to: "1" to: '1'
action: action:
- data: - data:
message: System HACS needs updating message: System HACS needs updating
title: "*HACS*" title: '*HACS*'
service: notify.buttler service: notify.buttler
- id: "1598985491596" - id: '1598985491596'
alias: WC Red luz demasiado tempo ligada +10' alias: WC Red luz demasiado tempo ligada +10'
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
trigger: trigger:
- entity_id: light.luz_wc_vermelha - entity_id: light.luz_wc_vermelha
for: 00:10:00 for: 00:10:00
from: "off" from: 'off'
platform: state platform: state
to: "on" to: 'on'
condition: [] condition: []
action: action:
- data: - data:
message: Wc Vermelha luz acesa message: Wc Vermelha luz acesa
title: "*Luz WC Vermelha*" title: '*Luz WC Vermelha*'
service: notify.buttler service: notify.buttler
- service: notify.whatsapp - service: notify.whatsapp
data: data:
@@ -78,20 +78,20 @@
data: data:
message: Wc Vermelha luz acesa message: Wc Vermelha luz acesa
mode: single mode: single
- id: "1603375184553" - id: '1603375184553'
alias: "Garagem - Luz 1 demasiado tempo ligada +10' " alias: 'Garagem - Luz 1 demasiado tempo ligada +10'' '
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
trigger: trigger:
- entity_id: light.luz_garagem_1 - entity_id: light.luz_garagem_1
for: 00:10:00 for: 00:10:00
from: "off" from: 'off'
platform: state platform: state
to: "on" to: 'on'
condition: [] condition: []
action: action:
- data: - data:
message: Luz garagem 1 acesa message: Luz garagem 1 acesa
title: "*Luz garagem 1*" title: '*Luz garagem 1*'
service: notify.buttler service: notify.buttler
- service: notify.whatsapp - service: notify.whatsapp
data: data:
@@ -100,20 +100,20 @@
data: data:
message: Luz garagem 1 acesa message: Luz garagem 1 acesa
mode: single mode: single
- id: "1603375213791" - id: '1603375213791'
alias: Garagem - Luz 2 demasiado tempo ligada +10' alias: Garagem - Luz 2 demasiado tempo ligada +10'
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
trigger: trigger:
- entity_id: light.luz_garagem_2 - entity_id: light.luz_garagem_2
for: 00:10:00 for: 00:10:00
from: "off" from: 'off'
platform: state platform: state
to: "on" to: 'on'
condition: [] condition: []
action: action:
- data: - data:
message: Luz garagem 2 acesa message: Luz garagem 2 acesa
title: "*Luz garagem 2*" title: '*Luz garagem 2*'
service: notify.buttler service: notify.buttler
- service: notify.whatsapp - service: notify.whatsapp
data: data:
@@ -122,20 +122,20 @@
data: data:
message: Luz garagem 2 acesa message: Luz garagem 2 acesa
mode: single mode: single
- id: "1604863723383" - id: '1604863723383'
alias: WC Preto luz demasiado tempo ligada +10' alias: WC Preto luz demasiado tempo ligada +10'
description: Avisa se luz Wc Preto acesa por mais de 10 minutos description: Avisa se luz Wc Preto acesa por mais de 10 minutos
trigger: trigger:
- entity_id: light.luz_wc_preto - entity_id: light.luz_wc_preto
for: 00:10:00 for: 00:10:00
from: "off" from: 'off'
platform: state platform: state
to: "on" to: 'on'
condition: [] condition: []
action: action:
- data: - data:
message: Wc Preto luz acesa message: Wc Preto luz acesa
title: "*Luz WC Preto *" title: '*Luz WC Preto *'
service: notify.buttler service: notify.buttler
- service: notify.whatsapp - service: notify.whatsapp
data: data:
@@ -144,9 +144,9 @@
data: data:
message: Luz WC Preto acesa message: Luz WC Preto acesa
mode: single mode: single
- id: "1613783833916" - id: '1613783833916'
alias: Blinders - BomDiaEstores - Week alias: Blinders - BomDiaEstores - Week
description: "" description: ''
trigger: trigger:
- platform: time - platform: time
at: 07:30 at: 07:30
@@ -187,9 +187,9 @@
- cover.coversaladir - cover.coversaladir
- cover.coversalaesq - cover.coversalaesq
mode: single mode: single
- id: "1614212887668" - id: '1614212887668'
alias: Blinders - Curious George alias: Blinders - Curious George
description: "" description: ''
trigger: trigger:
- platform: sun - platform: sun
event: sunset event: sunset
@@ -223,9 +223,9 @@
data: data:
position: 25 position: 25
mode: single mode: single
- id: "1614212907624" - id: '1614212907624'
alias: Blinders - Close Covers alias: Blinders - Close Covers
description: "" description: ''
trigger: trigger:
- platform: sun - platform: sun
event: sunset event: sunset
@@ -255,9 +255,9 @@
entity_id: cover.covercozinha entity_id: cover.covercozinha
data: {} data: {}
mode: single mode: single
- id: "1614588424982" - id: '1614588424982'
alias: Blinders - Let There be Light - Week alias: Blinders - Let There be Light - Week
description: "" description: ''
trigger: trigger:
- platform: time - platform: time
at: 08:30:00 at: 08:30:00
@@ -289,32 +289,32 @@
- cover.coversalaesq - cover.coversalaesq
- cover.covercozinha - cover.covercozinha
mode: single mode: single
- id: "1615401312170" - id: '1615401312170'
alias: Start Aleixo alias: Start Aleixo
description: "" description: ''
trigger: trigger:
- platform: time - platform: time
at: "10:00" at: '10:00'
condition: [] condition: []
action: action:
- service: vacuum.start - service: vacuum.start
target: target:
entity_id: vacuum.aleixo_s5_max entity_id: vacuum.aleixo_s5_max
mode: single mode: single
- id: "1621620922521" - id: '1621620922521'
alias: WC castanho luz demasiado tempo ligada +10' alias: WC castanho luz demasiado tempo ligada +10'
description: Avisa se luz Wc Castanho acesa por mais de 10 minutos description: Avisa se luz Wc Castanho acesa por mais de 10 minutos
trigger: trigger:
- entity_id: switch.luzwccast - entity_id: switch.luzwccast
for: 00:10:00 for: 00:10:00
from: "off" from: 'off'
platform: state platform: state
to: "on" to: 'on'
condition: [] condition: []
action: action:
- data: - data:
message: Wc Castanho luz acesa message: Wc Castanho luz acesa
title: "*Luz WC Castanho *" title: '*Luz WC Castanho *'
service: notify.buttler service: notify.buttler
- service: notify.whatsapp - service: notify.whatsapp
data: data:
@@ -323,12 +323,13 @@
data: data:
message: Luz WC Castanho acesa message: Luz WC Castanho acesa
mode: single mode: single
- id: "1640114920854" - id: '1640114920854'
alias: Garagem - Turn light on at night alias: Garagem - Turn light on at night
description: "" description: ''
trigger: trigger:
- entity_id: binary_sensor.portao_garagem_input - entity_id:
from: "on" - binary_sensor.portao_garagem_input
from: 'on'
platform: state platform: state
condition: condition:
- condition: or - condition: or
@@ -359,9 +360,9 @@
data: data:
message: luz desligada message: luz desligada
mode: single mode: single
- id: "1653728289950" - id: '1653728289950'
alias: Blinders - Let There be Light - Week End alias: Blinders - Let There be Light - Week End
description: "" description: ''
trigger: trigger:
- platform: time - platform: time
at: 09:00:00 at: 09:00:00

View File

@@ -25,6 +25,9 @@ google_assistant:
mqtt: !include mqtt.yaml mqtt: !include mqtt.yaml
zoneminder:
- host: 192.168.1.3:8443
notify: notify:
- name: Buttler - name: Buttler
platform: telegram platform: telegram

View File

@@ -1,4 +1,3 @@
- platform: season
- platform: integration - platform: integration
source: sensor.aquecimento_agua_watts_hoje source: sensor.aquecimento_agua_watts_hoje
name: energy_aqua_hoje name: energy_aqua_hoje