Great question! I am going to make a video this week on how to do this when setting up automations. I also talk about it in this videoth-cam.com/video/-LG_QySCHi0/w-d-xo.html Basically you create two automations. Automation 1 is, door open or motion sensor detects motion, light turns on. Automation 2, door closed AND motion sensor does not detect motion for "x" amount of time, light turns off. If you don't have a motion sensor in that room then you just don't create automation 2. You would have one that turns on the light when the contact sensor (door) opens and nothing when it closes. You could set a delay on the contact sensor as well. Let's say the sensor is closed for 5 minutes THEN turn off the light. This might get annoying though since it could trigger when you are still in the room. I planned to walk through this exact automation in a video this week!
@@IntelliHomes Yeah, I was thinking you could fix it with a motion detector...but if you are using one of those, why use a door sensor. I'm not going to use door sensors. They look like a DIY add-on and I want the seamless look.
In some places they make sense. I have a pantry and it makes sense to have the light turn on when it opens, and the light turn off when it closes. Another place it does make sense for me is the door from my house to garage. Unless I wanted 3 or even 4 motion sensors in my garage. I can put a contact sensor on the door so the light turns on when I go in the garage and the light stays on through motion. I know what you mean though, in some cases it just doesn't make sense.
You could set up an automation (going to the bathroom is a great example) that when the sensor detects motion, the sensor turns on the light. You then close the door and do you thing. If the sensor stops detecting no motion, the lights will stay on because the door is closed. When you are done doing your thing, you open the door and leave. When the motion detector does not detect any motion for a certain amount of time the lights will turn off.
Hey, your contents are great and keep the good job.
The viewers will come!
Thank you! Glad to hear you like it!
Hey mate, great to see a new smart home channel, just subscribed
Thank you so much! It means a lot
What happens when you open a door with a sensor that turns on the light...walk into the room...and close the door?
Great question! I am going to make a video this week on how to do this when setting up automations. I also talk about it in this videoth-cam.com/video/-LG_QySCHi0/w-d-xo.html
Basically you create two automations. Automation 1 is, door open or motion sensor detects motion, light turns on. Automation 2, door closed AND motion sensor does not detect motion for "x" amount of time, light turns off. If you don't have a motion sensor in that room then you just don't create automation 2. You would have one that turns on the light when the contact sensor (door) opens and nothing when it closes. You could set a delay on the contact sensor as well. Let's say the sensor is closed for 5 minutes THEN turn off the light. This might get annoying though since it could trigger when you are still in the room. I planned to walk through this exact automation in a video this week!
@@IntelliHomes Yeah, I was thinking you could fix it with a motion detector...but if you are using one of those, why use a door sensor. I'm not going to use door sensors. They look like a DIY add-on and I want the seamless look.
In some places they make sense. I have a pantry and it makes sense to have the light turn on when it opens, and the light turn off when it closes. Another place it does make sense for me is the door from my house to garage. Unless I wanted 3 or even 4 motion sensors in my garage. I can put a contact sensor on the door so the light turns on when I go in the garage and the light stays on through motion. I know what you mean though, in some cases it just doesn't make sense.
You could set up an automation (going to the bathroom is a great example) that when the sensor detects motion, the sensor turns on the light. You then close the door and do you thing. If the sensor stops detecting no motion, the lights will stay on because the door is closed. When you are done doing your thing, you open the door and leave. When the motion detector does not detect any motion for a certain amount of time the lights will turn off.
@@mgpauly6888 that’s a good idea