scene help

I have a vera3 lite, a 4in1 aeon sensor and a aeon light switch.
I have 3 scenes setup.
Scene1 - When motion sensor is tripped, turn on light (I have luup code for night time only)
Scene 2 - When no motion is detected, turn off light
Scene 3 -When light is turned on, turn off in 5 minutes.

At night, if I run Scene 1 from the dashboard the light is turned (the motion sensor was already tripped)
If I then run scene 2, the ligth turns off, even though the motion sensor is showing activity.
If I run scene 3, the light stays on.

The first trigger of the motion sensor at night works and the light comes on, from there the light turns off after 5 minutes, but then the light won’t come on.

If anybody a better way for me to run the scenes, please let me know.

Thanks.

To give you a start ( I am also fairly new) , but I would start ( and try) by:

-1 scene
-trigger : when the sensor is tripped
-lights on
-delay 5 minutes
-lights off
-insert the night “luup code” in the LUUP tab of that scene.

I think that should basically work.

Cor

Thanks for the suggestion. I went back to the two scenes. On and off and didn’t worry about the 5 minute delay. Seems to be working better.