Home Assistant

The XDA piece on ditching Tuya’s cloud for Matter says the quiet part out loud: cheap smart plugs are excellent hardware, but the Tuya cloud round trip turns “hey turn on the lamp” into a 900 ms delay and a lifetime hostage to a foreign service. Matter is the exit door. The devices already exist on your network; the job is unlocking them to speak locally.

We tested seven apps and firmware tools in 2026 that either flash Tuya devices with open-source firmware or bridge them into a Matter fabric via Home Assistant. Together they cover the two paths worth taking: replace the firmware, or expose the cloud-locked devices as Matter without replacing anything.

What to look for in a Tuya migration app

Quick comparison

App Best for Approach OTA flash Matter output
Home Assistant Central hub with plugin ecosystem Bridge or flash then integrate Via add-ons Yes (Matter Server)
Tuya Cloudcutter Over-the-air flashing Firmware replace Yes With Tasmota or ESPHome
LocalTuya Zero-flash local control Bridge over LAN No flashing Via Home Assistant
ESPHome Long-term maintainable custom firmware Firmware replace After first flash Via Home Assistant Matter
Tasmota Broad device coverage Firmware replace After first flash Via Home Assistant Matter
OpenHAB Alternative Java-based hub Bridge and integrate No Yes
Matter Server Exposing Home Assistant devices to Matter Matter bridge No Yes

The 7 best apps for migrating Tuya devices to Matter

1. Home Assistant — best overall

Home Assistant is the hub every other tool on this list plugs into. It handles the bridge case (LocalTuya integration), the flash case (adopt an ESPHome or Tasmota device after re-flash), and it publishes any device to Matter via the Matter Server add-on. Once the devices are in Home Assistant, exposing them to Apple Home, Google Home, or SmartThings is a single toggle.

Where it falls short: Real learning curve. First install, HACS setup, and Matter add-on install take a Saturday afternoon. Some Tuya devices need a bit of trial and error to identify.

Pricing: Free and open source.

Platforms: Runs on any Linux box, a Raspberry Pi, or Windows and macOS via Docker.

Download: home-assistant.io · GitHub

Bottom line: Install this first. Every other tool below is nicer when it hands off to Home Assistant.

2. Tuya Cloudcutter — best for OTA flashing

Tuya Cloudcutter exploits a firmware update flow to replace Tuya’s firmware over the air, without opening the device. Supported plugs, bulbs, and switches jump from Tuya’s cloud stack to Tasmota or ESPHome in ten minutes and never phone home again. The maintained device list has grown steadily and now covers most sub-$10 plugs sold in the last three years.

Where it falls short: Only works on devices whose firmware version is still exploitable. Newer devices sometimes ship with a patched Tuya firmware; check the device list first. Bricked devices can be recovered but the recovery uses a serial cable.

Pricing: Free and open source (AGPL-3.0).

Platforms: Linux, Windows (WSL), macOS.

Download: github.com/tuya-cloudcutter/tuya-cloudcutter

Bottom line: If your device is on the supported list, this is the shortest path from Tuya-locked to fully local.

3. LocalTuya — best zero-flash option

LocalTuya is a Home Assistant integration that talks to Tuya devices directly on the LAN. You extract a local key once (Tuya’s own developer portal will hand it to you), configure the device in Home Assistant, and every command bypasses the cloud. The devices keep their original firmware; the cloud connection stays available if you ever need it.

Where it falls short: You need to keep the extracted key safe. When Tuya rotates a device’s local key after a firmware update, you need to re-extract.

Pricing: Free and open source (MIT).

Platforms: Any Home Assistant install.

Download: github.com/rospogrigio/localtuya

Bottom line: Best pick when you cannot flash the firmware (Zigbee/Bluetooth Tuya, warranty concerns, or a stubborn device). Slightly slower than a flashed device but cloud-free.

4. ESPHome — best long-term custom firmware

