Why is it so hard to automate the bathroom?

@rontalley…I have a very similar piston running in my bathroom. I don’t have your first “if” block, but I do have the other three…almost identical except I don’t have the async commands.

I understand that the piston will run from top to bottom whenever a trigger is identified. This does not seem to be a problem since the 3 blocks are mutually exclusive.

So I am curious as to why you included the async?

Ok. That’s very generous of you. Can you point me to an introduction to webcore? I clearly don’t have a clear idea of what it is. Thanks so much for sticking with me on this.
Dick

Right, synchronous means that it will run from top to bottom. However the blocks are not necessarily mutually exclusive…By setting each block to asynchronous ensures that each block is exclusive and the Piston doesn’t start from top to bottom but evaluates each block on its on merit.

This is especially true when using “wait” commands, which I hardly use anymore for various reasons. If there is a wait and that block is set to synchronous then all bets are off for anything below until the wait period is over.

https://www.webcore.co/

I’ve watched a few videos in WebCoRE. I’ve gotten it installed. I think maybe I can follow your instructions below. I’ll let you know and thanks for your help.

Dick

Webcore has its own community forum which is very active and has people who are willing to help. You can post any questions you have there and I am sure someone will help you. There is a category devoted to Piston:Design Help.