Is it possible to set different delay/pending times for different sensors ? In other words, if you walk in the front door, allow 30 seconds to disarm before triggering. But if basement window opens, trigger right away.
1 Like
Bump. Anyone have any suggestions ?
would be a great addition! something like the ability to create zones with different delays and pending times would be nice.
As another workaround wouldn’t this already be possible by using your trigger automation and if the trigger is e.g. a window sensor, or if it is not your entrance motion sensor, instead of setting the control panel to triggered set it to eg. armed_custom_bypass first and then triggering it?
Then armed_custom_bypass would just have no delay and no pending time?
hi guys, I solved that
input_number:
timer_ritardo_ingresso:
name: Minuti accensione mattina
min: 15
max: 120
initial: 60
mode: box
icon: mdi:timer
automation:
- alias: "Ingresso ritardato armed away "
initial_state: 'on'
hide_entity: true
trigger:
- platform: state
from: 'off'
to: 'on'
entity_id: binary_sensor.porta_ingresso
condition:
- condition: state
entity_id: alarm_control_panel.allarme_casa
state: armed_away
action:
- service: tts.google_say
entity_id: media_player.tutta_la_casa
data:
message: "Hai 60 secondi per disattivare l'allarme "
- delay:
seconds: "{{ states('input_number.timer_ritardo_ingresso')|round(0) }}"
- condition: state
entity_id: alarm_control_panel.allarme_casa
state: armed_away
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.allarme_casa
- service: notify.telegram
data:
title: '*Allarme Casa*'
message: 'Allarme intrusione, violata porta di ingresso.'
- service: notify.ios_iphone_di_marika
data:
title: 'Casa Domotica'
message: 'Allarme intrusione, violata porta di ingresso.'
data:
subtitle: 'Allarme Casa'
2 Likes