Equivalent of trigger: Whenever motion sensor is armed and detects motion?

Hi,

Did anyone try to make the equivalent to this trigger on openLuup with just variable watches? How can you have an and check for multiple variables (armed == 1 and motion == 1)?

Does the ALTUI LUA bit function as in a Vera scene where returning False would stop the rest of the scene execution?

Cheers Rene.

I’ve not tried exactly that, but I don’t see a problem with this.

Does the ALTUI LUA bit function as in a Vera scene where returning False would stop the rest of the scene execution?

Yes. Both in trigger code and in scene Lua.

Just tried it… my sensor has an Armed Tripped event and I set the trigger code up simply as ‘true’, as per the screenshot below. Tested and works just fine.

Lol, too easy :D. Thanks akbooer. one more moving over :wink:

Cheers Rene