HI , this is what I have. I thought I had the end time wrong at 1 hr so I changed it to -9 so in effect 1 hr after event started but that also didnāt work.
The event was set to start at 4.15am on the 15th and to end on the 15th at 5:15am I set this in the calendar on 14th at approx. 19:50 so to take into account the 15mins min before .
I also set -8 hours meaning it would trigger at 20:15 on the 14th ( 8 hours before ) and I hoped that the -9 would mean it would run the end event at 21:15 on the 14th , but it didnt .
Confused now as to why it didnt work, what am i doing wrong ā¦
trace it.
if no one else can see an error by just looking at the code, what iād do next is walk through the trace for when it was supposed to trigger. have you looked at automation traces before? iād find the time when it was supposed to trigger the end notification and follow what it did step by step.
I can help. It can be a bit tricky using offsets but I will try to explain.
You said your calendar event runs from 4:15am to 5:15am on the same day.
The Start = 4:15am
The End = 5:15am
To make it easy lets say we would like it to ON one hour before and turn OFF one hour after. Your offsets work from your calendar entry start and end times.
Start = 4:15am. If we make our āCalendar Start - Offsetā -1 then it will be 4:15 - 1 = 3:15am to turn ON.
End = 5:15am. If we make our āCalendar End - Offsetā 1 then it will be 5:15 + 1 = 6:15am to turn OFF.
Another end example;
End = 5:15am. If we make our āCalendar End - Offsetā -1 then it will be 5:15 - 1 = 4:15am to turn OFF.
So you need to look at your start and end of you actual calendar event to work your offsets. If your offset was 0 then it would turn ON at 4:15am and turn OFF at 5:15am
Thank you thatās one of the most helpful replies I have had on the forum , as you have taken the time to explain it ā¦ thank you so much as this really helped and now to worksā¦ Happy Days