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

Triggers and Lux condition not behaving as expected


MattyO
 Share

Question

Can I get some help on this one please. I don't understand why my conditions are not working. 

The setup that I want is. 

If the light is under 10 lux and either the motion sensor detects or the Garage door opens. then the lights turn on.

But what is happening at the moment is, the sensor is behaving as expected. i.e if the light is above 10 lux the sensor won't trigger but if it is bellow it will. But if the garage door opens it triggers no mater what the lux.

 

Any help would be greatly appreciated. 

Scene attached. Thanks 

Please login or register to see this attachment.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • I’m sorry that has confused me. What are you saying I should change. 

    Do you mean switch the order 

    so sensor or garage and motion?

    Link to comment
    Share on other sites

    • 0
    2 hours ago, MattyO said:

    If the light is under 10 lux and either the motion sensor detects or the Garage door opens. then the lights turn on.

    if (l AND m) OR d

    that's what you wrote above. 

     

    but according to your block I can see 

    (l AND m OR d) 

     

    PS:

    l - lux

    m - motion

    d - door

     

    Link to comment
    Share on other sites

    • 0
    3 hours ago, MattyO said:

    If the light is under 10 lux and either the motion sensor detects or the Garage door opens. then the lights turn on.

    stop! 

     

    if the light is under 10 lux AND (either the motion sensor detects OR the Garage door opens) THEN the lights turn on.

     

    so, 

    (

    l AND (m OR d)

    )

     

    please define your requirements clearly 

    Please login or register to see this image.

    /monthly_2018_11/image.png.1b15e0dce484777e9e9795e9db7a3cfc.png" />

     

     

    Edited by 10der
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Thank you so much I have been using block scenes for nearly a year and never realised that the () were so important. What fool. 

    You have opened my eyes.

    Cheers Matty O

    Link to comment
    Share on other sites

    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.

     Share

    ×
    ×
    • Create New...