At the moment i have 2 motion sensors in the bathroom, one that covers the room and door itself and one for the shower as the first sensor doesn’t cover the shower when the shower-curtain is closed.
The problem is that i have to have the motion kill the light after a long time of not detecting any motion if one is sitting on the toilet and no motion is detected for X amount of minutes and thought there might be a better way to handle this with a “gate” solution.
would it be possible to have a door sensor that activates the light immediately when being opened and if the motion sensor detects any motion within 5 seconds after the door is opened just keep the light on. But if the door is opened and no motion is detected within those 5 seconds i would assume no one is in the bathroom and kill the light after those 5 seconds.
Will this work or what has been your solutions? Have several places where it would be better to have a gated solution instead of simply relying on motion for X amount of time.
Have another room where I have two motion sensors just a meter apart and depending on the order of the sensors motion are being detected I calculate if they are coming or leaving a room, it’s a open space and hallway without any doors and this is the best solution I could come up with, of course its tricky when multiple peaple are in the room so i have delays and a Third-Eight motion sensor to make sure no other motion detecter is activated and things get complicated real fast.
Edit, Should mention that this is just a demo solution so far to test everything out as Im building a new home and if the building regulations passes not to have any switches in the house i need to make sure everything works as smoothly as possible in all scenarios.
interested to hear how you have solved room presence generally