Your Universal Remote Control Center
RemoteCentral.com
RS-232 & IP Control Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Help: IP Command for JVC D-ILA Projector on URC MX-5000
This thread has 7 replies. Displaying all posts.
Post 1 made on Tuesday February 14, 2012 at 15:57
ltowne1
Long Time Member
Joined:
Posts:
December 2002
19
Has anyone cracked the code on an URC MX-5000 for a JVC projector using IP?  I can get a PJ_OK test response but can't get a command to work.  I am not sure where/how to put the PJREQ for a handshake.  I have the Denon working, DirecTV working IP, still need to get the Sony BD, projector and iTach for screen going.  But for now, if I could get the code cracked on 1 command for the projector, I am sure I can do the rest myself.  Power on is:

21 89 01 50 57 30 0A
but to communicate you need to initiate connection, receive a PJ_OK (which I do receive so IP and port is correct) and respond in 5 seconds with PJREQ.  Somehow that is where I just can't get it coded right.
The projector is a 2012 D-ILA RS45U

Post 2 made on Friday February 24, 2012 at 03:32
Yecora
Long Time Member
Joined:
Posts:
July 2006
12
actually you can get a quite precise manual of IP/RS-232 control of those projectors from JVC web site. This is good news. Bad news are that it won't help you, I suggest. The reason why - they done IP control protocol weird. I tried to implement it in one of my crestron projects, but after couple of hours decided to use RS-232, and let me tell you why. IP control looks like two parts - first off all you should establish a connection to the socket:

Crestron: Hi, who's there?
JVC: I'm JVC Projector
Crestron: Let me send you a command?
JVC: Well. Do it.

After that control system should send a command within 5 seconds, because if there was no activity - projector closes a socket and you should start over.

So it means that if you need to send ANY command - you should start with initializing procedure, even if you just asking status response. And there is no way to eliminate this (as far as I know).

Good luck
OP | Post 3 made on Friday February 24, 2012 at 08:49
ltowne1
Long Time Member
Joined:
Posts:
December 2002
19
Thanks Yecora, I have tried it umpteen ways but just can't get the timing right to connect, send PJREQ handshake, receive J_ACK and send power on Hex or ASCii command.  May need pauses after connection?  Tried it but that did not work yet.  I am using a URC MX-5000.  I suspect until someone writes a true 2-way module those type remotes will have trouble.  I can do it on Roomie Remote, not sure how they wrote it and even then doubt the iOS language would translate.  I can also do it with Hercules (from one of the manuals you reference a free virtual termina emulator) by establishing connection, quickly sending PJREQ, then quickly sending power on hex, oila, projector is on.  SO, it works but I have no idea how to write it in CCP.  I mean, JVC, are there REALLY that many people hacking in and turning projectors on, through a firewall?  I suspect they would get my or clients quicken way before changing my screen size!
OP | Post 4 made on Saturday February 25, 2012 at 11:06
ltowne1
Long Time Member
Joined:
Posts:
December 2002
19
Using Wireshark (free utility to watch traffic on LAN), I get this using Hercules set-up Utility (a Virtual Terminal), it works to turn on projector (the second line is the ...PW Power on acknowledgement):


PJ_OK..,2.....,20..PJREQPJACK!..PW1
...PW

I get this using URC:
PJ_OK..,2.....,20..PJREQ,,,,21 89 01 50 57 31 0A

I am sending this in Hercules:
  1. Click Connection command button on test mode window, correct IP and port 20554
  2. I receive in virtual terminal: PJ_OK
  3. I then immediately send in ascii: PJ_REQ
  4. I receive: PJACK
  5. I then Immediately send in HEX: 21 89 01 50 57 31 0A
My URC MX-5000 Macro in CCP looks like this:
..,2.....,20..PJREQ,,,,21\x2089\x2001\x2050\x2057\x2031\x200A
  • Port and IP correct
  • I receive PJ_OK upon sending command
  • ASCII selected, automatic carriage return selected
Any ideas?  Seems I am almost there but not getting the acknowledgement ‘PJACK’ so my power on is not accepted.
        <!--IBF.ATTACHMENT_20764-->

Last edited by ltowne1 on February 25, 2012 16:23.
OP | Post 5 made on Saturday February 25, 2012 at 11:22
ltowne1
Long Time Member
Joined:
Posts:
December 2002
19
this does not work either as a macro in URC:

..,2.....,20..PJREQ!..PW1

Wireshark result (still no PJACK and no poweron:

PJ_OK..,2.....,20..PJREQ!..PW1
Post 6 made on Monday February 27, 2012 at 12:16
Yecora
Long Time Member
Joined:
Posts:
July 2006
12
well, just in case
[Link: support.jvc.com]

is that LAN watch utility can get info about Samsung TV IP control protocol?
OP | Post 7 made on Tuesday February 28, 2012 at 10:10
ltowne1
Long Time Member
Joined:
Posts:
December 2002
19
Yecora, I think it would work if you can send the commands from a PC with the software on it and you know the IP address and port.  Create a filter to weed out all unneccessary traffic.  The filter is typed like this where the variables are those for your TV:

tcp port 20554 and host 10.0.1.22 
OP | Post 8 made on Tuesday February 28, 2012 at 10:19
ltowne1
Long Time Member
Joined:
Posts:
December 2002
19
VERY VERY CLOSE NOW to controlling JVC Projector with URC MX-5000!  I have the URC terminal emulator in CCP working from URC MX-5000 to JVC, but when untethered the remote does not work, it does control other IP devices and is internet connected.   I am thinking delay issue of remote vs PC?
Macro as follows  ( entered them as hex and URC can show convert in ASCII screen as here):

Delay .5 second
PJREQ
Delay 1.0 seconds
!\x89\x01PW1\x0A
Delay .5 seconds


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse