Hi All
Holding off on the “video doorbell” no perfect solution yet so I thought this would be a nice alternative
I am trying to setup two motion sensors up the walkway in order to register people coming (Not going)
(Later I hope to setup IOS snapshot when sensor “B - Main Door” is triggered and even have a condition saying that when someone is home don’t send IOS message)
But one thing at a time…
Narrow walkway sensor A: binary_sensor.hue_outdoor_motion_sensor_1_motion
Main door sensor B: binary_sensor.hue_outdoor_motion_sensor_1_motion_2
Picture just to illustrate…
My problem is the triggers I need it to go “On” trigger A and in a timeframe of maybee 3 min? after I need trigger B to be “on” the order would keep this from triggering when someone leaves
I tried this but it doesn’t work, do I need a timer? (My initial thought was that the distance is very short so it would trigger them both in a short time?
################################################################################
# Automations notification for people approaching the front door (PHILUPS HUE) #
################################################################################
automation:
- alias: Front door movement
initial_state: 'on'
trigger:
# Garage sensor
- platform: state
entity_id: binary_sensor.hue_outdoor_motion_sensor_1_motion
to: 'on'
condition:
- condition: and
conditions:
# Only when Frontdoor sensor is on
- condition: state
entity_id: binary_sensor.hue_outdoor_motion_sensor_1_motion_2
state: 'on'
# Only when the adults are not home
- condition: and
conditions:
- condition: state
entity_id: sensor.henrik_presence
state: 'not_home'
- condition: and
conditions:
- condition: state
entity_id: sensor.nina_presence
state: 'not_home'
action:
- service: notify.ios_group_caspersen_home
data:
message: "Der er nogen på vej til hoveddøren? {{ states('sensor.time') }}"
title: "Home Assistant"
notify:
- name: ios_group_caspersen_home
platform: group
services:
- service: mobile_app_caspersensiphone7p
- service: mobile_app_ninas_iphone6s
1 post - 1 participant