Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

JVC DILA Projector Information

If you have a question or need help, this is the place to be.
Post Reply
nezil
Posts: 1
Joined: Sun Mar 23, 2014 10:26 pm

JVC DILA Projector Information

Post by nezil »

I have been using EventGhost for some time, and find it to be an excellent piece of software, as well as being extremely powerful.

More recently, I've started using a Harmony Smart Control unit as my main controller, since this is able to connect directly to my Home Theatre PC using a Bluetooth dongle as though it were a PS3.

I signed up for the forum here, simply to try and give something back to the community.

I'm not a software developer, and I'm therefore no good at python either, so doing anything other than simply modifying an already made plugin, or creating just a simple python action is a bit beyond me.

With that being said, I have been able to create a python action to send commands to my JVC DILA projector, and I thought that by posting here it might either be useful to someone as is, or be the start of a fully fledged plugin.

My Projector is a JVC DLA-RS46U, which is identically to a DLA-X35. Although this script was written for my specific projector, I'm 99% sure that it will work with all recent (as in the last 3 or 4 years) JVC projectors.

Without further ado, here is the code:

Code: Select all

import socket
import time

client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(('172.16.17.6', 20554))
client_socket.send('PJREQ')
time.sleep(0.25)
client_socket.send('\x21\x89\x01\x50\x57\x31\x0A')
time.sleep(0.25)
client_socket.close()
The action starts by sending the projector a command to sort of wake it up and prepare it for receiving an actual command. After a 0.25 second delay, the actual command needs to be sent, in a HEX format (hence the \x before each section of the command). A further 0.25 second delay is required before closing the connection, as the projector wants to send back a confirmation; if you close the connection too soon, the projector won't action the command.

The example above is the discrete 'Power On' command. Other commands can be found in the JVC documentation here: http://support.jvc.com/consumer/support ... lGuide.pdf
and here:
http://pro.jvc.com/pro/attributes/PRESE ... nglish.pdf

I'm not sure if it's valuable, but I was also able to find a JVC document Pronto HEX format IR commands for this range of projectors. I prefer to use the TCP/IP communication, but some may find it valuable. That document was here:
http://uk.jvc-service.net/public/docume ... DC_id=6918

One final note to say, is that the action above does not pay any attention to the responses from the projector, and therefore also doesn't provide a way of checking the power state or selected input etc. I doubt this is complex, but it will take someone better at Python than I am to add in this functionality.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: JVC DILA Projector Information

Post by Mastiff »

I'm trying this on my JVC DLA-X500R, which has the same syntax and everything. But I just can't get it to work. I get this error message:
18:13:29 Traceback (most recent call last):
18:13:29 Python script "71", line 5, in <module>
18:13:29 client_socket.connect(('192.168.2.114', 20554))
18:13:29 File "<string>", line 1, in connect
18:13:29 error: [Errno 10060] Et tilkoblingsfors├©k mislyktes fordi den tilkoblede parten ikke svarte p├Ñ riktig m├Ñte etter en tidsperiode, eller den etablerte tilkoblingen mislyktes fordi den tilkoblede verten ikke svarte
Basically (the Norwegian part) that the projetor didn't answer the connect attempt. Does anybody have any idea what this can be? The port and the IP address are correct.
Post Reply