Welcome to Smart Home Forum by FIBARO
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!
Smart Home Forum by FIBARO Team
Using a Smart Implant, I've successfully control my garage door.
I've recently added a limit switch to monitor if the door is open or closed.
This input has been connected to IN1. I'm able to get HCL3 to send a push message when the door is opened.
In order to create useful scene, I need to be able to read the state of IN1 via LUA, as I'm rather new to LUA I have no idea of the command needed to read the value.
Can you please help and tell me how to get the value of IN1 or IN2.
Also, as I'm trying to learn more about LUA, is there a recommendation on where to start or look into.
At the moment I'm learning by converting Block Scene to LUA and trying to look through some examples from Fibaro which is far and few.
Your help is much appreciated.
Link to comment
Share on other sites
4 answers to this question
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.