ESPHome compiles a YAML config into a tailored firmware image for ESP-family chips. Once flashed, the device shows up in Home Assistant natively, updates OTA from the Home Assistant dashboard, and can be extended with sensors, buttons, or LEDs the original vendor never exposed. Reliable, stable, and treats each device as code.

Where it falls short: The initial flash needs a working entry point (Cloudcutter, OpenBK, or a serial cable). Learning YAML config is a real cost, though the docs are excellent.

Pricing: Free and open source (MIT and GPL-3.0).

Platforms: Any Home Assistant install (add-on).

Download: esphome.io · GitHub

Bottom line: Where you want the smart-plug fleet to live in five years, once it works.

5. Tasmota — best for broad device coverage

Tasmota is the veteran open-source firmware for ESP-family and, via OpenBK7231T, for BK7231-based Tuya boards. It ships as a prebuilt binary you flash and configure via a web UI, and it exposes MQTT (and now Matter, via a bridge) to any hub. The device compatibility database is the widest in the space.

Where it falls short: Not as elegant as ESPHome for “device as code” workflows. Some newer chips get Tasmota support months after Tuya starts shipping them.

Pricing: Free and open source (GPL-3.0).

Platforms: Flashed onto ESP8266, ESP32, and BK7231 devices; managed from any browser.

Download: tasmota.github.io · GitHub

Bottom line: If your Tuya device is not in the ESPHome list, Tasmota usually has it.

6. OpenHAB — best Home Assistant alternative

OpenHAB is the mature Java-based smart-home hub with a proper Matter binding shipped in 2026. If you prefer a hub built around rules and services over the Home Assistant automation model, OpenHAB can talk to LocalTuya-style local Tuya devices via its own binding and bridge them into Matter.

Where it falls short: Smaller community than Home Assistant. Fewer Tuya-specific tools in its ecosystem, so more manual configuration.

Pricing: Free and open source (EPL-2.0).

Platforms: Any OS with Java, plus a Raspberry Pi image.

Download: openhab.org

Bottom line: Choose OpenHAB when you already know it or when you specifically want a rules-first hub.

7. Matter Server — best glue for Home Assistant to Matter

Matter Server is the Home Assistant add-on that turns any exposed Home Assistant device into a Matter endpoint. Once installed, a Tuya smart plug that Home Assistant sees via LocalTuya becomes a fully compliant Matter device that Apple Home, Google Home, and SmartThings pair with directly.

Where it falls short: Not a migration tool on its own; it needs Home Assistant plus one of the paths above to have devices to expose. Some Matter fabrics take a beat to accept a new controller.

Pricing: Free and open source (Apache 2.0).

Platforms: Home Assistant add-on.

Download: github.com/home-assistant-libs/python-matter-server

Bottom line: The missing bridge between “device works in Home Assistant” and “Apple Home sees it as native.”

How to pick the right one

FAQ

Do I need a Thread border router for this?

Only for Thread-based Matter devices. WiFi Matter devices, which is what flashed Tuya plugs become, do not need Thread. A single Matter controller (Home Assistant with Matter Server, or an Apple TV) is enough.

Will flashing Tuya firmware void the warranty?

Usually yes. Tuya devices are cheap enough that this is rarely a practical concern; the flash also removes the manufacturer’s ability to see whether you flashed. Use LocalTuya if warranty matters.

Are Zigbee Tuya devices supported by these tools?

Not by the flashing tools. Pair Zigbee Tuya devices with a Zigbee coordinator (SLZB-06 or Sonoff Zigbee 3.0 USB Dongle Plus) running Zigbee2MQTT, then expose to Matter via Home Assistant.

How much faster is local control than the Tuya cloud?

On the local network, response drops from around 800-1200 ms to 20-80 ms. Automations feel like real switches instead of “I said click a minute ago.”

Which apps still keep the Tuya cloud in the picture?

LocalTuya keeps the device on Tuya’s firmware, so the cloud remains reachable if you ever plug it in. Flashed devices with ESPHome or Tasmota lose the cloud connection permanently.