"Deactivating" a scene on a timer (SOLVED)

I’m trying to assign a button on a scene controller to a Kwikset lock. The scene works when deactivated; however, if I unlock once, and then try to unlock again, it won’t work because the scene is already “active”. How do I deactivate the scene automatically, and after a time delay of, say, 5 seconds?

Here’s a link to a thread showing my short progress: LINK

Although the time is not the problem, it’s not yet apparent to me how to add a delay between commands in UI5.

[glow=green,2,300]Screen Shot[/glow]

I’ve tried using “ToggleState” in the Edit Scene → Advanced tab, but that didn’t work.

To add delays in UI5, first create the delays. Then select a delay from the list and add the commands that will be executed with this delay. Then select another delay and add the commands for that delay. See attached screenshots.

@mcvflorin, is UI5 now available for downloading or is this a VERA3 user? Mike

I’m using Vera 2 (as it says in my sig), but I’m not sure what this has to do with my original question.

Also, thanks, Florin, for answering the delay question. Any input on how to deactivate this scene? Ultimately, I just want the button press to act as a trigger so that it does something every time I push it, instead of only the first time.

A scene runs even if it’s active. Looking at the logs I can see the Z-Wave commands being sent even if the scene is active.

I noticed that last night while playing with another scene controller. There must be some other reason that the lock is not working that 2nd, 3rd, 4th time… I’ll look into it. This thread can be closed, it’s unnecessary.