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

Question

Posted

Hi,

 

I am trying to every 15min check if my motion sensor has NOT been breached during the last 60s. If so turn of the light. The block scene that I created seem to "every 15min" check "if Motion is not equal Breached during the next 60s". I want it to check if it has not been breached during the last 15min. Can this be expressed?

 

Please login or register to see this image.

/monthly_2018_08/image.png.49ed233fdb5dd1b2ff7606372c18b2a3.png" alt="image.png.49ed233fdb5dd1b2ff7606372c18b2a3.png" />

3 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, CWestermark said:

Hi,

 

I am trying to every 15min check if my motion sensor has NOT been breached during the last 60s. If so turn of the light. The block scene that I created seem to "every 15min" check "if Motion is not equal Breached during the next 60s". I want it to check if it has not been breached during the last 15min. Can this be expressed?

 

Please login or register to see this link.

Hello,

I have a similar scene which I can share but it works differently from yours.

My scene triggers when motion is detected and switches the kitchen lights on and then enters a wait.  During this wait, it checks for further triggers and if by the end of the wait (or loop) and no further triggers then turns the lights out.

Let me know if this is what you'd want, it is a LUA script but that should be ok as I see you have the HC2 like me.

 

  • 0
  • Inquirer
  • Posted
    10 hours ago, ianakapilotlight said:

    Hello,

    I have a similar scene which I can share but it works differently from yours.

    My scene triggers when motion is detected and switches the kitchen lights on and then enters a wait.  During this wait, it checks for further triggers and if by the end of the wait (or loop) and no further triggers then turns the lights out.

    Let me know if this is what you'd want, it is a LUA script but that should be ok as I see you have the HC2 like me.

     

     

    Hi ianakapilotlight,

     

    yes, please share the script and thanks a lot for the offer.

     

    Have a nice day

    /Christian

    • 0
    Posted

    You will need to customise this according to your controller and I've added comments to the code which also highlights the values you need to change.  Hope that helps

    Please login or register to see this code.

     

    • Like 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...