Logic Machine Forum
Telnet communication with Biamp Tesira - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Telnet communication with Biamp Tesira (/showthread.php?tid=2945)



Telnet communication with Biamp Tesira - Martin Rogstad - 29.10.2020

Hi,

I have a project where we need to control source and volume level on a Biamp Tesira system from a KNX display.
This involves communication via Telnet.

I tried to search for similar solutions in here, but only found something for Denon.


Is there anyone here who can show me how to open a Telnet session with this system?

https://support.biamp.com/Tesira/Control/Telnet_session_negotiation_in_Tesira


If anybody want to take this scripting job for me, please let me know.
I am now familiar with advanced scripting.


RE: Telnet communication with Biamp Tesira - Erwin van der Zwart - 29.10.2020

Hi,

Try this:
Code:
local host, port = "192.168.2.60", 23
local socket = require("socket")
local tcp = assert(socket.tcp())
tcp:connect(host, port)
tcp:settimeout(0.5)

--Set command
command = string.char(0xFF,0xFD,0x01) -- Do Echo

-- Write command
tcp:send(command .. '\r')

--or try Write command
--tcp:send(command)

--Get Reply
local s, status, partial = tcp:receive()
 
--Check if reply has a value
if s then
    --Do your action(s) with replies
    if s == string.char(0xFF,0xFC,0x01) then
     log('Wont Echo')
    end
    loghex(s)
end
tcp:close()
BR,

Erwin


RE: Telnet communication with Biamp Tesira - Martin Rogstad - 29.10.2020

Thank you, will try this!