Meross smart door garage idea

Hi everyone,

I just created a flow, but it’s not working exactly as I want. Here’s the idea: when the garage door opens at night, the light should turn on and stay on for 5 minutes after the garage door closes.

The smart devices I’m using are:

  1. Meross smart garage door (HomeKit version)
  2. Generic Matter smart plug
  3. Non-smart LED strip connected to the plug

The flow is working fine so far, but the problem is that the light turns off immediately when the door closes, leaving me in the dark.

Does anyone know how I can make the light stay on for 5 minutes after the door closes? Could you suggest a card or prompt to add a delay to the light?

Thanks in advance!

Use a ‘wait 5 min’-card between ‘door closed’ and ‘turn off light’

Consider using a ‘it is dark’card between ‘door opened’ an ‘turn on light’

2 Likes

Instead of using an internal delay flow card, I recommend using a timer app.
The advantage of timer apps is that it’s possible to stop the timer, e.g. if the garage door is opened again within the 5-minute delay. This is not possible with the internal delay card!

Example (internal delay card):

  1. Garage door is opened → light is switched on
  2. Garage door is closed → 5-minute delay is started
  3. 4 minutes later, the garage door is opened again → the light will be switched off after 1 minute, even though the garage door is open

This is an example using the Chronograph app:

I also included Wim’s suggestion that the light should only be switched on when it is dark.
To do this, I used the internal “Date & Time” flow cards, which refer to sunrise and sunset. Of course, you can also use a light sensor as a reference.

You don’t necessarily have to use the Chronograph app, it should also be possible with other apps, such as the CountDown or FlowBits app.

Ah!!

I got the idea

Thank you so much :folded_hands:t2::folded_hands:t2::folded_hands:t2::folded_hands:t2::folded_hands:t2: