I wonder if there is a possibility to use that part of code in domoticz in any way :
Code: Select all
tcpSocket = Net.FTcpSocket("x.x.x.x", 502)
tcpSocket:setReadTimeout(250);
bytes, errorCode = tcpSocket:write(sendbuffer)
In Fibaro I use it for getting the data from my VMC (that use modbus Over TCP)
Regards