Smart Life automations can run without internet access, but the result depends on where the rule executes. A gateway may run a downloaded rule locally; another rule in the same app may still depend on Tuya’s cloud.
Tuya’s gateway documentation describes local, LAN and cloud linkage. It is a useful starting point for checking a setup, provided you distinguish creating and downloading a rule from executing it after the internet goes down.
The short answer
A rule using supported sub-devices on one Tuya gateway is a candidate for offline execution. The gateway must support the rule and receive it from the cloud first. Owning a gateway, or seeing the devices together in Smart Life, does not prove that a particular automation has been handed over.
A rule involving ordinary standalone Wi-Fi products often needs cloud execution. A device’s own timer, a supported direct LAN command and a multi-device automation are different features, so one working offline does not prove the others will.
Tuya’s three automation tiers
The Chinese terms are 本地联动 (local linkage), 局域网联动 (LAN linkage) and 云端联动 (cloud linkage). Tuya’s gateway guidance ranks local linkage ahead of LAN linkage, and LAN linkage ahead of cloud linkage for reliability. This is its architectural recommendation, rather than a measured uptime guarantee for every gateway on sale.
Local linkage: the gateway executes the rule. The devices involved in the condition and action must be sub-devices of that gateway or the gateway itself. With a suitable rule already downloaded, it can continue when that gateway loses its cloud connection.
LAN linkage: a primary gateway handles a rule spanning different gateways. The TuyaOS requirements include gateways in the same home and LAN, at least one running Linux, and supported condition and action types. The primary gateway must be able to take over the rule. An internet outage can then leave execution intact while the local network remains available.
Cloud linkage: Tuya’s servers evaluate and execute the rule. If it cannot be handed to a gateway, it remains dependent on the relevant cloud connections. A trigger during an outage should not be assumed to queue for execution when service returns.
Tuya also markets offline cross-gateway scenarios in its gateway solutions. That describes a platform capability; check the gateway and rule you actually have before buying hardware for it.
What qualifies for local linkage
The gateway documentation lists these condition categories:
- Tap-to-run, which has actions rather than an automation condition.
- A schedule.
- A change in device status.
It lists these action categories:
- A device operation.
- A delay.
- Tap-to-run.
Those categories and the shared-gateway requirement describe eligibility. Tuya’s cloud still determines whether the gateway can take over and sends it the rule. If it cannot, execution stays in the cloud.
Tuya’s scene-type support explanation makes the handover explicit: newly created automations start as cloud scenes and can become local or LAN scenes after the gateway takes them over. Give a new rule time to synchronize while the system is online.
Look at the whole rule. A cloud-dependent condition or an app notification can change what is eligible for local execution. A Zigbee motion sensor and light sharing a gateway do not make every extra condition or action local.
Standalone Wi-Fi devices need a separate check
A plug or bulb enrolled directly over Wi-Fi is not automatically a gateway sub-device. Do not assume that adding an unrelated Tuya gateway will make an automation involving that Wi-Fi product local. In the gateway linkage model described above, the participating devices must meet its topology and rule requirements.
This explains why a common Smart Life setup can lose multi-device automations during an internet outage while a gateway-based setup continues. It does not mean that all Wi-Fi products have no local functions. Local timers, direct app-to-device LAN control and Matter-based integrations are separate possible paths, depending on the product.
The practical check is the required function: a local on/off command is useful, but it does not establish where a motion-to-light rule is evaluated. Conversely, the app showing a device offline does not by itself prove that its downloaded gateway rule has stopped.
Scheduled timers are a separate case
A plug’s own on/off schedule can be implemented differently from a multi-device automation. Tuya’s timer support page describes both cloud timing and local timing.
Cloud timing stores the rule in the cloud and sends a command at the scheduled time; it fails if the device is offline then. Local timing also stores the rule on the device so its timer can execute offline.
The same support page warns that a power failure can reset local timing to its initial setting. It says the device must reconnect and recalibrate through the cloud before timing tasks resume. That is a reason to test recovery after a power cut, rather than assuming that one successful offline schedule proves restart independence.
Check which timer implementation your product uses. A schedule button in the app does not identify the implementation on its own, and the documented behavior should not be extended to every manufacturer’s firmware without testing.
How to check your own automations
Start with a rule whose behavior is easy to observe, such as a physical sensor switching a nearby light. Save it while online and allow time for synchronization. Record all its conditions and actions, along with which gateway each device uses.
- Confirm that the rule works normally while online. Check gateway and sub-device power before changing connectivity.
- Disconnect the internet path while leaving the router, Wi-Fi, switches and relevant gateways running. Turning off the Wi-Fi access point tests loss of the LAN as well, which answers a different question.
- Use the actual physical trigger and observe every required action. For schedules, wait for a newly chosen test time rather than assuming a manual app tap is equivalent.
- Repeat after several minutes. If restart recovery matters, test an ordinary gateway or device restart separately once the first test is understood.
- Restore internet access and compare the results. If the offline test fails, check eligibility, synchronization and LAN reachability before concluding that the rule must be cloud-based.
A manual tap in the phone app can itself need a working app or cloud path, even when a downloaded sensor rule can execute on the gateway. A successful physical-trigger test shows that particular rule works under the tested outage; it does not certify every automation in the home.
Pairing type is a useful first filter. The outage test adds the evidence that the rule and its required actions actually survived.
Using Home Assistant for local automations
If a stock-app rule cannot run locally, Home Assistant offers other routes. Supported Tuya Wi-Fi devices can use tuya-local or LocalTuya for LAN commands, and Home Assistant can evaluate the automation itself. Initial onboarding and local-key retrieval can still involve Tuya’s services.
These integrations do not guarantee that every Tuya device tolerates a permanent cloud block. Check model and data-point support, retain the Home Assistant-to-device network path, and test recovery after a restart. A local integration changes the command path; it does not rewrite the device’s firmware.
Tuya Zigbee devices supported directly by ZHA or Zigbee2MQTT can instead join your own coordinator. They do not need an individual Tuya Wi-Fi local_key on that route. Moving them means rebuilding the relevant controls and automations in Home Assistant, rather than keeping their old Tuya gateway rules.
For an existing gateway setup, a working downloaded rule may already meet your outage requirement. For a broader plan, compare Xiaomi/Mi Home’s local-versus-cloud execution rules and the network segmentation groundwork. Internet isolation and reliable local execution need to be checked separately.
FAQ
Does Smart Life work without the internet?
Some functions do. A downloaded local or LAN rule can run on a suitable gateway with the required local connections intact. Cloud scenes, cloud timers and remote services still need their cloud paths.
What is local linkage?
A gateway executes an eligible rule involving its own sub-devices or the gateway itself. The cloud first has to determine that it can hand over the rule and send it to that gateway.
Why did my automation fail when Wi-Fi went down?
You may have lost the local network needed by a gateway or device, not only the internet. Test an internet outage with Wi-Fi and the LAN still running before diagnosing the execution tier.
Do I need a gateway for offline automation?
For the Tuya gateway linkage routes described here, yes. A single device’s local timer or an automation run by a separate local controller is a different arrangement.
Are Smart Life and Tuya Smart different for this purpose?
Both use Tuya’s platform, but the app name is not proof of offline support. Check the gateway, product firmware, complete rule and observed behavior in the app you use.
