Bedroom bulbs and motion sensor

Two lamps in our bedroom with a motion sensor, and Alexa. Love when we walk into the bedroom at night, lights come on. Using light automation.


  • One of us goes to sleep, another walks through the room, both bulb turn on.
  • Laying in bed, lights go off

Suggestions/experiences on how MBR are setup?

There are a bunch of threads on this issue. Bedrooms are really complicated.

To see what other people have done, go to the quick browse lists in the community – created wiki, look down near the bottom of the page for the “project reports “section and then look down near the bottom of that section for the reports by room. Choose the “bedroom” list and you should find several existing threads on exactly this topic. :sunglasses:


Did you have a sleep number bed?
If yes, you can use the custom integration to create a presence sensor for when you are in bed. That sensor can be used in your automations.

If you don’t have one, ignore me and did what JD said.


@Spartysh32… While that ^^^^ is very true, you may want to consider adding a light strip under the bed and have the lamps restricted by modes. When we go to bed, the home goes into “night” mode, so the lamps don’t come on if someone walks around. Instead, the under the bed strip comes on so that the person who walks can see in the room, without disturbing the other.


I haven’t been using modes yet, but it’s getting to that point. I did see a thread in JDs post about automatically timing modes, which could be easier to manage. Also planning an Ikea run, partly to pick up some action buttons.


You’ve mentioned Alexa, which is what we use, often to change the mode. Automatically switching to night mode on time is tricky because we are not robots and don’t go to sleep on set timer. Other methods of switching modes are based on motion sensors and buttons/light switches like you mentioned.

I also have a couple of automations where I say to Alexa “I’m taking a nap” or “It’s time for bed”

it turns off my automations kill switch in the bedroom so no announcements are made and the lights stay off. Works great for naps and the such.


I agree with this tactic. Fo many of my applications, I’ve created virtual switches that, when turned on, defeat all room-related automations. Because they’re virtual/simulated switches, they can fire off Alexa routines or webCoRe pistons to do just about anything.


Yeah, I have a virtual automation kill switch for every room of the house and for some automations that I do not want happening. Like if there are a lot of people over and the doors are being opened a lot, I just tell Alexa to stop the door notifications and they stop for 2 hours.


I have a physical switch on each floor that if turned on cancels lights turning off and then when the motion is active again, it reminds people, once every 30 minutes, that automation is off, so they need to use those white boxes on the wall to turn the lights off :slight_smile:

1 Like

I have a similar solution. I have a virtual switch called “override” that has to be off for all motion and door activated automations to work. I then have an Alexa custom skill to turn override on when I take a nap or one of us goes to bed first. And Alexa can turn override on and off when directed. All mode changes turn override off. When we are away and dog sitters arrive I also turn on override so they don’t freak out. I have a few manual Aeon buttons lying around to activate or deactivate override. Mode is announced using Big Talker to my built in house speakers tied to a Sonos Connect.

1 Like

Can I ask what brands you used (motion sensor/led lights/plug or switch)for this?

Sure, I use Iris v2 motion sensors (one in the room and one under the bed), GE Zigbee Dimmer for ceiling lights, Hue bulbs for bed side lamps and Hue strips for under the bed.

Long day at work, but I’m missing the need for the motion sensor under the bed?

To avoid turning the lights on when you are tossing in the bed…