Search for an "ESPHome garage door opener" and you'll find three completely different projects wearing the same name: someone wiring a relay to an ESP32, someone bolting a special board onto a Chamberlain opener, and someone plugging a ready-made gadget into a wall outlet. Almost nobody tells you which one works with the opener sitting in your garage — and that's the one decision that matters here, because one big opener family physically ignores two of the three approaches.
This guide picks the path for you before you buy anything. All three end in the same place: a garage door you can open, close and watch from Home Assistant over your local network — ESPHome firmware, no cloud account, no myQ subscription, nothing that dies when a vendor's servers have a bad day.
⚠ Read the safety box before touching anything. Garage doors are the largest moving object in most homes and they can seriously injure or crush. Every path in this guide keeps your opener's own safety systems untouched — never bypass, disable or remove the photo-eye sensors near the floor, and always test the door's auto-reversal after any install (last section).
First: which opener do you have? (the one fact that picks your path)
Openers made by Chamberlain and LiftMaster (the same company — LiftMaster is the installer-channel brand) fall into generations, and the newest one changed the rules. Since roughly 2011, their "Security+ 2.0" openers — the myQ era — replaced the simple wall button with a small digital panel that talks to the opener over an encrypted serial bus. The ratgdo project's documentation states it plainly: Security+ 2.0 "uses an obfuscated serial signal to control the door opener’s open/close and light functions, which makes it impossible to use Shelly One, Go Control, Insteon I/O linc or any other dry contact relay device to control the door."
That's not a challenge to engineer around — it's the routing fact for the whole guide. A relay build (Path A) can still work on these openers, but only by pressing a button on a spare wireless remote or on the wall panel itself, never by touching the opener's control terminals.
How to tell which generation you have: look at the learn button on the opener itself (a small colored button on the motor unit, usually under a light cover).
| Your opener | Path A (relay) | Path B (ratgdo-style) | Path C (ready-made) |
|---|---|---|---|
| Chamberlain/LiftMaster, yellow learn button (Security+ 2.0, myQ era, most post-2011) | Only via the spare-remote or wall-panel-button trick — never on the control terminals | Best fit — full status, no extra sensors | GRGDO1 (speaks the same protocol); Athom unit will not work directly |
| Chamberlain/LiftMaster, purple or red learn button (Security+ 1.0) | Works via the control terminals | Works; full open/close status needs a compatible wall panel (see Path B caveats) | GRGDO1; Athom only via dry-contact mode |
| Any other opener with screw terminals for a plain wall button (Genie, older units, most non-Chamberlain) | Best fit — relay shorts the terminals like a button press | Only in ratgdo's dry-contact mode (extra encoder hardware) | Athom unit — best fit; GRGDO1 only via its dry-contact inputs |
| Jackshaft 8500/RJ020 or 8500C/RJ020C | — | Works, but treat it as Security+ 1.0: it has a yellow button yet uses the older protocol | Same split as S+1.0 |
Two quick honesty notes on that table: "works" for Path A on the yellow-button row means the workaround builds, not the clean terminal wiring — you give up native door status (the reed sensor still gives you open/closed). And the jackshaft exception is ratgdo's own footnote: "yellow learn button openers are Security + 2.0 EXCEPT the jackshaft wall mounted 8500/RJ020 & 8500C/RJ020C which use the Security + 1.0 protocol."
If you're new to ESPHome itself, our ESPHome voice assistant guide walks the toolchain end to end, and our ranked ESPHome projects are all beginner-scaled.
Path A — dry-contact relay + reed sensor (the DIY build)
What it is
Three small pieces: an ESP32 dev board running ESPHome, a relay module, and a reed sensor on the door.
A relay is an electrically-operated switch: ESPHome energizes a coil and the switch clicks closed for a moment — exactly what your finger does to the wall button. A dry-contact relay just means the relay's switch is a plain voltage-free contact, the right kind to wire across the opener's low-voltage wall-button terminals. A reed sensor is a magnet-sensitive switch in a little plastic case: screw one half to the door track, stick the magnet to the door itself, and the contact opens and closes as the door passes — that's how the build knows the door is open rather than guessing.
This is the path the official ESPHome documentation covers, in the Simple Garage Door cookbook, and it works on nearly any opener that accepts a plain momentary wall button — "Chamberlain Security + 1.0 or Genie etc." as one community repo puts it, because you're shorting the same terminals the wall button shorts.
One config note before the parts list, because it confuses everyone who starts from the cookbook: the cookbook page describes "garage doors that are controlled by two relays" — one relay for open, one for close. Most openers have a single toggle button, so real builds (and this guide) pulse one relay per door for both open and close, and the cookbook's own config has no door sensor at all — it uses optimistic: true, meaning ESPHome just assumes the door did what it was told. Every community build adds the reed sensor so the state is real. The config below follows that community shape, with the cookbook cited as the official reference.
When it fits
Your opener has screw terminals for a plain wall button (most non-Chamberlain openers, and Chamberlain/LiftMaster Security+ 1.0).
You want the cheapest build and the most flexible hardware — one ESP32 handles two doors, and you may own half the parts already.
You're comfortable wiring to low-voltage opener terminals (a screwdriver and care; no soldering on the opener side).
Not a clean fit for Security+ 2.0 / myQ openers: there, the relay can only press a spare remote's button (digiblurDIY's well-documented approach) or the wall panel's own button — workable, but you're retrofitting around the encryption rather than speaking to the opener.
Parts (one door; prices checked 2026-11-29)
| Part | Qty | Approx price | Price basis |
|---|---|---|---|
| ESP32 dev board (generic DevKitC-style) | 1 | ~$5 | digiblurDIY build (esp32dev) |
| Relay module, dry-contact output (one channel per door; digiblur's build uses a dual board for two doors) | 1 | ~$3–5 | digiblurDIY parts list |
| Wired reed door sensor, screw-mount | 1 | ~$3 | digiblurDIY parts list |
| 5 V power supply + USB cable | 1 | ~$8 | azrael783 build requirements |
| Dupont jumpers + hook-up wire | set | ~$5 | azrael783 wiring counts (4 cables board→relay, 3 relay→opener) |
| Project box / enclosure | 1 | ~$5 | digiblurDIY: "to fit everything in and keep dust, bugs, etc out" |
| Ferrule crimp kit (optional) | — | ~$10 | digiblurDIY: "Optional but oh so awesome" |
| 2× 10 kΩ resistors (optional — only if wiring the opener's obstruction sensor for status) | 2 | <$1 | tronikos/esphome-gdo README |
| Spare wireless remote opener (only for Security+ 2.0 / myQ openers) | 1 | ~$25 | digiblurDIY parts list (the myQ workaround) |
Sub-total: roughly $20–30 for one door on the common parts — the ESP32, relay, reed sensor and a USB supply. Two doors share one board and power, adding one relay channel and one reed each.
⚠ Safety, Path A edition. The relay's contacts go ONLY across the opener's low-voltage wall-button terminals — the same two screws your wall button wires to. Never connect them to mains voltage, and never wire anything into the opener's motor or safety-sensor circuits. Athom's product page wording applies to any relay build, not just theirs: "Do not connect the relay directly to 110 V or 220 V mains power."
Wiring
Relay: ESP32 GPIO → relay module input; relay COM and NO contacts across the two wall-button terminals on the opener. Polarity doesn't matter — you're just shorting them, like the button does. digiblur uses GPIO22/relay1 and GPIO23/relay2 for two doors on one ESP32.
Reed sensor: one wire to GND, one to a GPIO with the internal pull-up enabled (digiblur uses GPIO18/GPIO19). Mount it where the door sits when fully closed, so the contact reads closed exactly when the door is closed — or at the fully-open position if you'd rather detect open. digiblur is emphatic about mounting: door reed with "screws! no glue or stickers)" — the door shakes every cycle and glued sensors fall off.
Power: 5 V USB supply for the ESP32; most relay modules share the same 5 V rail.

ESPHome config (one door: one relay, one reed)
esphome:
name: garage-door-opener
esp32:
board: esp32dev
framework:
type: arduino
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
- platform: esphome
switch:
- platform: gpio
pin: GPIO22
id: relay
name: "Garage Door Relay"
restore_mode: ALWAYS_OFF
on_turn_on:
- delay: 0.5s
- switch.turn_off: relay
binary_sensor:
- platform: gpio
name: "Garage Door Reed"
id: reed_switch
pin:
number: GPIO18
mode: INPUT_PULLUP
filters:
- delayed_on: 100ms
- delayed_off: 100ms
internal: true
cover:
- platform: template
device_class: garage
name: "Garage Door"
id: garage_cover
lambda: |-
if (id(reed_switch).state) {
return COVER_OPEN;
} else {
return COVER_CLOSED;
}
open_action:
- switch.turn_on: relay
close_action:
- switch.turn_on: relay
stop_action:
- switch.turn_on: relay
Shape credits: the official reference is the esphome.io Simple Garage Door cookbook (GPIO switch + template cover); the single-relay-per-door pulse and the reed-based cover state follow the digiblurDIY build (0.5 s pulse, reed lambda) and tronikos/esphome-gdo (relay auto-off in the switch config, endstop reporting). The relay's on_turn_on auto-off means every action — open, close, stop — is one short pulse; the door's own logic decides what a button press does.
Pulse length is opener-specific, not a constant: the cookbook uses 0.1 s, azrael783 uses 250 ms, digiblur 0.5 s. Start at 0.5 s; if the opener treats it as a held button rather than a press, shorten it.
Home Assistant side
The template cover shows up as a garage-door entity automatically (device class garage): one tile in the dashboard with open/close/stop, and the position comes from the reed sensor, not from hope. From there it's ordinary HA: notify when it's been open for 30 minutes, close it at bedtime, or — the reason many people build this — close it from anywhere without a subscription.
Pitfalls (the honest list)
Without the reed sensor, the state is a guess. The cookbook config alone is optimistic; the dashboard will happily say "closed" while the door is open. If you skip any part, don't skip the reed.
Security+ 2.0 / myQ openers need the workaround, and even then you get open/close control plus reed-based status — not the obstruction/light/motion status a ratgdo board reads natively (Path B).
Never trust a moving door. ESPHome can fire the relay from anywhere in the world; the door can't see what's under it. Keep the photo-eyes clean and aligned — they're the only thing that stops the door on a child, pet or car hood — and only operate the door when you can see it.
The relay adds no force limit and no reversal logic — those stay in the opener where they belong. If your door doesn't reverse on the 2×4 test (last section), fix the opener before adding smarts to it.
A dry-contact build controls; it doesn't sense. Obstruction events, light state, and motion are invisible to this path. That's fine for most people; know it going in.
Path B — a ratgdo board for Chamberlain/LiftMaster openers
What it is
ratgdo is an open-source control board by Paul Wieland that plugs into the same two-wire bus your wall panel uses and speaks the opener's own protocol — including Security+ 2.0. Instead of pressing a button, it reads and writes the real conversation: door position (opening/open/closing/closed), obstruction, the light, wireless lockout, even the motion sensor, straight from the signal wire. The feature page puts the headline advantage in one line: "No soldering or additional sensors are required to get the door status. Three simple wires (Ground, Control and Obstruction) are connected to the terminals of the garage door opener."
This is the only path that gets full status out of a myQ-era opener, and it's why the paths split the way they do: if you have a yellow-button Chamberlain/LiftMaster, this is your path. We also have a full in-house build-along for it: ratgdo: local Wi-Fi control for Chamberlain and LiftMaster garage doors.
The maker's compatibility claim covers "virtually any residential Chamberlain or Liftmaster manufactured garage door opener", with the generation split from the routing table: Security+ 2.0 (yellow button, most post-2011 openers), Security+ 1.0 (purple button), Security+ 1.0 (red button), and dry-contact openers.
When it fits
You have a Chamberlain/LiftMaster opener — especially a myQ/Security+ 2.0 one, where Path A can't touch the control terminals.
You want real door/light/obstruction status without adding sensors.
You'd rather flash firmware through a web browser than solder anything.
Caveats from ratgdo's own docs, kept honest:
The jackshaft 8500/RJ020 and 8500C/RJ020C are Security+ 1.0 despite the yellow button (the exception in the routing table).
Not every red-button opener supports digital communication — some won't respond to open/close commands; those run in dry-contact mode instead.
On Security+ 1.0, door status is partial: you need a compatible wall control panel (889LM / 041A7928-3MC) or ratgdo's panel-emulation mode — and emulation disables the light/lockout buttons on older analog panels like the 78LM.
Openers outside the Chamberlain family are out of scope unless they expose dry-contact controls (then the optional ratgdo Encoder add-on and limit switches provide status).
Parts
| Part | Qty | Price (checked 2026-11-29) | Notes |
|---|---|---|---|
| ratgdo32 control board with installation kit | 1 | $62.00 USD (ratcloud.llc) | Kit includes the control board, 3D-printed holster, USB-C→A cable, USB-A power supply, and the wire harness for the opener terminals. Firmware is not pre-loaded — you flash it free via the browser installer |
| ratgdo Encoder (optional) | 1 | sold separately at order time | Only needed for dry-contact openers/gates — provides door status via limit/reed switches (switches not included) |
| 889LM / 041A7928-3MC wall control panel (optional) | 1 | ~$30 at usual retailers | Only for Security+ 1.0 doors that lack one — enables full door status without emulation mode |
| Wiring | — | included | Three wires to the opener terminals: Ground, Control, Obstruction. No soldering |
Sub-total: $62.00 for the kit covers a Chamberlain/LiftMaster build; the add-ons only apply to S+1.0 status or non-Chamberlain dry-contact openers. Buy from the official store (ratcloud.llc) — third-party resellers charge more (one US reseller lists the same kit at $84.98).
⚠ Safety, Path B edition. ratgdo's own disclaimer deserves quoting: "Use this device at your own risk. To avoid risk of injury or property damage only operate the garage door within line of sight." Wiring is low-voltage (the opener's control bus), but you're connecting to a powered opener — kill the breaker first, and re-run the reversal test after installation.
Wiring
Three wires from the opener's terminals to the board — Ground, Control, and Obstruction — using the included harness; ratgdo's site has per-variant diagrams. The board itself mounts near the opener (the 3D-printed holster is in the kit) and powers from the included USB supply.

Firmware: a browser flash, no code
The ratgdo ESPHome installer walks you through it in the browser: pick your protocol, pick your board version, connect the board over USB, flash. The device then shows up in the ESPHome dashboard (adoptable, updatable over the air) and in Home Assistant with the full entity set — door, light, obstruction, lockout, motion.
The installer is writing a standard ESPHome config for you — here's the shape it generates for the current ratgdo32 board, verbatim from the project's official repo (this is their file, not our sketch):
---
substitutions:
id_prefix: ratgdo32
friendly_name: "ratgdo32"
uart_tx_pin: GPIO17
uart_rx_pin: GPIO21
input_obst_pin: GPIO4
status_door_pin: GPIO26
status_obstruction_pin: GPIO25
dry_contact_open_pin: GPIO13
dry_contact_close_pin: GPIO14
dry_contact_light_pin: GPIO27
web_server:
local: true
esphome:
name: ${id_prefix}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
min_version: 2026.10.0
project:
name: ratgdo.v32board_secplus2
version: "32.0"
esp32:
board: esp32dev
framework:
type: esp-idf
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v32board.yaml@main
packages:
remote_package:
url: https://github.com/ratgdo/esphome-ratgdo
ref: main
files: [base.yaml]
refresh: 1s
The packages: block pulls the ratgdo component and the full entity set from the project's own repo; the per-board YAML files live at github.com/RATGDO/esphome-ratgdo/static. Two troubleshooting notes from the installer page: the ratgdo32's USB-serial chip is a CH9102 (the older v2.5i boards use a CH340) — if your computer doesn't see the board, that driver is the first suspect.
For the full build — unboxing, mounting, wiring photos, and flashing — follow our in-house ratgdo build-along.
Pitfalls (the honest list)
It's a Chamberlain-family tool. Genie, Sommer, Hörmann and others aren't spoken; non-Chamberlain openers need the dry-contact + Encoder route, which eats the "no sensors, no soldering" advantage.
S+1.0 status is the weak spot — panel or emulation trade-off above.
The yellow-button exception (jackshaft 8500/RJ020) trips people up precisely because the button color says otherwise; check the model, not just the color.
Don't over-pay: the official kit is $62; reseller markups buy nothing extra.
Path C — ready-made ESPHome hardware (no soldering, no YAML from scratch)
Some readers want the door in Home Assistant this weekend and never want to open a terminal. Two ready-made devices run stock ESPHome — same firmware family, same local control, same Home Assistant integration — and they split along the same opener-family line as Paths A and B.

C1. GRGDO1 (Gelidus Research) — for the Chamberlain/LiftMaster lane
A purpose-built board (ESP32-S, 60 x 60 mm PCB in a 3D-printed enclosure, 8-pin quick-connect, 1 m of 3-conductor bell wire included) that powers itself directly from a US AC receptacle — one less power supply to buy and mount. It speaks the Chamberlain/LiftMaster Security+ protocol like a ratgdo (full YAML for both firmware options — RATGDO or Secplus GDO — is on its device page), and it also exposes three dry-contact trigger inputs (open/close/light) usable with other openers.
| Spec | Value |
|---|---|
| Price | $30–35 (RATGDO Alternate Board USB-C v2) · $39–44 (NEMA Passthrough USB-C v2) at gelidus.ca, checked 2026-11-29 |
| MCU | ESP32-S dual-core 240 MHz, 4 MB flash, Wi-Fi + BLE |
| In the box | 3D-printed enclosure, 8-pin quick-connect, 1 m 3-conductor 22 AWG bell wire |
| Power | Directly from US AC receptacle blades (120 VAC); AU/NZ 220 VAC variant; NEMA passthrough variant |
| Firmware | Two options, full YAML on the device page: RATGDO (esphome-ratgdo) or Secplus GDO (esphome-secplus-gdo) |
| Safety | "Follows UL/CSA specifications" (manufacturer's claim) |
⚠ US readers, sourcing caveat (checked 2026-11-29): the gelidus.ca shop currently carries a banner that "US Shipments are currently suspended until this can be assessed." US buyers chasing this lane today can fall back to the ratgdo32 kit (Path B) or the reseller option noted there.
Who picks it: Chamberlain/LiftMaster owners who want a plug-in appliance rather than a wired-in board — wall-outlet power, enclosure and wire in the box, still stock ESPHome YAML you can edit.
C2. Athom Garage Door Opener Made For ESPHome — for the button-trigger lane
Athom's unit is the ready-made version of Path A: an ESP32-C3 board, pre-flashed with ESPHome, with a momentary-pulse dry-contact relay for the opener's wall-button terminals and a door-position sensor in the box. No soldering, no YAML authoring — it adopts into Home Assistant out of the box, and the same hardware doubles as a Bluetooth Proxy by default.
| Spec | Value |
|---|---|
| Price | US$25.00 regular / US$18.75 sale at athom.tech, checked 2026-11-29 |
| MCU | ESP32-C3, 4 MB flash, 2.4 GHz Wi-Fi, BLE |
| Relay | Momentary pulse, dry-contact output → opener's wall-button terminals |
| Door status | External wired magnetic/reed sensor — included in the box with wiring accessories |
| Flashing | Built-in CH340C USB-serial (flash/recover over USB; OTA after Wi-Fi) |
| Config | Official YAML: github.com/athom-tech/esp32-configs — importable in the ESPHome dashboard |
| Cloud | None required — "No mandatory cloud service" per the product page |
Compatibility, in Athom's own words: "Before installation, confirm that your garage door opener supports a simple momentary wall-button or dry-contact input. A compatible opener normally has low-voltage terminals for an external wall switch. Openers using proprietary encrypted buses or special digital wall panels may require an additional interface or may not be compatible." That last sentence is the myQ line again: not for Security+ 2.0 openers — same limit as Path A.
Athom publishes the full ESPHome config it ships, importable straight into the ESPHome dashboard, and its cover logic is the same template-cover shape as Path A — relay pulse plus door-contact sensor. This is their cover block, verbatim from the official config file (the relay switch and contact sensor are defined earlier in the file):
cover:
- platform: template
device_class: garage
name: "Garage Door"
id: template_garage_door
lambda: "return id(contact).state ? COVER_OPEN : COVER_CLOSED;"
open_action:
then:
- if:
condition:
lambda: 'return !id(contact).state;'
then:
- switch.turn_on: relay
stop_action:
- switch.turn_on: relay
close_action:
then:
- if:
condition:
lambda: 'return id(contact).state;'
then:
- switch.turn_on: relay
Who picks it: the no-solder, no-YAML reader with a normal button-triggered opener — the cheapest ready-made option, arrives already running ESPHome with the reed sensor in the box, and Home Assistant adoption is a few taps. One unknown we couldn't verify from the product page: the power-input spec is not documented there (only USB flashing via CH340C is) — check the page or the included docs before assuming a particular supply.
⚠ Safety, Path C edition. Athom's own install notes are the right checklist for ANY of these devices: connect the relay contacts to the opener's wall-button terminals only — "Do not connect the relay directly to 110 V or 220 V mains power" — and "Keep the original safety sensors and emergency-release mechanism fully functional." Their summary line applies to every path in this guide: an ESPHome opener controller "is not a replacement for the garage door opener’s built-in safety system."
Side by side
| Criterion | A: relay + reed | B: ratgdo board | C: ready-made |
|---|---|---|---|
| Works on Security+ 2.0 / myQ | Workaround only (spare remote / panel button) | Full support | GRGDO1 yes · Athom no |
| Works on plain wall-button openers | Best fit | Dry-contact mode only (add Encoder) | Athom — best fit · GRGDO1 via dry-contact inputs |
| Door status | Open/closed (reed) | Full: position, obstruction, light, motion | GRGDO1 like B · Athom open/closed (reed in box) |
| Soldering | None on the opener side (relay wiring only) | None | None |
| Price band | ~$20–30 one door, DIY parts | $62.00 kit (official) | $30–44 GRGDO1 · $18.75–25 Athom (checked 2026-11-29) |
| Config effort | Copy/paste + edit YAML | Browser installer | Pre-flashed (GRGDO1: pick firmware; Athom: adopt) |
| Cloud | None — local only | None | None |
| Best for | Cheapest, most flexible, any button opener | Chamberlain/LiftMaster, especially myQ | Fastest to a working door |
After installation: the safety check
Every path ends the same way — verifying that the opener is still an opener, with its safety systems fully intact:
Photo-eyes: never bypassed, disabled or removed — any build that requires tampering with them is the wrong build. Clean the lenses, check alignment (the opener's LED usually confirms the beam is healthy).
Auto-reversal (the 2×4 test): lay a piece of wood (about 2 in / 5 cm thick) on the floor in the door's path and close the door. It must reverse on contact. If it doesn't, stop using the smart control and adjust the opener's force/reversal settings per its manual before anything else.
Force settings: if you added weight to the door (sensor, wiring clips), re-check the opener's up/down force so it still reverses on obstacles.
Line of sight: the convenience of closing the door from your phone is exactly the risk — the door can't see what you can't. Only operate it when the door is visible, and set up Home Assistant notifications (door open at night, door left open) instead of blind remote-triggering habits.
What we verified, and what we didn't
We verified, on 2026-11-29: every source link in this guide resolves (all pages re-fetched this session); the Path A ESPHome config compiles cleanly (ESPHome 2026.11.0, esp32dev target, Arduino framework — the exact YAML above) and so does the full official ratgdo32 config our Path B excerpt comes from (same ESPHome version, ESP-IDF framework, fetched straight from the ratgdo repo); the Path C snippet is verbatim bytes of Athom's own published config (not compiled by us); every quoted line appears verbatim in the maker's own page or repository as fetched this session; and every price is the maker's own store figure as retrieved today. We did not install or power any hardware: range, timing and behavior claims are the makers' and community builders', attributed as such throughout. One quote from our research notes (a paperclip-compatibility tip on Athom's mirror site) could not be re-verified in this session's fetches and was left out.
Keep going
ratgdo: local Wi-Fi control for Chamberlain and LiftMaster garage doors — the full in-house build-along for Path B, from kit to Home Assistant.
An automatic chicken coop door with an ESP32 — a friendlier first door project: sunrise/dusk scheduling, no safety-critical hardware in the loop.
Build an ESPHome voice assistant — the same ESP32 boards, used as always-on voice satellites for Home Assistant.
Easy ESPHome projects for Home Assistant, ranked — seven beginner-scaled builds to grow the fleet your garage door joined.
