Office control with button and presence sensor

I have one of the white mini switch buttons. I put it at the top of the door outside my office, which goes to a closet. The reason being is that when I enter my office, there are several automations that go into play. An Aqara motion sensor triggers the lights to come on in various other things in the room to turn on. When I leave my office and motion is not sensed for so many seconds, it turns everything off. But if I leave the office and want to turn it off immediately, I can just push the button when I reach the other side of the hall. That way, everything turns off when I want it, and I don’t go back in the office and re-trigger the motion sensor to turn anything off manually. StarterTips

3 Likes

@mr_ohaver Love this setup—simple “presence = on” plus a physical “kill switch” is one of the most practical ways to avoid re-triggering motion when you just want the room shut down.

If anyone wants to replicate it in Aqara Home, you can model it as two automations:

  1. Motion-based auto on/off
  • IF motion is detected → THEN turn on the lights/devices you want
  • IF no motion detected for X minutes → THEN turn off the light switch/devices (this is basically the same pattern as: “if the light switch is on and no motion for 3 minutes, then turn it off”)
  1. Button = immediate off
  • Use your mini switch button as the manual override: IF “click the button” → THEN turn off the same set of lights/devices. (Aqara switches commonly expose “Click the button (action)” as an automation trigger, which is handy for this kind of instant-off scene)

One extra refinement (if you ever run into edge cases): you can also mix in door/contact logic to temporarily disable the “no motion → turn off” automation during certain situations (Aqara shows this pattern with a contact sensor used to turn off/disable another automation).

This information comes from community discussions and user experience summaries and may vary by environment. Please verify carefully. Original post link: https://forum.aqara.com/

1 Like