Hello All -
I have a LIRC daemon running on a machine in my network, and I’m able to open a telnet connection via command line from my ubuntu server, and send commands, that work.
amit@injun-server:~$ telnet 192.168.1.64 8765
Trying 192.168.1.64…
Connected to 192.168.1.64.
Escape character is ‘^]’.
SEND_ONCE Samsung_TV Power
BEGIN
SEND_ONCE Samsung_TV Power
SUCCESS
END
I’m trying to replicate command in openhab, and cannot get it to work.
Here is the item I have (for testing purposes)
Switch PowerButton { tcp=“>[ON:192.168.1.64:8765:‘MAP(en.map)’]” }
And here is the transform:
ON=SEND_ONCE Samsung_TV POWER
And here is the log:
2015-09-28 16:00:49.337 [INFO ] [t.AbstractSocketChannelBinding] - Attempting to reconnect the channel for > /192.168.1.64:8765
2015-09-28 16:00:49.339 [INFO ] [t.AbstractSocketChannelBinding] - The channel for /192.168.1.64:8765 is now connected
So, i see that it connects to the channel, but doesn’t nothing happens on the other end.
Any help/guidance/alternative solution would be greatly appreciated.
thanks,
ap