Control a Mastercraft garage door opener locally with Home Assistant

Here is another post about liberating a “cloud IoT” device with custom firmware, for local-only use with Home Assistant.

Photo Credit: Canadian Tire product listing

I installed the usual “cheapo” Mastercraft garage door opener, and it came with a NOMA IQ WiFi dongle (pictured above). Obviously, I won’t be using their app or connecting it to the Internet. So how to make it work with Home Assistant?

To be honest, I was unjustifiably pessimistic. I didn’t even try to open the dongle and see what was inside after it was all set up, just assumed it was so proprietary it would be pointless. Shame on me, because it turns out this baby has an ESP32C3 Mini in it!

Before long I found this GitHub repo by russinnes. It describes the following for the NOMA IQ dongle:

  • UART pins for flashing
  • UART pins for sending commands to opener
  • That the factory firmware is encrypted
  • How to burn the SPI_BOOT_CRYPT_CNT fuse again, allowing you to overwrite the stock firmware
  • Which commands are sent to the opener over UART for controlling the door/light

The readme for this repo ends by saying the author wrote their own firmware for it, but I’m looking to use ESPHome and Home Assistant.

Read on to see how I modified my Mastercraft garage door opener to work local-only with Home Assistant using the included WiFi dongle.

The dongle

It almost looks like a USB-WiFi adapter, but don’t be fooled. The pinout is not USB and you should not connect it to your PC.

Instead, the USB connector is used to pass VCC/GND to the dongle along with UART RX/TX for commands to the opener.

The casing opens easily into 2 halves, revealing our familiar microcontroller along with some very convenient test points.

YAML for ESPHome

Start by creating a new device in ESPHome, you can use the blank template for a generic ESP32C3 device.

Here is the YAML configuration I used for the garage door opener. It creates a switch for turning on/off the light, and a button for sending the “Activate Door” command. Note there don’t seem to be specific “open” or “close” functions.

esphome:
  name: nomaiq
  friendly_name: Garage Door

esp32:
  variant: esp32c3
  framework:
    type: esp-idf

logger:

api:
  encryption:
    key: ********

ota:
  - platform: esphome

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  ap:
    ssid: Fallback Hotspot
    password: ********

captive_portal:

web_server: # optional, for controlling the door directly on the ESP32 without HA
  port: 80

uart:
  id: nomauart
  tx_pin: GPIO19
  rx_pin: GPIO18
  baud_rate: 115200

sensor:
  - platform: wifi_signal
    id: sensor_wifi_signal_1
    name: WiFi Signal

switch:
  - platform: uart
    name: "Light"
    device_class: switch
    icon: "mdi:lightbulb"
    data:
      turn_on: [0xAA,0xAA,0x01,0x02,0x02,0x01,0x03,0x03,0x55,0x55]
      turn_off: [0xAA,0xAA,0x01,0x02,0x02,0x01,0x04,0x04,0x55,0x55]
  
button:
  - platform: uart
    name: "Activate Door"
    data: [0xAA,0xAA,0x01,0x02,0x02,0x01,0x00,0x00,0x55,0x55]

In the GitHub repo linked above, the author also identified status messages sent from the opener to the dongle (ex. door is open, door is closing, door is closed). However, my unit doesn’t seem to send these. With UART_DEBUG on I only seem to receive an echo as the “ack”.

Flashing your ESPHome firmware

The usual methods apply here:

  1. Connect your USB-UART adapter to UART0 of the dongle’s ESP32 (RXD and TXD, 3.3V logic, GND)
  2. Apply power to the dongle (VCC is 3.3V)
  3. Check that the crypto fuse is set (look for SPI_BOOT_CRYPT_CNT = 0b001):
    espefuse.py -p /dev/ttyUSB0 summary
  4. If it is, burn the fuse to disable it:
    espefuse.py -p /dev/ttyUSB0 burn_efuse SPI_BOOT_CRYPT_CNT
  5. Build and download the firmware .bin from ESPHome in Home Assistant
  6. Flash your firmware over the USB-UART:
    esptool -p /dev/ttyUSB0 write-flash 0x0 <esphome-firmware>.bin

Other brands

Similar openers are sold under the Skylink and Atoms brand names. My armchair research suggests they are probably nearly identical, including the WiFi dongle, so this might also work for them!

In an age where even your garage door opener is selling your personal information, hopefully this helps someone out!

Tags: , , ,

Saturday, December 5th, 2026 electronics, home automation, projects

Leave a Reply