Problem
Sometimes, when power is lost and then restablished my smart things hub has this weird response of turning on lots of things (esp lights) the house.nb that it isn’t always the same things that get turned on but it is always more than 3 of them.
This is particularly frustrating as it can mean we return from holiday to find everything turned on and it’s been on half the time we have been away.
Piston solution
So id like a piston that if lights turn on when we are away and they arent triggered by motion (smarthome moitor armed away is set to use some to ‘alert with lights’ when motion detected) then turn off the lights.
I think that could look somethung like this:
IF alarm state is ARMED AWAY
AND
None of 5 motion sensors have detected motion in last 2 minutes
AND more than 3 of these 8 lights turn on.
THEN turn off those lights
Help needed
I’m new to webcore and although I’ve done super basic, single argument Piston, I can’t fathom what I need to do /click/select in webcore to group the logic above appropriately and build the piston.
Can you help ? Please