The code accesses a LightwaveRF Link controller with an IP 198.168.1.127 but it does not change state (eg switch lights on/off) when issued with the (extracted) LUA code below;
Code: Select all
--send complete command to LightwaveRF Link
UDPSend(IPaddress,LWCmd)
print ( "Command sent to " .. IPaddress .. " is " .. LWCmd)
function UDPSend(ip, message)
local port = 9760
udpcall = "echo -n " .. message .. "| nc -4u -w1 " .. ip .. " " .. port .. " &"
os.execute(udpcall)
return
2023-03-06 15:40:13.075 Status: LUA: Command sent to 192.168.1.127 is 284,\!R8D3F0