31.05.2024, 08:17
Hi!
I have a project with Lutron integration and I follwed the thread below to setup LM.
https://forum.logicmachine.net/showthrea...ght=lutron
While LM successfully works as listener and I can see everry log from Lutron device and button,
any Lutron command that I send does not seem to be reaching and nothing will be shown in the log.
My event script is pretty simple as below. (I have lutron user script and resident script as shown in the forum thread above)
Other things that I tried;
・I used ping command of LM network utility and checked if LM can reach Lutron interface and it was successfull.
・I confirmed lutron_login function returns response "QNET>" which proves login to the Lutron interface is successful.
・I installed telnet command on my PC (which is located in the same network as LM) and tried executing Lutron commands and it was successful.
Could you think of any reason that I cannnot execute command from LM event script?
I have a project with Lutron integration and I follwed the thread below to setup LM.
https://forum.logicmachine.net/showthrea...ght=lutron
While LM successfully works as listener and I can see everry log from Lutron device and button,
any Lutron command that I send does not seem to be reaching and nothing will be shown in the log.
My event script is pretty simple as below. (I have lutron user script and resident script as shown in the forum thread above)
Code:
require('user.lutron')
tcp, err = lutron_login()
if not tcp then
log('no connection to device', err)
end
tcp:send('#DEVICE,5001,1,3\r\n')
Other things that I tried;
・I used ping command of LM network utility and checked if LM can reach Lutron interface and it was successfull.
・I confirmed lutron_login function returns response "QNET>" which proves login to the Lutron interface is successful.
・I installed telnet command on my PC (which is located in the same network as LM) and tried executing Lutron commands and it was successful.
Could you think of any reason that I cannnot execute command from LM event script?