Closed coehne closed 1 year ago
Using the pjlink cli (https://github.com/macoss/pjlink-cli) I was able to send "POWR 0" to turn the projector off and "POWR 1" to turn it back on. "LAMPE" also worked for me to get the lamp hours. Other commands from the benQ manual don't seen to work. And had to google for others who tried POWR 0 insted of POWER OFF like stated in the manual
Sources: The BenQ Networking Manual (https://esupportdownload.benq.com/esupport/PROJECTOR/UserManual/MH733/NG_EN_210428143533.pdf)
yeah, so I figured, the basic functions of the projector work fine with the already integrated PJLink integration :) https://www.home-assistant.io/integrations/pjlink/
So nevermind I guess?
Hi @coehne , good to hear you've already got your projector working using PJLink. I wasn't aware the (some?) BenQ network connected projectors support PJLink, I will actually add this to the readme so future users can easily find this info.
The BenQ Networking Manual you link to is for the model MH733 projector which might explain why the commands differ from your model W5700 projector. To my understanding there are different command protocols for different series of BenQ projectors, and I can tell you first hand that even if you have the command set that officially applies to your particular model even then there are errors and deviations to what is documented.
If it's ok with you I close this issue.
Hi @rrooggiieerr, Yes, in the manual for my projector there is just a non working reference link to the "BenQ Network Projector Operation Guide" which is a generic one like the one I posted previously. So I guess there is no good documentation :/
However, I figured that the PJlink integration only allows to add the projector as media player which makes it integrate badly into automations. If I use your integration using the serial port, will the projector then be added as a device? Sorry, I am also very new to HA...
Yes and no. When you use the serial port and your projector uses the same communication protocol as my integration implements then you will get an extra media player device which you can use to control on/off, input source and volume. On top of that you will get a dozen entities for color temperature, brightness, contrast.
@coehne can you connect to port 8000 as described in this document?
Ah nice. Didn't see that before. I'm on the road now but will give it a try and come back to you.
@rrooggiieerr unfortunately, nothing happens, when I connect to port 8000 like in the manual. I only get a black screen when using the tera term program from the manual. Didn't figure out how to send the control commands with tera term. I guess I will first try to control the projector via the PJlink integration and hope that will work :) If not, I'll try IR or buy a RS232 to USB cable, but that would feel like giving up on the LAN integration 😞
So it does connect? At least that's something. I think if you hit enter you will get a command prompt >
and then you could type *pow=?#
to get the projector power state
Yes, I only get a black terminal without any prompt or any reaction at all to any key presses.
Do you use the telnet protocol?
I selected "other" like it was on the screenshot. Is it working via telnet?
I have no idea, my projector doesn't have a network connection. But I'm guessing it's not encrypted like SSH but just plain text and then telnet should generally work
Nope, doesn't work when I select telnet, it just changes the port to 23. Same result sadly.
And you are not planning on adding PJlink support for your integration I guess 😃 ?
Too bad! No, I'm not going to support PJLink, my projector doesn't support it. But feel free to use my integration as a blueprint to develop your own integration, or improve the existing PJLink integration. Good luck ;-)
Hi! I have a W5700 with LAN support. Want to figure out how to make it run? :) Unfortunately the Web UI of the projector is done with adobe flash...
Do you have any idea how to send the commands to the projector over LAN?