Hi everyone, how can I get started with a piston that will do the following:
- Between sunset and 7am
– If illuminance is too low AND there is motion
— Activate Scene_A
– Or else if illumance is high enough OR there’s no motion
— Activate Scene_C - Between 7:01 and 1 hour after sunset
– if illuminance is too low AND there is motion
— Activate Scene_B (Fade in over 5 minutes)
– Or else is illumance is high enough OR there’s no motion
— Activate Scene_C
I tried a switch statement with all kinds of nested If’s and Else’s. I can’t get anything to work.