I have a JVC D-ILA DLAX500R. I would like to be able to turn it on and off and see what state it is in. I do not need to use other commands because I do not switch inputs.
The user guide says it uses a handshake where you:
The PC or Controller should first request a TCP/IP connection using the standard
TCP/IP Three-Way Handshake to the projector on Port 20554
When a network connection request is received, the projector will respond immediately
with “PJ_OK” to confirm that it is available.
In order to maintain the network connection, the external controller must then respond
to the projector within 5 seconds with “PJREQ”.
The projector will then respond immediately with “PJACK” to acknowledge that it is
ready to accept a command.
The command can now be sent. This command can be any of the hex commands
shown on pages 3-13 or any of the Acknowledgement Response Requests on pages
15-18. The command must be sent within 5 seconds of receiving “PJACK” from the
projector, otherwise the projector will close the network connection.
Power - Off: 21 89 01 50 57 30 0A
Power - On: 21 89 01 50 57 31 0A
I didn’t see a code to ask for the state but I might have missed it not knowing exactly what to look for. Here’s the guide:
The user guide recommends using a program called Hercules (http://www.hw-group.com/products/hercules/index_en.html) to test the codes. I downloaded this to my windows laptop and successfully controlled the projector. I found that if I “make the connection”, wait 3 seconds, hit “PJREQ”, wait 3 seconds, then hit the “Command”, it seems to work well. I think the three successive commands with a 3 second pause between will make this difficult.
Does anybody know how to use this information to make it work in Home Assistant?
I hope I’m posting this in the right place. I have been working on setting up Home Assistant for 2 months and I’ve learned a ton, but I started from the bottom so please be patient with me. I was one of the ones that had to learn what DHCP and DNS servers were. I have no coding experience. I’m using HASSIO on a Raspberry pi using an SD Card.
Thanks in advance.