Hello i believe that would be perfect if we have a timer as a separate feature in the app at scenes. It would be usefull also the timer to be triggered to start counting or reset the time. I will explain what I mean with an example for a case with an alarm by a door sensor.
If the door sensor opens start the timer counting.
If the timer is on when passed X secs trigger a device1.
If the door sensor closed turn off device1, disable scene 1, reset timer.
This could solve many problems that need the delay on feature which is mentioned in many users applications.
I think “olisto” has a similar feature.
It would be perfect to discuss how to improve the idea.
I want to create a scene with the delay feature. The delay however has to be in the IF condition not in the action. Like for example.
If device is ON for more than 10 seconds trigger a push notification. In this case the trigger is done only if both conditions are met.
I used what you recommended, i.e doing the delay in the action. However this is not the feature required.
In the case you suggested the push notification is actioned once there is a change in the IF condition and after the delay in action. However if the IF condition becomes to the previous state the push notification is still received.
The feature I am asking is like a time monitor of a contact status. I want to receive a push notification if the status of the contact is on or off for a time period. If not, the push notification is not shall not be actioned.
Thanks for taking this into consideration. I would name this a contact status time monitor.
I will use this application using the sonoff mini input contact. Like for example, if I wire a push button to the input mini and want to monitor the timing. If it is longer than 5 seconds then send me an alarm, which means that something is abnormal. There can be other applications.