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
rsjabbens 1
Hello,
I have a script, found here, to set the time of day. This works fine, except that for the evening, in want to use 15 minutes before the sunset. I did try with blocks to take a look, and then convert to LUA, but i am not sure what to change.
Anyone who can help?
I have:
Please login or register to see this code.
And i found from converting a block to LUA:
Please login or register to see this code.
How can i use the 15 minutes offset, so that TimeOfDay is set to Evening, 15 minutes before sunset?
Can i use something like this:
Please login or register to see this code.
Any help is appreciated.
Thanks!
Regards,
Roland
Link to comment
Share on other sites
32 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.