Black Friday: smart home deals to watch on Amazon.ca
LeLaboDomotique.com
Tutorials

Automate Your Garage Door With Home Assistant (No MyQ)

LiftMaster Security+ 2.0 ceiling-mounted residential garage door opener motor with rail and red emergency release cord

What you’ll build

Leaving the garage door open overnight in January isn’t just a security headache: at -25 °C, an attached garage drops below freezing within a couple of hours and puts nearby plumbing at risk. Since Chamberlain and LiftMaster shut third-party platforms out of the MyQ cloud API, thousands of Canadian homeowners have been looking for a clean way to bring their garage door back into Home Assistant 100% locally, with no cloud and no subscription.

This step-by-step guide sets up three practical features:

  1. 100% local control and real-time status: open, close and see the door’s actual position inside Home Assistant, even if your Internet goes out.
  2. Critical “door left open” alert: high-priority phone notification after 15 minutes, plus a nightly 9:30 p.m. check with a one-tap close button.
  3. Automatic garage lighting: turn on the overhead lights whenever the door opens after dusk and shut them off 10 minutes after closing.

If you don’t have a local server running yet, start with our guide to installing Home Assistant on a Mini PC.

Hardware you’ll need

Your controller choice hinges on one quick check: the colour of the “Learn” button on your garage door motor. Grab a stepladder and look at the back panel or under the light cover before buying anything.

Option 1: All-in-one local controller via HomeKit (best for most homes)

The Meross MSG100HK (HomeKit edition) is the fastest route to local control. It includes a long wired magnetic reed sensor (no batteries to freeze in winter) and pairs directly into Home Assistant through the built-in HomeKit Device integration, without relying on the Meross cloud for daily operation.

Simplest all-in-one

Meross Smart Garage Door Opener (MSG100HK)

Local Wi-Fi

Pros

  • Connects 100% locally to Home Assistant via the official HomeKit Device integration (no subscription, no cloud needed after setup)
  • Wired magnetic open/close sensor included: zero coin-cell batteries dying at -25 °C in an unheated garage
  • Works with most North American openers, including Security+ 2.0 (yellow learn button) using the free accessory Meross sends on request
  • Powered by a standard 120 V USB adapter plugged right into the ceiling outlet next to the opener

Cons

  • You must buy the 'HK' (HomeKit) variant for native local control without custom integrations: check for MSG100HK on Amazon.ca before ordering
  • Needs reliable 2.4 GHz Wi-Fi coverage at the garage ceiling
  • Requires neatly routing and stapling the wired sensor cable along the track to the top of the door
Check the price on Amazon.ca

Approximate budget: around $45 – $65 on Amazon.ca (confirm the listing says HomeKit / MSG100HK).

Option 2: 100% local dry-contact relay (classic non-Security+ 2.0 openers)

If your opener uses a standard dry-contact wall push-button (most Genie, Overhead Door, Linear, and older green/red/orange/purple-button Chamberlain or LiftMaster motors), an isolated Shelly 1 Gen4 UL paired with a Zigbee tilt sensor gives you a rock-solid, completely open local setup.

Best DIY 100% local option

Shelly 1 Gen4 UL

Local Wi-Fi

Pros

  • Isolated dry-contact relay (I and O terminals) that cleanly mimics pressing the wall push-button
  • UL/cUL-certified North American version; runs on either 120 V AC or low-voltage 12 V DC
  • Official 100% local Home Assistant integration over WebSocket, with no Shelly cloud account required
  • Doubles as a Bluetooth proxy in the garage for nearby temperature or environmental sensors

Cons

  • Does not wire directly to Chamberlain / LiftMaster Security+ 2.0 (yellow button) motor terminals without an adapter or soldering to a spare remote
  • Does not include a door position sensor: you must pair it with a tilt sensor or wired contact switch
  • Requires an approved electrical enclosure if powered from 120 V line voltage
Check the price on Amazon.ca

Approximate budget: around $25 – $45.

Cold-weather position sensor (for Shelly setups or monitoring only)

