Außenbeleuchtung: Haustürbeleuchtung ein-/ausschalten
Schaltet bei Bewegung/Türöffnung die Haustürbeleuchtung für 2 Minuten ein. Timer wird bei erneuter Bewegung zurückgesetzt. Sonnenaufgang als Safety-Net.
Entitäten:light.wegbeleuchtungsensor.bewegungsmelder_beleuchtungsstarke
So funktioniert diese Automation
Schritt 1
Auslöser
- Gerät
opened
- Gerät
motion
- Gerät
human
- Gerät
vehicle
- Sonnenstand
Sonnenaufgang
Schritt 2
Bedingungen
- ODER-Verknüpfung
Schritt 3
Aktionen
Verzweigung
Wenn: Trigger-ID: bewegung
Aktion
Aktion
Licht einschalten
wegbeleuchtung
Warte 2 Min.
Aktion
Aktion
Licht ausschalten
wegbeleuchtung
Wenn: Trigger-ID: sonnenaufgang
Aktion
Aktion
Licht ausschalten
wegbeleuchtung
Außenbeleuchtung: Haustürbeleuchtung ein-/ausschalten
# Entity-IDs sind anonymisiert. Ersetze sie durch deine eigenen.
# Beispiel: light.dein_wohnzimmer_licht -> light.wohnzimmer_deckenlampe
alias: 'Außenbeleuchtung: Haustürbeleuchtung ein-/ausschalten'
description: Schaltet bei Bewegung/Türöffnung die Haustürbeleuchtung für 2 Minuten ein. Timer wird bei erneuter Bewegung zurückgesetzt.
Sonnenaufgang als Safety-Net.
mode: restart
trigger:
- type: opened
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: binary_sensor
platform: device
id: bewegung
- type: motion
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: binary_sensor
platform: device
id: bewegung
- device_id: DEIN_GERAET_ID
domain: netatmo
entity_id: DEIN_GERAET_ID
type: human
platform: device
id: bewegung
- device_id: DEIN_GERAET_ID
domain: netatmo
entity_id: DEIN_GERAET_ID
type: vehicle
platform: device
id: bewegung
- platform: sun
event: sunrise
id: sonnenaufgang
condition:
- condition: or
conditions:
- condition: trigger
id:
- sonnenaufgang
- condition: numeric_state
entity_id: sensor.bewegungsmelder_beleuchtungsstarke
attribute: light_level
below: 60
action:
- choose:
- conditions:
- condition: trigger
id:
- bewegung
sequence:
- type: turn_on
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: light
brightness_pct: 100
- type: turn_on
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: light
brightness_pct: 100
- action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.wegbeleuchtung
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- type: turn_off
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: light
- type: turn_off
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: light
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.wegbeleuchtung
- conditions:
- condition: trigger
id:
- sonnenaufgang
sequence:
- type: turn_off
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: light
- type: turn_off
device_id: DEIN_GERAET_ID
entity_id: DEIN_GERAET_ID
domain: light
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.wegbeleuchtung
