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
Juanjo 1
Hi!
I have been trying to migrate a very simple VD from my HC2 to my new HC3 but the truth is that I am having a hard time understanding the new operation of the QA. The VD have one ON button and another OFF, to activate and deactivate some scenes and to change the VD icon (to know if it is activated or not).
Here you can see it:
Please login or register to see this image.
/monthly_2021_03/247803022_Capturadepantalla2021-03-07alas18_56_13.png.a34f924adffd91313c835ecc6020185a.png" />And for each button this is the LUA code:
As you can see is very very simple:
- If push ON button: scenes enabled and icon in color
- If push OFF button: scenes disabled and icon in grey
This is the QA that I'm trying to create, but the truth is that it does not work and I think I am not doing it well. The code is only for button ON, OFF is easy when other work:
Please login or register to see this attachment.
The code is this:
These are the errors it shows me:
Could you help me to see if I'm on the right track or I'm completely wrong?
Of course, icon settings are missing because I haven't been able to find how to set them.
Thanks a lot!
Link to comment
Share on other sites
4 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.