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
Guest jrkalf
This is a basic script that should turn on the entrance hall light when the front door is opened. Only during the sunset period.
This part of the script is a combination of what I've gotten from an user (deraaij) in this forum and part of the standard buildingblocks scene builder.
The reason for posting this is, while I think the buildingblocks editor is nice, it's not matured just yet. The "sensor" bit for seeing whether or not the frontdoor sensor is triggered is in fact not even an option that works. It has to be scripted via lua script only. And the "sunset" script seems to be rather big as well. I don't think it's a super script and it could probably be a lot smaller, so I'm hoping that you guys could help me out to improve the script.
Please login or register to see this code.
Link to comment
Share on other sites
9 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.