If you use a Shelly — or simply want open-door alerts without wiring anything to the motor — a AAA-powered Zigbee tilt sensor handles Canadian winters far better than a CR2032 coin-cell contact sensor.

Cold-weather friendly (lithium AAA)

THIRDREALITY Zigbee Smart Garage Door Tilt Sensor

Zigbee

Pros

  • Tracks the real tilt angle of the top door panel: no magnet alignment headaches
  • Takes 2 standard AAA batteries: swap in Energizer Ultimate Lithium AAA cells for reliable operation down to -40 °C
  • 100% local Zigbee 3.0 with ZHA or Zigbee2MQTT, plus 4 manual sensitivity levels
  • Installs in two minutes using the included 3M tape or two small screws

Cons

  • Requires an existing Zigbee USB stick on your Home Assistant server
  • Monitors door status only: it does not open or close the motor on its own
  • Check Zigbee signal strength if an insulated fire-rated wall separates your house and garage
Check the price on Amazon.ca

Approximate budget: around $30 – $45.

Optional Zigbee repeater for the garage

Between a Canadian home and an attached garage, thick fire-rated drywall, insulation and the electrical panel often dampen Zigbee signals. Plugging a certified Zigbee smart plug into the nearest interior wall outlet — or inside the garage itself — bridges the gap reliably.

Reliable Zigbee repeater

THIRDREALITY Smart Plug Gen3 (Zigbee)

Zigbee

Pros

  • ETL-listed for North American 120 V / 15 A outlets and acts as an always-on Zigbee mesh router
  • 100% local in ZHA and Zigbee2MQTT, with built-in power monitoring as a bonus
  • Can power a tool charger or workshop light while extending your Zigbee mesh

Cons

  • Dry indoor use only: keep it away from wet or unheated damp corners
  • Not needed if you only install the Wi-Fi Meross MSG100HK
Check the price on Amazon.ca

Approximate budget: around $15 – $25 per plug.

Step 1: Check your garage door opener compatibility

Before buying or wiring anything, take 30 seconds to check what kind of wall control your opener uses:

  1. Locate the two wall-button terminals on the back of the motor head (usually labelled RED and WHITE, PB and COM, or 1 and 2).
  2. Leave the safety photo-eye terminals alone — those belong strictly to the infrared beams at the bottom of the tracks.
  3. Check the colour of the Learn button on the motor:
    • Yellow Learn button (Chamberlain / LiftMaster / Craftsman Security+ 2.0): the wall control speaks an encrypted digital protocol. Go with the Meross MSG100HK and run your model through Meross’s compatibility checker: if it needs the Security+ 2.0 accessory, Meross ships it free once you submit your order number.
    • Red, orange, green or purple Learn button, or Genie / Overhead Door / Linear openers: nearly all of these use a standard dry contact. Briefly bridging the two wall-button terminals for half a second triggers the door. Both the Meross MSG100HK and the Shelly 1 Gen4 UL wire straight in.

Step 2: Wire the controller and mount the sensor

Electrical safety: unplug the opener’s 120 V ceiling cord before touching any terminals. Keep all wires secured well clear of chains, belts, springs and pulleys.

If you chose the Meross MSG100HK

  1. Connect the Meross signal leads in parallel with the existing wall-button wires on the motor terminals (keep your wall button wired so manual control always works). On yellow-button motors, wire the Meross Security+ 2.0 accessory inline per the included diagram.
  2. Mount the wired magnetic reed switch on the stationary track or header, and place the magnet on the top door panel roughly 1 to 2 cm away when the door is fully shut.
  3. Secure the sensor cable neatly back to the motor head, plug in the Meross USB power adapter and restore power to the opener.

