telnet error

I’m setting up commands and sensors to communicate with my TV over a telnet connection (really a serial connection through ser2net on the OpenRemote controller) and it has been giving me nothing but grief so far, with an odd error message I can’t find much information on.

I’m currently running OpenRemote Controller 2.5.0

Here is the command information;

name: TV.Power.Status
protocol: Telnet
IP address: 127.0.0.1
port: 3000
command: null|ka
read timeout: 2
(no regex filter)
default read response: off
polling interval: 10s

The TV returns ‘nothing’ on the serial port while turned off and, with that command, should give an error message while turned on (it’s truncated command, doesn’t do anything).
Works great through a telnet program (minicom) running on the same system the OpenRemote controller is installed on, however OpenRemote itself only gives me this error message whenever the sensor polls, no matter if the TV is on or off;

ERROR [Telnet Polling thread for sensor: TV.Power.Sens]: could not disconnect from telnet
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.net.telnet.TelnetClient._flushOutputStream(TelnetClient.java:80)
at org.apache.commons.net.telnet.TelnetOutputStream.flush(TelnetOutputStream.java:143)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:140)
at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
at org.apache.commons.net.telnet.TelnetClient.disconnect(TelnetClient.java:133)
at org.openremote.controller.protocol.telnet.TelnetCommand.send(Unknown Source)
at org.openremote.controller.protocol.telnet.TelnetCommand.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Suppressed: java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
at org.apache.commons.net.telnet.TelnetClient._closeOutputStream(TelnetClient.java:84)
at org.apache.commons.net.telnet.TelnetOutputStream.close(TelnetOutputStream.java:150)
at java.io.FilterOutputStream.close(FilterOutputStream.java:159)
… 4 more

Any idea?