Product Guides

How to Add a Garage Door Opener to Home Assistant Using a Dry Contact Relay

How to Add a Garage Door Opener to Home Assistant Using a Dry Contact Relay

Introduction  

Many people still rely on a remote control, wall button, or physical key to operate their garage daily. We've all been there: halfway down the road, panicking because you can't check if the door is closed, so you turn around. Or fumbling around in the dark because you can't find the remote. Or coming home in heavy rain and having to get out of the car just to press the wall button.  

So you start looking at smart garage door systems. But most of them — like MyQ, Chamberlain, or LiftMaster — depend on cloud services. They don't offer a proper local API, raise privacy concerns, and may not always work smoothly with Home Assistant. What you really want is local control: check status, open/close from your phone, and build reliable automations without relying on someone else's server.

Now you're wondering: Can I connect my existing garage door to Home Assistant? Do I need to buy a whole new opener?
The good news? Most garage doors can work with Home Assistant without replacing the existing opener. All you need is a dry contact smart relay (to simulate pressing the wall button) and a door sensor (to detect open/closed status). Once connected to Home Assistant, you can control, monitor, and automate your garage door — everything runs locally, no cloud.

In this guide, we'll explain how a garage door opener works, why dry contact relays are the most common DIY approach, and how devices like the SONOFF MINI-D (Wi-Fi) and MINI-ZBD (Zigbee) can help you build a simple and reliable garage door setup with local control.

 

 

 

What Is a Home Assistant Garage Door Opener?  

In a Home Assistant setup, a "garage door opener" usually means more than just the motor that lifts the door. Instead, it refers to a complete smart garage door control system that includes three main parts:

● A physical controller – usually a dry contact relay like the SONOFF MINI-D or MINI-ZBD — acts like a remote wall button. When triggered, it briefly closes the circuit and tells the garage door opener to open or close.

● A door sensor – a simple reed switch (door/window sensor) or a tilt sensor that can be used to detect the door position. This is important because the relay itself only sends a trigger signal — it does not know the actual door position.

● Home Assistant integration – HA combines the relay and the sensor into a single Cover entity. This allows the garage door to appear in dashboards, automations, and voice assistants as one smart device with open  and close controls.

 

 

How Home Assistant Garage Door Control Works?

Most garage door systems work through a simple wall button connection. When the button is pressed, the garage door opener detects a short contact signal and starts opening or closing the door.

A smart dry contact relay works the same way, except you trigger it remotely from Home Assistant. When triggered from Home Assistant, it briefly closes the dry contact circuit, sending the same signal as physically pressing the garage door button.  

● Wall button pressed → circuit closed → motor runs

But there is a catch. The dry contact relay can only control the door. It cannot tell if the door is open or closed. That's why you need a  reed sensor, tilt sensor, or door/window sensor for status detection. Without a sensor, Home Assistant is blind — it cannot tell whether the garage door is open or closed.

A typical DIY Home Assistant garage door opener setup usually looks like this:

● Dry contact smart relay for control

● Door sensor for status detection

● Home Assistant for automation and remote access

This approach is popular because it is affordable, works locally, and usually does not require replacing the existing garage door opener.

 

 

Do You Need to Replace Your Existing Garage Door Opener?

No — in almost all cases, you don't need to replace anything.

As long as your garage door opener supports a wall button connection — which most modern systems do — you can usually add a dry contact relay. The relay sits in parallel with your existing wall button, and both work independently — nothing about your current setup changes.  

There are a couple of exceptions where a standard dry contact relay may not work:

● Some newer Chamberlain and LiftMaster models using Security+ 3.0 use an encrypted digital signal instead of a simple contact trigger. A dry contact relay won't work with these.

● Very old or unusual openers with high-voltage wall button connections. Most garage door openers use low-voltage signals at the wall switch terminals (typically 12–24V AC/DC), which are safe for dry contact relays. However, a small number of older or non-standard units may use mains voltage (120V/240V) at those terminals. 
Before wiring any smart relay to your garage door, check your opener manual to confirm how the wall button terminals work.

*When in doubt, use a multimeter to measure the voltage at the terminals — or ask a licensed electrician for help.

 

 

MINI-D vs MINI-ZBD Dry Contact  Relay for Home Assistant Garage Doors

MINI-D

SONOFF MINI-D is a Matter-enabled dry contact smart switch designed for low-voltage control devices like garage doors, gates, boilers, and DC motors. It supports both NO/NC modes and works with AC or DC power input. With Matter support, MINI-D can integrate with Home Assistant for local control and smart automations.

MINI-ZBD

SONOFF MINI-ZBD is a Zigbee dry contact smart relay that supports both NO/NC configurations. It works with AC or DC power input and can connect to Home Assistant through ZHA or Zigbee2MQTT. It also works as a Zigbee router, helping improve Zigbee mesh coverage and stability.

MINI-D vs MINI-ZBD

Both devices work as a garage door opener relay in Home Assistant — choose based on your existing setup.

