Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Delay the extinguishing of "x" sec/min of a light after closing the door


Question

Posted

Hi everyone, changing from HC2 to HC3 I found myself having to face this problem.

With the block scheme and a variable I managed to turn on a light to the opening of the door. What I miss is after closing the door, being able to delay with a timer off.

I attach the block scheme to be copied by this forum.

Thanks

Please login or register to see this attachment.

9 answers to this question

Recommended Posts

  • 0
Posted

You need to have an additional device on the action side and include the delay. See my example below

 

Please login or register to see this image.

/monthly_2024_08/image.png.f08b42ef7057555811925c52d6ed6674.png" />

  • Thanks 1
  • 0
  • Inquirer
  • Posted

    but where can I find the set delay option? I don't see it in the devices.

    • 0
    Posted

    It is in the upper right corner

     

    Please login or register to see this image.

    /monthly_2024_08/image.png.b83e38bc836a008f12ac609f301c0d75.png" />

    • Thanks 1
    • 0
  • Inquirer
  • Posted

    damn it works now sorry...🤭

    • 0
  • Inquirer
  • Posted

    as I wrote before now the timer works perfectly, however now the light turns off when the value set in the timer is reached even if the door is open. Is there a solution?

    • 0
    Posted

    Probably need a separate scene that includes a condition (Left hand side) that the door sensor is closed

    • Thanks 1
    • 0
    Posted

    You could also use a LUA code I posted overhere:

     

     

     

    It is meant for motion, but ofcourse can also be used with a door/window sensor. It turns your light on if the door is opened, the light stays on if the door stays open and the light goes off n seconds after the door is closed. 

     

    • 0
  • Inquirer
  • Posted (edited)
    13 hours ago, MAC71 said:

    Probably need a separate scene that includes a condition (Left hand side) that the door sensor is closed

    So, the scene that manages the sunset works but despite the second scene with the open door it still turns off.

    Probably in this case too I'm doing something wrong....

    Please login or register to see this attachment.

    Please login or register to see this attachment.

     

    21 minutes ago, SmartHomeEddy said:

    You could also use a LUA code I posted overhere:

     

     

     

    It is meant for motion, but ofcourse can also be used with a door/window sensor. It turns your light on if the door is opened, the light stays on if the door stays open and the light goes off n seconds after the door is closed. 

     

    Oh damn, but unfortunately I just migrated from hc2 to hc3 and the history of the declaration and action is still not very clear to me.😔

    Edited by GasDeKu
    • 0
    Posted

    You can learn about the declaration and action by making a blockscene (or use an existing one) and turn it into a Lua scene. 


    Please login or register to see this image.

    /monthly_2024_08/image.png.35a48bdc9967231341e1ab120d2df695.png" />

     

    You can see the Lua translation. (You don’t have to throw the scene away, just disable it and save it for your next adventure)

     

    • Thanks 1

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...