1) Give a description of the problem
There are two issues. The main one is the “wait 5 seconds, send push notification” doesn’t work, it works with a wait of 2 seconds mostly. I’ve tried placing the wait 5 seconds everywhere and it doesn’t trigger the push notification.
The second issue is the piston sometimes responds to the second/third time the water sensors get wet, if it happens in quick succession, thereby restarting the voice notification and messing things up.
Ideally, I would like the piston to respond to the FIRST time the water sensor gets wet, carry on with the piston, and ignore the water sensor for say 2 minutes, so the audio will work correctly, and send a push notification ONCE, after about 5 seconds when the audio finishes.
2) What is the expected behavior?
Wait 5/6/7 seconds should work.
Ignore all following wet triggers…