Welcome to Smart Home Forum by FIBARO
Search the Community
Showing results for tags 'smart implant lua for inputs'.
Hi, 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. Thank you Regards Lip Tsin