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
Angelus 0
Hi, I've been using HC2 for about 10 years and while I'm not a programmer, I have gotten comfortable with HC2 over the years with all the great help and examples from this forum.
I recently moved to HC3 and the new way of writing LUA scenes really has thrown me in a loop. There may be a super obvious answer but I can't figure out how I can write a simple scene that does one set of actions on one condition and another set of actions on another condition.
For example, when scene is triggered through double click on a switch, I would like to turn on light1, light2 and light3 if lux value is < 60, else turn on light4, light5 and light6.
This was easily done in HC2 but i can't seem to get it to work in HC3. Been searching through the forums but I can't seem to find a starting point. Is there someone that can point me in the right direction to get started? Thanks!
Link to comment
Share on other sites
2 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.