Hi,
sorry but I’m new to HA (ioBroker user for now) and have a question regarding a simple automation.
I want an Alexa notification (Push and Text) when a window was opened for xx minutes.
So far no problem… But I want a notification too, when this window has been closed. But this “closed-notification” should only be activated, when the window was closed after it was opened for xx minutes.
This automation checks if a window sensor has been open for 30 seconds or more, then sends me a push notification to my phone. I dont have alexa, but I imagine with the alexa integration you can send a notify to that device in a similar way.
The script referenced at the end is what I actually do when the open window has been detected (in this case pause the heating), but you dont have to have it in a separate script, you could just perform the action in the actions section of the automation:
It can send you a notification when the window has been open for X minutes, repeat that reminder at a given interval (you could set that to 24 hours), and then send you a notification when the window is closed.