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
rajnish 0
I am facing very serious problem. My scenes were running despite the IF condition being false. For example I created a variable called 'MovieStart' with initial value as 1 and used it in a Movie scene with IF condition as MovieStart ==0. Then too the movie scene triggered. This was happening for all scenes. I then saw its LUA code and strangely the LUA code was showing another variable being added by the system in the IF condition with OR parameter, which was making the IF condition always TRUE irrespective of the variable value. If I edit the LUA code and remove this system generated parameter then my scenes ran perfectly. However with converting the graphic mode into LUA, one looses the convenience of graphic mode as once switched to LUA code fro editing the code I cannot switch back to graphic code.
I am attaching the to screen shots of the same scene... one in graphic mode and other one in LUA mode with error being highlighted.
Need urgent resolution
Please login or register to see this attachment.
Please login or register to see this attachment.
8 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.