This page last changed on Feb 07, 2010 by ragh.

Hi,

I know you havent got rs-232 support. I did read something about textstring support to rs232 equipment over tcp/ip.
But would it be possible to control my Kuro plasma (rs232) over ethernet with a IP-rs232 adapter? If so, how to do this?

I attached the protocol for you to take a look at.

Kind Regards

Hmm, cant seem to upload the protocol.
Please see: http://www.pioneerelectronics.com/PUSA/Home+Entertainment+Custom+Install/RS-232+Codes/ch.Plasma+Displays.Default

and then the protocol for: PRO111-FD

Kind regards, Roy

Posted by ragh at Feb 07, 2010 22:29

It looks like an ASCII based protocol.
This is what I use for my LG television.
It works without any problems with an IP-rs232 adapter.
I use this adapter: http://www.korenix.com/jetport-device-server-5201-overview.htm

Posted by mredeker at Feb 07, 2010 22:39

Wow, thats a quick reply. Awesome.

Do i install openremote BOSS on my MAC, thats in my network?
Do i use the iPhone design tool?
Do i use the TCP/IP tab?
Where/how do i input the serial protocol?

In other words, can you please tell me step by step how to do this.

Thnx, Roy

Posted by ragh at Feb 07, 2010 22:47

Yes, you have to install BOSS on a machine on your network. A MAC should work but the instructions available are probably not for a MAC in the moment. After that you will use the composer OpenRemote Composerto create the layout and what commands should be send. The TCP/IP tab is correct. There you will have to give a name for the command eg "Power on", the ip of you ip-rs232 device, the port and the command. Command will be the ASCII string which should be sent to your tv. Looking at your protocol the string for "power on" should be "\x02**pon\x03". Since the first and last values are supposed to be hex it might not work. The current implementation is really just sending as ASCII. We might have to changes something.

Make sure that your rs232 connection is working fine before testing with openremote.

Posted by mredeker at Feb 07, 2010 23:27

Hi Marcus, I read you use a device to control your television. I am intrested what settings you use for your device. I am using a ATC-1000 with the intention to control my A/V receiver. Let me know and kind regards, Bjorn

Posted by bjornski at Jan 30, 2012 18:12

I use TCP-Server and RS232 based on the values in my TV manual.
The protocol also has to come from your TV manufacturer.

Posted by mredeker at Jan 30, 2012 23:25

Thanks for sharing, I have the protocol of the serial commands, its all ascii based and running on a windowspc and application. I am not using it in openremote yet. From the pc I run the application and can control the av receiver however trough a virtual com program. I was more curious in the settings of the jetport and if there are specific things you need think off or am I missing virtual com the the device itself?

When running OR on a pc i see java codes and lines apearing each time I push a button on my phone. Looks like action But not a response from the receiver. What are your server settings compared to mine? See shorted list below. Or am I missing virtual com that is in the jetport?

UART
Mode :RS232
Bauterate :115200
Character Bits:8
Parity Bits:none
Stop Bits :1
Hardware Flow Control:none
Delimiter : Enable/Disable
Char 1: /dis
Char 2: /dis
Silent Time: /dis

Delimiter :Drop Delimiter Enable/Disable
Drop Character: /dis
Delimiter: Character 1 value
0x :00
Delimiter: Character 2 value
0x :FF
Delimiter: Silent time value
:1 (1~255)*200ms

