I still can’t understand how to distinguish AND OR and how to create BUT IF
Another bathroom (Robin did for me the first webCoRe piston for the Main bathroom THANK YOU !), and this time I like to do it my self. Before I used CoRe and created separate pistons for the Light and Fan.
I presume it should be possible to have it all in one piston so trying to do it now.
Plan is to have the bathroom light turn ON on motion, and after 3 minutes of no motion OFF
BUT IF the shower door closes, motion sensor will be disabled light will go to 100%, fan will turn ON
(Both Light and Fan will be on 30 min timer OFF if the door stays closed , ideally the light will resume ON/OFF function using the motion sensor if the shower door stays closed)
Once the shower door opens, motion light resumes its function on previous intensity level (didn’t find way to incorporate that in my attempt) and fan will turn off after 7 minutes
Well, it was complicated to describe not to mention create the piston that would work
Below is my attempt