If you’ve decided you want your Wi-Fi Tuya or Smart Life devices talking to Home Assistant without routing every command through Tuya’s servers, the first page of search results doesn’t make it easy. There’s LocalTuya. There’s Tuya Local. There’s also the official tuya integration built into Home Assistant core, which sounds local and isn’t. Multiple Home Assistant community forum threads carry near-identical titles asking which one to actually use, spread across different years, which is a good sign this confusion is structural, not a one-off.
This article sorts out what each project actually is, how they differ in setup approach, and which one fits your situation depending on whether your device is common or an oddball nobody’s written a config for. None of this comes from installing the integrations ourselves. It’s a synthesis of each project’s own GitHub release history, README documentation, and Home Assistant community discussion, cited throughout.
If your device is common, start with tuya-local (make-all) and its guided setup. If it’s an oddball model tuya-local doesn’t recognize, LocalTuya’s manual datapoint setup is the fallback — and compare the exact repository’s current release and compatibility notes. Either way, you still need your device’s local_key.
Three names, three different things
Part of the confusion is that these aren’t variants of one project. make-all/tuya-local and rospogrigio/localtuya are two independent codebases, and make-all’s README explicitly describes the other as a similar but unrelated integration rather than a fork. Then there’s the official tuya integration that ships in Home Assistant core, which is a third thing entirely and routes every command through Tuya’s cloud regardless of what its name implies.
The practical upshot: someone asking “LocalTuya or Tuya Local?” is usually choosing among three separate projects, not two flavors of one. Worth sorting out before touching a config flow.
tuya-local (make-all): predefined configs, active in 2026
make-all/tuya-local installs the tuya_local custom integration. It matches locally returned datapoints against predefined device files, then offers plausible matches. Its documentation describes more than 1,000 supported configurations. A familiar brand/model is only a starting point: a firmware revision or visually identical product can use different datapoints.
The stable 2026.10.0 release was published on 23 October 2026, following September releases. That establishes recent released development, rather than relying on star counts or forum popularity. Check the device list and release notes for your actual model before selecting it.
There are two documented setup paths. Cloud-assisted setup authenticates through a Tuya/Smart Life account to obtain the device ID and local key, and tries local discovery for its address. It does not require a separate Tuya IoT developer account. Alternatively, provide the address, device ID, local key and protocol manually. The documentation says the temporary cloud authentication token is not saved; the local connection data needed for later operation is retained in Home Assistant.
After connection, the integration filters configuration candidates by returned datapoints. A partial match is not proof that a configuration is correct: check controls, units, value ranges and enabled entities against the device’s documented functions. If there is no accurate match, contributing a new device file is another route; choosing a different integration is not the only option.
LocalTuya (rospogrigio) and its forks: manual setup, but pick the fork deliberately
rospogrigio/localtuya uses the localtuya custom integration and allows entities to be mapped to numeric datapoint IDs. A DP is one device function or value: for example, a particular switch might use DP 1 for its first relay. That is an illustration, not a universal Tuya mapping. Read that device’s returned DPS, type, scaling and supported ranges before assigning controls.
LocalTuya now also means several forks. Their release histories contradict a blanket claim that the original is abandoned or all forks have only old releases. The following were checked on 24 October 2026:
| Repository | Latest published release checked | Practical distinction |
|---|---|---|
| rospogrigio/localtuya | v5.2.5 — 29 January 2026 | Original project; README documents protocol 3.1–3.4, manual entity mapping and optional cloud-assisted key retrieval |
| xZetsubou/hass-localtuya | 2026.10.0 — 19 October 2026 | Fork with manual configuration, cloud-assisted automatic entity configuration and documented gateway/sub-device features |
| leeyuentuen/localtuya | 3.7.0-beta.15 — 11 May 2025, prerelease | Separate fork; evaluate its own release notes and compatibility |
The xZetsubou fork is therefore not accurately described as manual-only. Its automatic setup uses cloud DP codes and device category information to create entities, which can be adjusted afterward. Manual mapping remains useful when automatic selection is incomplete or wrong. It still cannot make an unsupported protocol or cloud-only function appear on the LAN.
For its optional Cloud API route, the fork’s setup guide calls for a Tuya IoT project, the correct account data center and linked app account, then project credentials and UID. Its wizard lists Industry Basic Service, Smart Home Basic Service and Device Status Notification; permission and subscription errors need to be checked against the actual API the project calls. These are cloud setup permissions, not a requirement that every later switch command goes through the cloud. You can instead skip Cloud API setup and supply known local credentials manually.
Forks commonly use the same custom_components/localtuya directory/domain. Treat switching fork as a migration, with a Home Assistant backup and the target project’s instructions; installing two into that directory does not create two independent integrations. Read exact repository names in HACS rather than relying on the display name.
Where LocalTuya’s reputation comes from
Chinese-language discussions often use 本地化 (localization) or 局域网涂鸦的解决方案 (a Tuya solution over the LAN) for this approach. Those terms describe local communication, not the identity of one repository or proof that setup never touches a Tuya account. Searching for local_key, the exact repository owner and model together is more useful than treating LocalTuya’s name recognition in 瀚思彼岸 (bbs.hassbian.com) or other communities as a support guarantee.
What both still require: the local_key step
For ordinary directly connected Tuya Wi-Fi devices, both integrations need an address, device ID, suitable local protocol support and the device’s local_key. The key authorizes encrypted local communication; it is not your Tuya account password. Re-pairing in the app normally changes it. In protocol 3.1, a wrong key can allow a status query to appear successful but fail on control; newer protocols also use it to decrypt received data. Do not equate “I can see DPS” with a complete working setup.
The local-key walkthrough covers cloud-project mechanics if you use that route. make-all’s app-account-assisted flow avoids the separate developer portal, while LocalTuya’s optional Cloud API route has different permissions and credentials. TinyTuya can help examine protocol/DPS support outside Home Assistant.
Protocol support is another reason to compare exact versions. make-all’s 2026.10.0 documentation offers auto, 3.1, 3.2, 3.3, 3.4, 3.5 and the special 3.22/device22 mode. Upstream LocalTuya’s README documents 3.1–3.4; the xZetsubou 2026.10.0 release lists 3.1–3.5. A supported version number still does not establish the meanings of that device’s DPS or guarantee every function is exposed locally.
Many devices allow only one local client. Close the Tuya/Smart Life app and disable competing local integrations when diagnosing connection failures. The correct key cannot overcome every device limitation: sleep-managed Wi-Fi sensors, gateway connection limits and functions implemented only in the vendor cloud need separate checks.
Both projects primarily target Tuya LAN devices, with model-dependent gateway/sub-device support. For a Tuya-branded Zigbee device, pairing directly with ZHA or Zigbee2MQTT avoids the Tuya Wi-Fi key workflow entirely. Neither local integration automatically prevents the physical Wi-Fi device from contacting Tuya. Firewall isolation is a separate, model-specific step, and some firmware behaves poorly when disconnected for extended periods.
What neither is: the official, cloud-only Tuya integration
Home Assistant’s built-in tuya core integration is fully cloud-dependent. It routes every command through Tuya’s servers, with no local fallback. It is not a variant of LocalTuya or tuya-local, and its name is exactly why readers searching for a local option end up confused.
If your goal is keeping these devices working without Tuya’s cloud in the loop at all, the core integration isn’t the tool for that job regardless of how “local” the branding sounds elsewhere in the Tuya ecosystem. For the broader question of what Tuya’s cloud actually collects, and why a reader would want either local integration in the first place, see our existing coverage.
Which one for your situation
| Your situation | Starting point | What to check |
|---|---|---|
| Device accurately matches a make-all configuration | tuya-local (make-all) | Predefined entities, firmware/DPS match and app-assisted or manual credentials |
| Unusual device or mapping needs adjustment | LocalTuya repository with appropriate current support, such as xZetsubou/hass-localtuya | Protocol, entity platforms and DPS meanings; automatic setup may help when its Cloud API is configured |
| Device absent from make-all’s catalog | Compare manual LocalTuya mapping with contributing a tuya-local device file | Neither guarantees support for every arbitrary function |
| Tuya Zigbee device with an independent coordinator | ZHA or Zigbee2MQTT | Exact fingerprint/handler, rather than a Wi-Fi local key |
| Want the built-in HA integration and accept cloud dependence | Core tuya |
Cloud-supported functions and account compatibility |
A matching make-all config is a reasonable first try because it avoids hand-mapping each entity. LocalTuya is useful when its configuration and platform support fit the device better, including a maintained fork’s automatic setup. The deciding evidence is actual local DPS/protocol support and the chosen release’s device behavior, not an absolute winner by catalog size. Blocking device internet access comes after confirming local operation, not as a side effect of installation.
FAQ
What’s the difference between LocalTuya and Tuya Local in Home Assistant? make-all/tuya-local (tuya_local) uses predefined device files matched to returned datapoints. rospogrigio/localtuya and its forks (localtuya) provide entity configuration by DP; some forks also offer cloud-assisted automatic mapping. They are different projects.
Do I need a Tuya developer account for LocalTuya or tuya-local? Not for every route. make-all’s app-account-assisted setup does not require a separate IoT developer account; both can use manually obtained local credentials. LocalTuya’s optional project-based Cloud API setup does require the developer project, linked account and appropriate API permissions.
Which Tuya integration supports the most devices? Catalog entries are not directly comparable with manual entity mapping. make-all documents 1,000-plus configurations; LocalTuya can map some unlisted devices if its protocol and entity platforms support them. Neither count proves that your firmware or function works locally.
Is the official Tuya Home Assistant integration actually local? The core Tuya integration is classified Cloud Push and relies on Tuya’s service. It is separate from these two custom integrations.
Is LocalTuya still maintained in 2026? Check the exact repository: upstream released v5.2.5 in January 2026, and xZetsubou released 2026.10.0 in October. leeyuentuen’s latest checked tag is a May 2025 prerelease. Release recency is useful evidence, but not a compatibility or future-maintenance guarantee.
What this comparison verified
Checked on 24 October 2026 against the four named repositories’ documentation and release histories, make-all’s 2026.10.0 README, xZetsubou’s released setup documentation and Home Assistant’s Tuya page. These sources establish project identities, current release dates, the difference between predefined/manual/automatic mappings, local keys and optional cloud setup.
No integration was installed or run against hardware for this comparison. Chinese terminology is included to help readers navigate documentation; search-result visibility is not used to rank maintenance or reliability. Exact device firmware, local DPS, supported protocol and available entity platforms still determine whether a particular function works.
