Bathroom Open/Close Sensor for Shower Door - SmartApps
So I was sort of disappointed in the smartthings humidity sensor as I had a significant amount of help crafting an app that would run a series of events based upon my shower turning on (and the humidity rising). So I sort of started over with the idea of triggering sequences based upon the open/closed state of the shower. Based on what I have written (thus far), the lights trigger when I open/close the shower door. What I am looking for is the following: To disable my bathroom motion sensor for a period of 30 minutes when the door is closed. If the shower door is left open for more than 10 seconds, restore the ability to use the motion sensor and turn off the shower light (light one when the door closes again). This covers any scenario whereby the user opens the door not intending to take a shower to NOT trigger the light sequence upon closing the door. Anyway, this is what I have thus far. /** * Lights Off, When Closed * * Author: SmartThings */ definition( name: "T...