knrdl / optotron

Control your Optoma projector via serial port (RS232)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optotron

Control your Optoma projector via serial port (RS232)

                                                  ____ 
.------------.          .---------------.        |====|
|            |          | Serial to USB |        |    |
| Projector  |--RS232-->| Adapter       |--USB-->|    |
'------------'          '---------------'        |____|

Getting started

$ sudo apt install python3-serial
$ export DEVICE=/dev/serial/by-id/usb-1a86_USB2.0-Ser_-if00-port0  # device name might differ
$ python3
>>> import optotron
>>> optotron.is_power_on()
False
>>> optotron.power_on()
>>> optotron.is_power_on()
True

Implemented functions

  • is_power_on
  • power_on
  • power_off
  • mute
  • unmute
  • set_volume
  • inc_volume
  • dec_volume
  • set_background_color
  • get_lamp_hours
  • set_input_source

Manufacturer documentation

Remote replacement

Now you can build a mobile app to control the projector, like this:

Screenshot

About

Control your Optoma projector via serial port (RS232)

License:MIT License


Languages

Language:Python 100.0%