1) Give a description of the problem
I have a number of pistons running that provide audible alerts or announcements. For example, if the patio doors are open for x minutes, and the temperature outside is higher than inside, then I want it to let me know every x minutes. It sends both a push notification as well as speaking thru a speaker.
I am trying to figure out a good way to be able to be able to mute the audible alerts without killing the piston from running.
2) What is the expected behavior?
Thinking maybe a device based on a simulated multi-button where I could bring up the device and choose “Mute 10 minutes”, “Mute 30 minutes”, “Mute 60 minutes”, “Mute this event”, “Cancel Mute”
I think I can figure out the piston work - would probably set up a piston that reacts to this device events and updates a couple of global variables that any piston that has an alert would be able to check each alert cycle to see if it should mute and for how long.
Would this be a good way to go? Looking for advice, see if anyone has done this before…