Hi there,
Being relatively new on Homeassistant, I’m still discovering the possibilities of this great tool. I’m running it on a RPI4 and I’m using it for home automation and energy monitoring.
One thing i can’t figure out is why the lights outside aren’t working anymore in the morning. I want them to go on at 5:00 and turn off 30 min. before sunrise. The automation used to work. Could anyone have a look at it and help me to the right direction?
Looking at tracing it seems there is a problem at midnight:
Triggered by the sunset with offset at 13 november 2023 om 16:52:47
Service “Licht: Aanzetten” aanroepen op “Buitenverlichting avond/ochtend”
(light.shellydimmer2_3c6105e3b0c6) turned on
(light.buitenverlichting_avond_ochtend) turned on
Show 3 more itemsWachten op 1 trigger
7 uur laterService “Licht: Uitzetten” aanroepen op “Buitenverlichting avond/ochtend”
(light.buitenlamp_voordeur) turned off
(light.buitenlamp_achtergevel) turned off
Show 3 more itemsConfirm the time is after 5:00 testen
Aborted at 14 november 2023 om 00:00:00 (runtime: 25633.07 seconds)
alias: "Buitenverlichting avond/ochtend aan "
alias: "Buitenverlichting avond/ochtend aan "
description: Buitenverlichting avond aan, nacht uit, ochtend aan
trigger:
- platform: sun
event: sunset
offset: "+30"
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id: light.buitenverlichting_avond_ochtend
- wait_for_trigger:
- platform: time
at: "00:00:00"
- service: light.turn_off
data: {}
target:
entity_id: light.buitenverlichting_avond_ochtend
- condition: time
after: "05:00:00"
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
- condition: sun
before: sunrise
- service: light.turn_on
data: {}
target:
entity_id: light.buitenverlichting_avond_ochtend
- wait_for_trigger:
- platform: sun
event: sunrise
offset: "-30"
- service: light.turn_off
data: {}
target:
entity_id: light.buitenverlichting_avond_ochtend
mode: single
Thanks in advance