I need some asistance with a simple Transport lua to send ASCII strings to my multizone amplifier.
I can use a simple script as follows to turn on Zone 2 for example;
local socket = gip.Open('192.168.123.123',9621)
if socket then
socket:Write ('EVENT C[1].Z[2]!ZoneOn \r')
end
I haven't been able to build a Transport to send the same string (EVENT C[1].Z[2]!ZoneOn) via an Action (I've tried modifying the Tutorial files). Any assistance ia appreciated.


Reply With Quote