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
MDC 78
Hello all,
I use some VD made by expert members like @AutoFrank, @Sankotronic and others, an today i try some tests so i can understand how they made this LUA VD so great.
I'm beginner in LUA so please be gentle whit me, i just want to learn.
I start understand LUA but i have some question.
Now i play whit SONOS VD, and i have 3 buttons on same line, they have id 7. I try to call them in LUA but i can't call button 2 and 3....i have no idea how to use their ID...or how to find their ID.
For call button 1 (play) is use:
fibaro:call(1334, "pressButton", "7")
fibaro:debug("play!")
AND SONONS play!
But how to use rest of buttons, for example stop and mute, both on same line...
I really want to make my first LUA scene....so any support is welcome.
Edited by Mediacut5 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.