# IoT HDMI Switch 2×1

Open-source IoT HDMI switch for 1 sink & 2 sources. Automate inputs with ESPHome/Home Assistant. Never swap cables again!

- **Seller:** [Guim's store](https://lectronz.com/stores/guimpt), Barcelona, Spain
- **Price:** €50.00 (EUR, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Home automation, Accessories, Displays
- **Product page:** https://lectronz.com/products/iot-hdmi-switch-21

## Links

- [Documentation](https://github.com/guimpt/iot_hdmi_mux)
- [Code](https://github.com/guimpt/iot_hdmi_mux)
- [Design Files](https://github.com/guimpt/iot_hdmi_mux)

## Images

![IoT HDMI Switch 2×1](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTcyNjEsInB1ciI6ImJsb2JfaWQifX0=--30b2bfb02f4cbb3e2b6c982f987e3ebca5907191/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2025-12-06T15-27-43.511Z-PXL_20251206_164251289.jpg)
![IoT HDMI Switch 2×1](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTcyNjIsInB1ciI6ImJsb2JfaWQifX0=--cd4bac4b4baad00fed26ef603b05eba1c889b969/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2025-12-06T15-27-43.511Z-PXL_20251206_164307634.jpg)
![IoT HDMI Switch 2×1](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTcyNjMsInB1ciI6ImJsb2JfaWQifX0=--929fdf2d348f6bae5419c0ff22f7be8c5516699e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2025-12-06T15-27-43.511Z-PXL_20251206_164322335.jpg)
![IoT HDMI Switch 2×1](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTcyNjQsInB1ciI6ImJsb2JfaWQifX0=--def20b16d0394accb1ff0c731b5a848592056f79/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--605f1da017bcbb03ce31845cd0e81d97e3b3c574/2025-12-11T17-52-12.562Z-Screenshot-202025-12-11-20185159.png)
![IoT HDMI Switch 2×1](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NTcyNjUsInB1ciI6ImJsb2JfaWQifX0=--43e00946a29abefc388bb38dc0fe77e9357d8e88/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2025-12-06T15-27-43.511Z-PXL_20250506_181259159.jpg)

## Description

# WiFi HDMI Switch for Home Assistant, 2 In 1 Out, 4K@60Hz, ESPHome, Local-Only
Your TV or projector has one HDMI port. You have two sources: a Chromecast,
a Raspberry Pi, a game console, a media PC. Every time you want to switch,
you either crawl behind the TV or buy a dumb remote you'll lose. This switch
does it differently: it shows up in Home Assistant as a select entity the
moment it connects to your WiFi. Switch inputs from a dashboard, a voice
command, an automation, or a physical button. Your choice. No cloud.
No account. No subscription. No phone-home. Just your network, your rules.

★ As featured on [CNX Software (December 2025)](https://www.cnx-software.com/2025/12/11/iot-hdmi-switch-an-esp32-c3-powered-2-source-hdmi-switch-automated-with-home-assistant/)

---

## Features

- **Native ESPHome**: shows up in Home Assistant as a select entity, zero config needed
- **HDMI 2.0, 4K@60Hz**: full bandwidth, no signal degradation, Texas Instruments TS3DV642 FET switch
- **Fully local**: no cloud dependency, works if the internet is down
- **Open-source hardware and firmware**: full schematics and code on GitHub, audit it yourself
- **USB-C powered (5V)**: powered off any USB port, TV USB jack, or phone charger
- **3D-printed enclosure included**: compact, sits neatly behind your display
- **55 × 45 mm footprint**: smaller than a deck of cards
- **Ships assembled and tested from Barcelona, Spain**: plug in, adopt in ESPHome, done

---

## Real use cases

**The living room projector**

You have a Chromecast and a Raspberry Pi running Kodi connected to a single
projector. When Kodi starts playing, an automation switches to Input B. When
the Chromecast starts casting, it switches to Input A. You never touch a remote.

**The home office monitor**

One monitor, two computers: a work laptop and a personal desktop. A button
press on your desk or a Home Assistant shortcut switches the active input.
No reaching behind the monitor.

**The full automation setup**

Your TV input switches automatically when your game console powers on. When
you trigger "movie time", HA dims the lights and switches the projector to
Input A. The HDMI switch is one entity in a larger scene. This is what it
was built for.

---

## Wait, can't I just buy a 10€ switch from Amazon?
You can. That switch will have a button on it, or an IR remote you'll aim at
it. The most common workaround is pairing one with an IR blaster in Home
Assistant. It works until the blaster loses line of sight or the switch
misses a pulse. State tracking is unreliable because IR is one-way: Home
Assistant sends a command but never knows if the switch actually changed.
After enough "why is it still on the wrong input" moments, you start looking
for something better.

This switch is a different category: it reports its actual state back to Home
Assistant, responds to automations with sub-second reliability, works without
internet, and never depends on line of sight or a third-party cloud. The
alternative that matches this spec is professional AV equipment starting at 200€+.

This switch costs 50€, ships assembled, and is running in your HA dashboard
in under 10 minutes.

---

## DIY or buy?

All design files are on GitHub: Altium source, schematics, gerber files, BOM and ESPHome
configuration. If you want to fab your own board, everything you need is there.

The pre-built unit is for when you'd rather spend the evening watching
something on the projector you just set up.

---

## Common questions

**Does it actually support 4K@60Hz reliably?**
The TS3DV642 is a passive FET switch, electrically equivalent to two HDMI
cables with a relay. It does not re-encode the signal. 4K@60Hz, 4:4:4, and
HDR pass through without modification.

**Will ESPHome or HA updates break it?**
The firmware is fully local, no cloud API can be discontinued. If ESPHome
changes something, you update the YAML on your own instance. You own the
firmware permanently.

**What if something goes wrong?**
Message me. I build every unit myself in Barcelona and replace
units that fail under normal use.

---

## What's in the box

- 1x IoT HDMI Switch (assembled and tested)
- 1x 3D-printed enclosure (installed)
- No HDMI cables or USB-C cable included

Ships from Barcelona, Spain. EU delivery typically 4–12 business days.
US delivery typically 7–14 business days.

## Shipping policy

Ships from Barcelona, Spain. EU delivery typically 4–12 business days. US delivery typically 7–14 business days.
