This code was written to control a solenoid valve in order to manage the amount of time our show could be used.
More info can be found here: https://youtu.be/1Lek2_mfyv4 and here: https://adambyers.com/2017/05/shower-controller-manage-shower-length/