Handling multiple pistons with the same trigger

execution
piston

#1

Hi all,
Been a while since I’ve posted here, mainly as everything is running reasonably well and I found most new threads were repeats of older ones. I am sure I am about to commit the sin of starting a new thread on a subject already discussed, but here goes.

I am getting a lot of piston waited at a semaphore in my logs across a number of my pistons. I’ve tried simply telling WebCoRE to run pistons in parallel, but it’s not helped. I could use some advice on the best setups, I have numbers of pistons which are triggered by the same devices.

Cheers all.


#2

Parallelism isn’t like that. It’s not running differerent pistons at the same time. It’s running more than one copy of the same piston at the same time. If you have two pistons that have the same trigger, they will execute at the same time.
As far as the semiphores go… I’ve been seeing that a lot too. You can cut down on your device variables and reclean the app (the the settings in the ST app). Both of those should help.