If you chose the Shelly 1 Gen4 UL + Zigbee tilt sensor

  1. Power the Shelly 1 Gen4 UL from a cUL/CSA-certified 12 V DC wall adapter plugged into the ceiling outlet (the easiest way to stay strictly on low voltage) — or have a licensed electrician install a 120 V junction box if you prefer line-voltage power.
  2. Run 18/2 low-voltage wire from the Shelly’s isolated I and O dry-contact terminals to the opener’s two wall-button terminals. Never tie the Shelly’s power input to I or O.
  3. Mount the THIRDREALITY Zigbee tilt sensor upright on the inside of the top door panel (arrow pointing up). Before winter, swap in 2 lithium AAA batteries if your garage is unheated.

Step 3: Connect everything 100% locally in Home Assistant

Path A: Meross MSG100HK via HomeKit Device (zero cloud)

  1. Join the Meross MSG100HK to your 2.4 GHz Wi-Fi network first. On an iPhone, pair it briefly in Apple Home to pass your Wi-Fi credentials, then remove it from Apple Home without factory-resetting it (it stays on your local Wi-Fi ready for Home Assistant). On Android, join it via the Meross app, then optionally block its WAN Internet access on your router for complete local isolation.
  2. In Home Assistant, open Settings → Devices & services: the HomeKit Device integration automatically discovers the MSG100HK on your LAN.
  3. Click Configure and enter the 8-digit HomeKit setup code printed on the device (XXX-XX-XXX).
  4. Home Assistant creates a full cover.garage_door entity (open, close, real-time open/closed/moving state) that communicates 100% locally on your network.