Features in Home Assistant

MINI‑D (Matter)

MINI‑ZBD (Zigbee)

Home Assistant integration

Matter integration

ZHA or Zigbee2MQTT

Local Control (no cloud)

ON/OFF

Power-on State

Detached Relay Mode

OTA

Turbo Mode


 

How to Add a Garage Door Opener to Home Assistant?

The exact setup process may vary depending on your garage door opener model and the smart relay you use, but the overall workflow is usually very similar.  

Here's the basic setup process:

Step 1: Wire the Dry Contact Relay to the Garage Door Motor

The dry contact relay is connected to the same wall button terminals used by the garage door opener. When triggered, the relay briefly closes the circuit and simulates pressing the wall button.

Note:

  • Before wiring anything, always turn off the power and check the garage door opener manual.
  • For safety, always follow the wiring instructions provided with your device or consult a qualified electrician if needed.

Step 2: Add the Relay to Home Assistant

For Zigbee dry contact relay:

  • You need a Zigbee coordinator (like SONOFF ZBDongle-P, ZBDongle-E) and ZHA or Zigbee2MQTT.
  • Put it in pairing mode and add it through Zigbee2MQTT or ZHA.
  • It will appear as a switch entity. Rename it to something like "garage door relay".

👉 Step-by-step Setup Guide: How to Add Zigbee Devices to Home Assistant via ZHA and Zigbee2MQTT

For Matter dry contact relay:

  • You need to install a Home Assistant Companion App on your smartphone.
  • Add it via the Matter integration in Home Assistant (Settings → Devices & Services → Add Integration → Matter).
  • Scan the Matter QR code from the device.

👉  Step-by-step Setup Guide: How to Add Matter Device to Home Assistant

Step 3: Add the Garage Door Sensor

Next, pair the garage door sensor (like SONOFF SNZB-04P, SNZB-04PR2) with Home Assistant in the same way. The sensor allows Home Assistant to detect whether the garage door is open or closed. This is important for reliable automations and status tracking.

👉  Best Zigbee Door & Window Sensors for Home Assistant: Setup and Automation Guide

Step 4: Basic Safety Automation

After setup is complete, you can start building garage door automations based on schedules, sensors, presence detection, or security conditions.  

 

 

Useful Garage Door Automations in Home Assistant

Automatically Close the Garage Door

If the garage door stays open for too long, Home Assistant can automatically close it after a set amount of time. Useful for when you forget after unloading the car.

💡Set a trigger: door sensor changing to "open" status for 10 minutes → Action: call the close command.

Send Alerts When the Door Is Left Open

Home Assistant can send a notification to your phone if the garage door remains open late at night or while nobody is home. This helps improve home security and prevents accidentally leaving the garage open.

💡Set a time-based trigger (e.g., 10:30 PM), condition: door is open, action: send a push notification to your phone via the Home Assistant companion app.  

 

 

Conclusion

Building a Home Assistant garage door opener setup is usually much simpler than many people expect. In most cases, you do not need to replace the existing garage door opener. By adding a dry contact smart relay and a garage door sensor, you can bring local control, remote access, and smart automations to your current system.

Devices like the SONOFF MINI-D and MINI-ZBD provide a simple way to integrate garage doors with Home Assistant. Whether you prefer Wi-Fi or Zigbee, both options can help create a reliable and flexible smart garage setup.

Once connected to Home Assistant, your garage door becomes part of your smart home — automations, alerts, and remote access included.

 

 

 

FAQ

Q1: Can Home Assistant open my garage door remotely?

Yes. As long as your Home Assistant instance is accessible, you can open and close your garage door from anywhere in the world.

Q2: Do I need an internet connection for this to work?

No. The relay and sensor communicate directly with Home Assistant over your local network. The Internet is only needed for remote access or notifications.

Q3: Can I keep my existing wall button after installing the relay?

Yes. The relay connects in parallel with the wall button. Both work independently. Nothing about your existing setup changes.

Q4: Is a dry contact relay safe to use with a garage door?

Yes. The dry contact output is voltage-free — it's just a switch that closes briefly. It doesn't inject any power into the garage door terminals. When used correctly with compatible systems, dry contact relays are generally safe for garage door control.

Q5: What sensor should I use to detect if the door is open or closed?

A standard door/window contact sensor works well. For Zigbee setups, the SONOFF SNZB-04P, SNZB-04PR2 are good options. Mount the sensor on the door and the magnet on the frame — when the door opens, the sensor and magnet separate, allowing Home Assistant to detect that the garage door is open.

 

 

 

Weiterlesen

Home Assistant Smart Switch Guide 2026: How to Choose, Set Up, and Automate

Hinterlasse einen Kommentar

Alle Kommentare werden vor der Veröffentlichung geprüft.

Diese Website ist durch hCaptcha geschützt und es gelten die allgemeinen Geschäftsbedingungen und Datenschutzbestimmungen von hCaptcha.