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

Question
Greenhippo 5
Hello all,
It's my first post! New Fibaro user. I have an HCL and have been building some automation, using block scenes. Please can you help me figure out this situation?
1) A global variable "IsDark" has values 0 and 1.
2) A scene "IsDark Sunrise" runs continuously and sets IsDark=0 at sunrise.
3) A scene "IsDark Sunset" runs continuously and sets IsDark=1 at sunset.
4) A scene called "Front Door Opened" is triggered by the front door opening. It sends a push notification and then executes another scene called "Lights on when dark".
All of this seems to work fine... The value of IsDark changes at the correct time of day and the push notification is received when the front door opens. All good so far.
BUT:
5) The scene "Lights on when dark" is only called by the "Front Door Opened" scene, no triggers, it shouldn't run at any other time. The purpose of this scene is "if IsDark=1, then turn on some lights [else do nothing]".
But I find that the lights turn on every time I open the door, regardless of the IsDark value. The "If" in the scene "Lights on when dark" is completely ignored, the lights always turn on.
Please login or register to see this image.
/monthly_2018_12/image.png.c57ba6bc9fc2545cadda0b5154472201.png" alt="image.png.c57ba6bc9fc2545cadda0b5154472201.png" />As you see, I added IsDark2 (a Predefined variable) as an experiment to see if it makes any difference.
Please can somebody tell me why this scene ignores the variable and ALWAYS turns the lights on regardless of whether IsDark and IsDark2 are set to 0 or 1?
I'm sure I am missing something obvious.
Many thanks!!!!
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.