How to replace the SmartApp "Left it Open" to control all the open close sensors in the house with 3 automations and 1 virtual Device

You can also create routines for “Left it Open” with Several door or Windows using Timer of Seconds virtual device.

  • Create a Virtual Timer of Seconds device with Aplicaciones Virtuales Mc driver

  • Set the timer to the desired time to resend the door open reminder notification, for example 120 sec
  • Set timer type Permanent Value
  • Set number of loops to value = 0 (infinite loops)

  • Perform 3 routines:
    • 1st Routine
      IF:

      • Door X is open for 2 minutes
        OR
      • Door Y is open for 2 minutes
        THEN:
      • Timer 120 sec: Restart Timer (push)
    • 2nd Routine
      IF:

    • Condition: Timer 120 sec = On
      THEN:

    • Send notification: Any door X,Y open more than 2 minutes

    • 3rd Routine
      IF:

    • Timer 120 sec = On
      AND

    • Door X is closed
      AND

    • Door Y is closed
      THEN:

    • Timer 120 sec = Off

    • Send notification: All doors X,Y closed

3 Likes