Path B: Shelly 1 Gen4 UL + Zigbee tilt sensor (unified cover entity)

  1. Open the Shelly’s local web UI (http://192.168.x.x), go to Timers → Auto Off and set it to 0.5 seconds. Every trigger now mimics a quick push on the wall button.
  2. Add the relay via Home Assistant’s official Shelly integration (local WebSocket, no cloud account) and rename the switch to switch.garage_pulse.
  3. Pair the THIRDREALITY tilt sensor in ZHA or Zigbee2MQTT (binary_sensor.garage_door_tilt, where on = open and off = closed).
  4. Combine the relay and sensor into a single garage door entity (cover.garage_door) in configuration.yaml:
template:
  - cover:
      - name: "Garage Door"
        unique_id: local_garage_door
        device_class: garage
        state: "{{ is_state('binary_sensor.garage_door_tilt', 'on') }}"
        open_cover:
          - condition: state
            entity_id: binary_sensor.garage_door_tilt
            state: "off"
          - action: switch.turn_on
            target:
              entity_id: switch.garage_pulse
        close_cover:
          - condition: state
            entity_id: binary_sensor.garage_door_tilt
            state: "on"
          - action: switch.turn_on
            target:
              entity_id: switch.garage_pulse
        stop_cover:
          - action: switch.turn_on
            target:
              entity_id: switch.garage_pulse

Notice the state guard inside open_cover and close_cover: if the door is already shut, calling “Close” will not accidentally fire a pulse and open it back up.

Step 4: Set up a “door left open” alert (with winter protection)

This single automation pays for the whole setup the first time someone forgets to hit the button after unloading groceries. It alerts you after 15 minutes and runs a nightly 9:30 p.m. check with an instant close button right inside the notification:

alias: "Garage - Door left open alert"
mode: restart
triggers:
  - trigger: state
    entity_id: cover.garage_door
    to: "open"
    for: "00:15:00"
    id: "open_too_long"
  - trigger: time
    at: "21:30:00"
    id: "nightly_check"
conditions:
  - condition: state
    entity_id: cover.garage_door
    state: "open"
actions:
  - action: notify.mobile_app_my_phone
    data:
      title: "Garage door is open"
      message: >
        The garage door has been left open
        {% if trigger.id == 'nightly_check' %}at 9:30 p.m.{% else %}for more than 15 minutes{% endif %}.
      data:
        actions:
          - action: "CLOSE_GARAGE"
            title: "Close the door"
        push:
          sound:
            name: default
            critical: 1
            volume: 0.8
        priority: high

Pair that with a tiny companion automation listening for the mobile_app_notification_action event where action equals "CLOSE_GARAGE" to call cover.close_cover on cover.garage_door. You keep a human-in-the-loop one-tap close, avoiding any surprise closure onto a bumper parked half-in.

If your attached garage houses water lines or a water heater, pair this with our freeze and heating failure alerts tutorial.

Step 5: Automatically light up the garage when the door opens

If your garage ceiling lights are wired to a local smart switch (see our Wi-Fi vs. Zigbee smart switches comparison), turn them on automatically whenever the door opens after dusk and switch them off 10 minutes after closing:

alias: "Garage - Auto lights on door open"
mode: restart
triggers:
  - trigger: state
    entity_id: cover.garage_door
    to: "open"
    id: "opened"
  - trigger: state
    entity_id: cover.garage_door
    to: "closed"
    for: "00:10:00"
    id: "closed"
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: "opened"
          - condition: sun
            after: sunset
            after_offset: "-00:30:00"
        sequence:
          - action: light.turn_on
            target:
              entity_id: light.garage_ceiling
      - conditions:
          - condition: trigger
            id: "closed"
        sequence:
          - action: light.turn_off
            target:
              entity_id: light.garage_ceiling

To trigger the door from the driveway without paying for a cloud relay, set up secure remote access via WireGuard or Tailscale VPN — and consider securing the interior house-to-garage door with a cold-weather smart lock.

Mistakes to avoid

  • Buying the standard Meross MSG100 instead of the MSG100HK. Only the HomeKit (HK) edition provides native 100% local control through Home Assistant’s HomeKit Device integration without relying on the Meross cloud.
  • Overlooking a yellow Security+ 2.0 Learn button. Wiring a Shelly 1 directly across a yellow-button LiftMaster or Chamberlain motor terminal will not cycle the door. Always check the Learn button colour first.
  • Leaving alkaline batteries in an unheated garage. At -20 °C, alkaline cells sag fast and knock your tilt sensor offline right when you need freeze alerts most. Use the Meross wired sensor or lithium AAA batteries in the THIRDREALITY sensor.
  • Forgetting Auto Off (0.5 s) on a Shelly relay. Leaving a dry-contact relay latched continuously locks out the physical wall push-button and can disable RF remotes.
  • Skipping photoelectric safety beam checks. Test the infrared safety eyes near the floor regularly (waving a foot through the beam while closing must reverse the door immediately), especially in winter when ice heave or packed snow can knock a sensor out of alignment.

Photo: “LiftMaster Security+ 2.0 P3 Garage Door Motor Opener”, Tony Webster, Wikimedia Commons, CC BY 2.0 license (cropped and converted).

Frequently asked questions (FAQ)

Why replace Chamberlain MyQ to control a garage door in Home Assistant?

Chamberlain and LiftMaster blocked third-party access to the MyQ cloud API, breaking direct Home Assistant integrations. Switching to a local controller like the Meross MSG100HK (via HomeKit Device) or a Shelly dry-contact relay removes cloud dependence, works even when your Internet is down, and requires zero monthly subscription.

Does the Shelly 1 Gen4 UL work directly with a yellow-button Chamberlain or LiftMaster opener (Security+ 2.0)?

Not directly on the motor terminals. Security+ 2.0 openers (yellow learn button) use encrypted serial communication between the wall button and the motor rather than a simple dry contact. With a yellow learn button, choose either the Meross MSG100HK with the free adapter Meross provides on request, or wire a Shelly 1 Gen4 UL across the button pads of a spare remote.

Will a battery-powered garage door sensor survive a Canadian winter at -25 °C?

Standard alkaline batteries and CR2032 coin cells drop voltage fast below -10 °C, causing false alerts or dropouts in January. In an unheated garage, use either the wired magnetic reed switch included with the Meross MSG100HK (zero batteries) or a AAA-powered Zigbee tilt sensor like the THIRDREALITY loaded with lithium AAA cells rated down to -40 °C.

Is it safe to automate closing a garage door at night?

Yes, as long as the motor's photoelectric safety beams near the floor and its mechanical reversal system remain fully intact and tested. Never bypass those safety sensors, and favour an actionable phone notification or a flashing light warning rather than blind unattended closing.

Related articles