I know I using Home Assistant, but no one there can help me. Maybe, just maybe, someone here can. Or can give me an alternate route to accomplish the same thing.
In below youtube, I have removed all the other nodes and broke the flow down to the bare essentials.
-
On first line you will see me simulate a button press which adds 15 seconds to a HomeAssistant datetime helper I called test1.
-
On second line, the time node is waiting for test1 to expire. When it does, it adds 30 seconds to the a datetime helper I called test2.
-
On third line, the time node is now waiting for test2 to expire, which will happen in 30 seconds.
So far so good. But then here is where things go bad.
- After test2 expires, it adds 30 seconds to the time and tries to set test2 again. That is when you see the error and in the debug log it says "Date in past. Will never be fired". But that is NOT true. You can see the node triggered at 19:26, but on the left side of the screen in the other browser you can see the test2 time node is set for 19:27. Last time I checked, 19:27 is in the future, not in the past.
Everything is updated. I have tried a restart. I have tried deleting everything and restarting from scratch, it doesnt matter.
This flow is for a smart button I have next to my HVAC air filter. When I change the filter, I want to be alerted in 30 days to change the filter. And reminded every 24 hours thereafter until I do change it and press the button again, and then it goes back to waiting 30 days. So where youy see 15 seconds in the example would actually be set to 30 days, and where you see 30 seconds would actually be set to 1 day. Not shown in there as well is an alert that would be sent to my phone.