07.12.2022, 08:08
Create a resident script with 0 sleep time. In Salto set transport layer mode to UDP, use LM IP as Host name and set port to 9999. Check what you get in Logs tab in LM when an event happens on the Salto side. Keep message format as JSON to check whether JSON is valid or not.
Code:
if not server then
require('socket')
server = socket.udp()
server:setsockname('*', 9999)
server:settimeout(60)
end
data = server:receive()
if data then
log(data)
end