Aeon Labs MultiSensor night time motion sensor

I have a Vera 3 with a Aeon Labs Multisensor (not the latest one with vibration sensor but the 4 -in-1 before that). I have it set up so my outside lights come on at dusk at a low level and that works fine. However I’m also trying to create a scene so that any motion increases the light level for 5 minutes but only at night. When I go into UI7 and do two triggers, light level less than 30 lux and motion, it’s a logical OR function and not AND. IE if the light level is below 30 or motion it goes on. Is there a way to simply create a scene so it has to have both triggers or do I need to learn LUUP?

Many thanks in advance

Look at conditional scene examples if you want to do it in LUA code. Or look at the Program Logic Event Generator.

Either solution will allow you to do the AND logic for triggers

So there is no simple way to do it with UI7? Is it worth spending the time to learn LUA?

Thank you

It is fairly easy to add the LUA to a scene to do it. Neither UI5 or UI7 support AND natively.

See http://forum.micasaverde.com/index.php/topic,18679.0.html for examples.

I do exactly this in pleg. Will try and post the starts this evening.
Lights come on at sunset at 30 %.
Motion sets the light to full at night per day night plugin.
After motion they go back to 30% if time between dusk and 11pm. If after 11pm they go off.

wmshad,

Here you go. Its not the neatest, I have multiple light on conditions, and could probably do them in 1 with more complex conditions, and if someone turns them on by mistake during the day, I need to set a condition for that, but hopefully its a good start for you. I also have a virtual Party mode switch that if on, stops the lights turning off at the end of the evening.