#4-port 8k60/4k120 Smart HDMI Switcher

14 messages · Page 1 of 1 (latest)

regal grove
#

Prompted by redphx's upload, I thought I'd share my ESPHome controlled HDMI Switcher.

#

Due to the metal box I opted for an external wifi antenna. I ended up using an ESP8266 and soldered an external UFL antenna connector onto it (I know you can buy them but ESP07S have castellations not holes you can solder to)

I connected GPIO14 directly to one of the legs of the IR receiver LED, and GPIO4,5,12 & 13 to the drain of the LEDs that show which port is selected.

The board had a onboard connector with ground and 3v3 that I could tap into with a JST PH cable.

I had to drill a hole in the case for the external antenna pigtail but there was a perfect space for it.

Parts used:
JST Cables:
https://www.amazon.com/dp/B081CRLN8B
Switcher:
https://www.amazon.com/dp/B09STMC798
Antenna:
https://www.amazon.com/dp/B09J8N8TXW
Pigtails:
https://www.amazon.com/dp/B01HXU1PKS
UFL Connector:
https://www.amazon.com/dp/B071JNGHWQ

ESP YAML

I used remote_transmitter with a carrier_duty_percent of 100% so that it mimicked the raw signal that I observed on the IR receiver wire.

The pin on the binary sensor is high by default and drops to low when the LED is on, so I used an inverted binary_sensor tied to the relevant GPIO.

In the beginning I had binary sensors and buttons (hence the commented name values) but switched to switch components (pun intended) instead once it was proven working

red willow
#

You could use a select instead of multiple switches.

regal grove
ivory mapleBOT
regal grove
#

How would I press a different button depending on the option selected?

red willow
#

In the set_action, you can use the selected index to pick which button to press.

#

Then you would also have to use the binary sensors to change the state. What you have works. This is just another possibility if you were interested.

regal grove
#

Oh I'm interested for sure.

red willow
#

Create a thread in #general-support and we can discuss it there.

hardy harness
#

nice! maybe this is enough to get me off my rear and do something similar to mine!

regal grove
hardy harness
#

Well, the idea is to go to the ends of the earth to avoid having to get up, yes:D

verbal smelt
#

looks way cooler than mine. Congrats!