TCP Mode
Telnet Server/Client:Server
Date Port Number:23
Remote Server IP Address:192.168.0.1
Client mode inactive timeout:0 (minute (1~99,0=Disable))
Server mode protect timeout:60 (minute (1~98,0=Disable,99=Can't replace))
Support Protocol: enabled Reverse Telnet
disabled RFC2217
disabled None
CLI Mode :enabled

Posted by bjornski at Feb 01, 2012 20:35

What Java code lines do you see? That might help to figure out the problem.

Posted by mredeker at Feb 03, 2012 10:30

Hi Marcus,

I made some screen shots, see listed below: http://imageshack.us/photo/my-images/41/1puttyandspmopenremotes.png/ http://imageshack.us/photo/my-images/836/1puttyandspmopenremotes.png/ http://imageshack.us/photo/my-images/42/1openremotestartupwinxp.png/ http://imageshack.us/photo/my-images/822/1openremotestartupwinxp.png/
Note: I run open remote from winxp pc.

The serial device output is monitored by spm at the right. I use putty to open the virtual com6 port
on a win7pc for monitoring purposes. As you can see putty wries onf at the same line. Probably a setting
in putty. If I select in putty add LF at every CR putty will show each command on a new line under each
other. Till so far to me thats just putty.

What I find strange, because don't understand it well is the following, see screenshot below: http://imageshack.us/photo/my-images/809/1puttyspmandrs232testv1.png/
After the above I just issue command "Main.Version?" from the manufacturer program. Then see the sodes after commands dissapear, like len=14 or len=13. Also the Main.Version? command is issued immidiatly nextline <LF>
and no <CR>. Too me this mistery makes the difference of getting it to run, besides running OR from the qnap nas later.

I am curious what you think of it.

Posted by bjornski at Feb 03, 2012 22:26

Sorry, you are confusing me.
How is your hardware setup? Do you have a IP<->Serial device? If yes, I don't see anything connecting there. Putty connects to COM6 and not to IP blabla.
If that is the case yout IP<->Serial is in virtual comm mode and not TCP mode or can your device do both at the same time? Mine cannot.

What is the manufacturer program and where does that connect to?

Leavin OpenRemote out of the picture, you can test with just putty.
COnnect with putty to ip x.x.x.x which is your serial ip device. enter a command and see what the device answers.
When that works, we should be able to use OpenRemote.

Posted by mredeker at Feb 03, 2012 23:18

This is te setup I am using: http://img12.imageshack.us/img12/8544/1setupnetworkfortestpur.png

The serial device atc-1000@192.168.0.106 receives tcp/ip commands from the OR server@192.0168.0.102
trough a wireless connection, no comports are in use only network.

At the serial side of the atc-1000 I connect it to com6 at win7pc@192.168.0.103. On this I run putty to have a comport active and see the results from the atc serial side. In addition I run a serial port monitor in spymode for additinal info.

With the above setup I receive command at the serial side @ com6. Only thing I notice is that the output I see in putty the command overide eachother on the same line thus see:'Main.Power=Onf'. After issue and On and then an Off command. In spymode I noticed the additional carracters send with the commands len=.....

When I use a virtualcom lets say Vcom4 on win7pc@192.168.0.103 it lets me virtually command to the atc-1000. As the NAD RS232Test.exe program needs a comport to communicate I set the com to 4 (actually Vcom4). When I directly send command from the NADRS232test program I see:'Main.Version?'
After next same command I see no override but jumps a line: 'Main.Version?'
And again 'Main.Version?'.
This shows me there is something different there and can figure out what it is. At least I get this far to establish communication with atc with OR, network, all devices so thats a huge step forward. I also know that the NAD program using virtual com4 controls the AVR perfectly so I know it works.

Posted by bjornski at Feb 04, 2012 19:26

This is te setup I am using: http://img12.imageshack.us/img12/8544/1setupnetworkfortestpur.png

The serial device atc-1000@192.168.0.106 receives tcp/ip commands from the OR server@192.0168.0.102
trough a wireless connection, no comports are in use only network.

At the serial side of the atc-1000 I connect it to com6 at win7pc@192.168.0.103. On this I run putty to have a comport active and see the results from the atc serial side. In addition I run a serial port monitor in spymode for additinal info.

With the above setup I receive command at the serial side @ com6. Only thing I notice is that the output I see in putty the command overide eachother on the same line thus see:'Main.Power=Onf'. After issue and On and then an Off command. In spymode I noticed the additional carracters send with the commands len=.....

When I use a virtualcom lets say Vcom4 on win7pc@192.168.0.103 it lets me virtually command to the atc-1000. As the NAD RS232Test.exe program needs a comport to communicate I set the com to 4 (actually Vcom4). When I directly send command from the NADRS232test program I see:'Main.Version?'
After next same command I see no override but jumps a line: 'Main.Version?'
And again 'Main.Version?'.
This shows me there is something different there and can figure out what it is. At least I get this far to establish communication with atc with OR, network, all devices so thats a huge step forward. I also know that the NAD program using virtual com4 controls the AVR perfectly so I know it works.

Note: I just noticed that the picture ORxppc@192.168.0.104 is actually 192.168.0.102

Posted by bjornski at Feb 04, 2012 19:26

Ok, I think I got you know. A little to many devices involved
In real live the setup should be:

ORconsole -> WLAN -> ORcontroller -> Lan -> atc-1000 -> serial -> Pioneer

To test this you should use:

Putty -> Lan -> atc-1000 -> serial -> Pioneer

It does not matter what any serialport monitors report if the TV does not react.
Try the test setup, enter a command and see in putty what the tv returns or if it reacts correct.
Then try the same command with OpenRemote and no putty and see if the TV reacts correct.

Posted by mredeker at Feb 04, 2012 19:40
Document generated by Confluence on Jun 05, 2016 09:30