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
hvb83 1
I have the following code, through which I'm trying to make a LED-strip in the kitchen switch on and off based on a schedule.
In this case it should switch on every Saturday and Sunday at 7h30 and go through a series of colors based on timers. Since I want to be able to override it manually, this seemed the easiest solution to me.
Please login or register to see this code.
Initially this worked without having the second time-check in (8h), but since I wanted to prevent the rule from starting also when I restart HC2 during the middle of the day, I build in an extra check to make sure that the timer will only start if it's between 7h30 and 8h.
And after that, it's not working anymore. It always states the if-statement is not true, even if it should be true. What am I doing wrong here?
10 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.