Ok. So I have a Wyze Motion Sensor outside of the bathroom to turn on the lights. That way by the time I am in the bathroom the lights are on.
I have a Wyze Contact Sensor on the door to the bathroom. I have it setup so when the bathroom door opens, the lights turn off after 2 minutes.
The Problem I am having, is that when someone walks near the bathroom, the lights go on and then don’t turn off until someone closes the bathroom door and opens it.
Ideally I would have it set up where motion turns on the lights and if the bathroom door doesn’t close within 5 minutes, the lights turn off, if it does, the lights stay on until the door opens again. Does anyone have any reccomendations on how to make this happen? I’ve tried built in rules, IFTTT and apilio, but can’t seem to make the logic work the way I want it too.
Any help/advice is appreciated!