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
reading123 0
Hi,
Hoping somebody can help me with this LUA code. I've got a Scene that is triggered by any of a list of Global variables having their value set to "true". When the scene is triggered I want to use fibaro:getSourceTrigger to find out the name of the variable that sets off the scene. Here's the Lua code I've got:
Please login or register to see this code.
The problem is:
Please login or register to see this code.
is always returning...
Please login or register to see this code.
Whereas I am expecting it to return the name of the Global variable that caused the Scene to trigger - i.e.
Please login or register to see this code.
Does anyone know if I'm doing something wrong in the Lua code, or if this is a bug on Fibaro's side? I'm using v3.548
Thanks!
21 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.