Disarm Safety Monitor on movement for x min during night

You could do this with a rule, though you'd have to find one that works for you. Maybe something like:

Trigger: Bedroom Motion Sensor Active

Actions:

IF (Time is between 7:00 and 8:00 AM) THEN
  Wait for events: Front Door Contact Sensor opened --> timeout 0:05:00
  IF (Front Door Contact Sensor open AND HSM Mode is Armed-Night) THEN
    Set HSM Status to Disarmed
    Delay 0:05:00
    Set HSM Status to Armed-Home
  END-IF
END-IF

I didn't think this through 100%, but something like that should be pretty close. :slight_smile: I'd pick a motion sensor that you think should be active within a few minutes of the door opening (in my house, I'd pick the one at the top of the stairs under the assumption that I'd be up there and go downtairs shortly before leaving). I'd also restrict it to a certain timeframe when you'd normally leave (I said 7-8 AM here, but you could make this even narrower). There is some room for problems here: if you happen to have created motion on the sensor during this particular time and someone breaks down your front door, then...everything in this rule would disarm HSM. Unlikely, probably, but without some manual way to disarm like a keypad, I think you're going to have something like that no matter how you do it (but you can make it less likely to happen by picking a good motion sensor and limiting the timeframe). Perhaps others will have better ideas.

I have a few of the new Sonoff Zigbee devices, and all work well for me (though I don't have this particular sensor). They aren't officially supported; you'll need a community driver, like Xiaomi. Unlike Xiaomi, I haven't seen any reports of these being picky about your Zigbee network (Xiaomi are well known to be picky--see this thread if you haven't already). My guess is they will work well. But you can also read that thread for ways to make your network more Xiaomi-friendly if you haven't already and don't want to replace your sensors.

1 Like