Cross-posting from the Peer Assistance thread…thanks @calansvc for alerting me to this subforum.
Hi everyone…just starting out with CoRE and hoping you can help.
I’m trying to create a piston along the lines of the following. Excuse my pseudo code. I think a Latching piston with a group to handle the nested IF/ELSE IF statement will do the job but I’m having trouble wrapping my head around how Groups work in CoRE. Or maybe there’s a better way?
IF motion sensor active
IF (Mode is Home AND lux < 50) OR Mode is Evening Turn on Living Room light ELSE IF Mode is Night Turn on Living room light Set Light level to 15%
BUT IF motion sensor inactive for 10 mins
Turn off Living Room light