Skip to content

Control an Optoma UHD35 via Home Assistant

License

Notifications You must be signed in to change notification settings

kylin7226/esphome-optoma

 
 

Repository files navigation

This project allows for remote power control of an Optoma UHD35 projector (and possibly other models) via ESPHome and Home Assistant.

Problem

The Optoma UHD35 has no support for HDMI-CEC, so the only option to start it is either to configure it to auto start when plugged in or using the remote. The auto start could be solved with a smart plug, but complicates shutdown as simply cutting power is not ideal.

Solution

The projector has an RS232 port on the back allowing for full control. We can use that along with a microcontroller to remotely control the projector.

Bill of materials

  • ESP32 microcontroller (or similar)
  • RS232 level shifter, I used one from SparkFun because it was readily available. Anything equivalent should work.
  • A passive piezo speaker (optional, used to play a chime when the projector starts)
  • A 3.5mm phono jack (optional, used to trigger a projector screen)

Connection

Wire up the RX/TX, VCC and GND connections between the adapter and your microcontroller. You may need to swap RX/TX to make things work. Annoyingly the projector does not provide power out when off/standby, so a separate power supply is required for the microcontroller.

Setup

Bonus features

My particular model of projector has a very strange 12V trigger for the projector screen, it will turn on with the projector for a second or two, then turn off again and then finally switch on once the projector has booted fully. This means my screen won't be down in time for the projector has started.

My particular screen seems very happy to trigger on the ESP's 3.3v (and only draws .3ma) so I connected an output pin (D2) from the ESP directly to a 3.5mm jack to control the screen. I configured it as a separate toggle, but it can be run in sync with the projector if so desired.

Another issue I was having is that the projector is perfectly silent on startup, the only indication that it's starting is a blinking LED. I added a piezo element on pin D1 to play a little chime on startup/shutdown which makes it much easier to tell that things are happening.

Further notes

This project is loosely based on a project by rasclatt, the primary improvement is that it no longer needs to continuously poll the projector for state information, but rather this is read out as the projector announces it.

Possible improvements

It would be easy to implement further commands to the projector like reading out lamp hours, input names and such. I personally have no need for this, but forks/pull requests are always appreciated.

About

Control an Optoma UHD35 via Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%