What happens if you take the triggers outside the restrictions (and add them in as conditions instead)? Can’t see any other reason that would be giving you any issues.
I tend to make sure my TIME triggers are NOT indented. (Top level - extreme left)
My conditions I put inside that block. Something like this:
Every day between 5am and 6:59am
IF Motion Sensor's motion changes to active
and
Switch 11 is on
Then Turn on Switch 12
End IF
End Every
Every day at 7am
Then Turn off Switch 12 (no need for conditions here)
End Every
Every day between 5pm - 5:59pm
IF Motion Sensor's motion changes to active
and
Switch 11 is on
Then Turn on Switch 12
End IF
End Every
Every day at 6pm
Then Turn off Switch 12 (no need for conditions here)
End Every
Every day at 4:30am
IF Switch 10 is on
Then Turn on Switch 13
End IF
End Every
Every day at 6:45am
Then Turn off Switch 13 (no need for conditions here)
End Every
Every day at 7:15pm
IF Switch 10 is on
Then Turn on Switch 13
End IF
End Every
Every day at 8pm
Then Turn off Switch 13 (no need for conditions here)
End Every
Using this method totally removes all wait commands. (which is a good thing)
It also ensures the piston only runs 8 times a day. At the allotted time, it checks the conditions of the other device, and acts accordingly.
I have re-worked the structure in your piston to streamline it.
With this method, the piston will ONLY run 8 times a say, at the times listed. If one of the conditions is not true at the time, it skips that group of commands.
Be careful when importing this piston (gxfg)
because there are 5 devices that need to go in the right section. (you can use your old piston for reference)
If you are new to webCoRE, make sure you PAUSE your old piston to properly test this one. (so they don’t conflict)