Package: benqprojector
Python library to control BenQ projectorsPython library to control BenQ projectors over the serial interface or serial
to network bridges like esp-link.BenQ projectors and flat pannels with a serial port can support one of three
protocols. This plugin supports projectors which are of the L, P, T, W and X
series but probably also others.ProtocolThis Python library works if your projector supports the following command
structure:<CR>*<key>=<value>#<CR>Where<CR>is a Carriage ReturnExamples:Power on   :<CR>*pow=on#<CR>Power off  :<CR>*pow=off#<CR>Change source to HDMI:<CR>*sour=hdmi#<CR>Serial portYou can lookup and change the baud rate in the menu of your BenQ projector.Network connected projectorsThe commands as described above should also work over a network connection,
however I don't own such projector and have implemented the network
functionality using a serial to network bridge. The network support for native
networked BenQ projectors is thus experimental. Let me know if your network
connected BenQ projector works.Example of a serial to network bridge using a serial to TTL converter and a
Wemos C3 Mini:It has to be said that a direct serial conection to the projector is much more
responsive than using a network connection, at least when using a serial to
network bridge. Maybe this is different on a native networked BenQ projector or
using ethernet instead of WiFi.PJLinkThis library doesnotimplement the PJLink protocol, but a proparitary
BenQ protocol instead. The PJLink protocol is covered by other libraries.Supported projectorsKnown to work:MW519W1070W1100W1110X3000iNot tested but use te same protocol according to the documentation:
Others in the L, P, T, W and X SeriesNot supported:RP552RP552HRP840GRP653RP703RP750RP750KRP652RP702RP790SRP705HSome projectors need to beonto be able to detect the model and the library to work.Please let me know if your projector is also supported by this plugin so I
can improve the overview of supported devices.InstallationTo install the Python BenQ projector library use the Python package
manager PIP:pip3 install benqprojectorbenqprojectorCLIYou can use the Python BenQ projector library directly from the command line
to turn on and off your projector using the following syntax:Status of the projector:python3 -m benqprojector serial <serial port> <baud> statusTurn on the projector:python3 -m benqprojector serial <serial port> <baud> onTurn off the projector:python3 -m benqprojector serial <serial port> <baud> offOr if your projector is connected using a serial to network bridge:Status of the projector:python3 -m benqprojector telnet <host> <port> statusTurn on the projector:python3 -m benqprojector telnet <host> <port> onTurn off the projector:python3 -m benqprojector telnet <host> <port> offDetecting your projector capabilitiesThe benqprojector CLI can detect the commands, sources and modes your
projector supports. If you like to have your projector fully supported by this
Python library please run this command and create an issue on Github with the
output attached.To examine your projector capabilities:python3 -m benqprojector serial <serial port> <baud> examineYour projector needs to beonand on anactive sourceto be able to detect
all your projector capabilities.TroubleshootingYou can add the--debugflag to any CLI command to get a more details on
what's going on. Like so:python3 -m benqprojector serial <serial port> <baud> status --debugSupport my workDo you enjoy using this Python library? Then consider supporting my work: