Tuya smart home devices come in two families, and the difference decides whether you need a hub. WiFi devices connect straight to your router. ZigBee devices talk to a gateway instead, and the gateway passes their data on to the internet. Buy the wrong one and the sensor simply never appears in the app — which is the most common reason a new Tuya device “does not work”.
What a ZigBee gateway actually does
A gateway is a small bridge. On one side it speaks ZigBee, the low-power radio protocol used by battery sensors and many switches. On the other side it connects to your network over WiFi or an Ethernet cable and relays commands to the Tuya Smart app.
It does three jobs:
- Translation. It converts ZigBee messages into something your app and voice assistants can use.
- Coordination. It manages pairing, keeps every device’s state, and runs the automation rules that involve several devices.
- Relaying. It acts as the root of the ZigBee mesh, so devices further away can route their messages through other powered devices back to the hub.
Which devices need a gateway
Anything battery-powered or low-power usually needs one, because ZigBee uses a fraction of the energy WiFi requires and lets a coin cell last a year or more:
- Motion, door and window sensors
- Temperature and humidity sensors, and water leak sensors
- Smart radiator valves (TRVs)
- Many curtain and blind motors
- Some smart locks and scene buttons
- ZigBee switches and dimmers, and ZigBee versions of thermostats
If the product page says “ZigBee” rather than “WiFi”, you need a gateway — there is no way around it.
Which devices do not
- WiFi smart switches, plugs and bulbs — they connect directly to a 2.4GHz network
- WiFi cameras and video doorbells
- WiFi thermostats, including most Tuya models with a wired sensor
- Infrared remotes and most air quality monitors that use WiFi
How the mesh extends your range
ZigBee is a mesh network, and that is where it earns its place in larger homes. Devices permanently connected to mains power — switches, plugs, and the gateway itself — also act as routers, passing messages from distant devices back to the hub. Battery devices do not route; they sleep to save power.
The practical rule is simple: add powered ZigBee devices between the gateway and the far corner of the house, and the signal follows. A hallway ZigBee switch can carry a bedroom sensor’s signal through two walls without any extra hardware.
How many devices can one gateway handle?
Capacity varies by model, but most Tuya ZigBee gateways manage dozens of devices comfortably, and the better ones are designed for a hundred or more. In a normal flat or house you will run out of useful devices long before you run out of gateway capacity. What does become a limit is physical range and building materials — thick walls, metal studs, and foil-backed insulation all weaken the signal.
Choosing and placing a gateway
- Ethernet or WiFi? An Ethernet gateway uses one network cable but never drops off the network, which makes automations more dependable. WiFi gateways are easier to place anywhere.
- Central location. Put it roughly in the middle of the area you want to cover — not in a far corner, and not inside a metal cupboard or behind a TV.
- Distance from the router. Keep it within good WiFi range if it is a WiFi model, since the gateway needs both a WiFi link and a clean ZigBee path.
- Height helps. A shelf or wall mount at chest height usually performs better than floor level.
- 2.4GHz only. Both ZigBee gateways and WiFi Tuya devices work on the 2.4GHz band; 5GHz-only networks will not connect.
Do you need more than one?
For most homes, no. If you live in a long house, a multi-storey building, or a property with a separate garage or outbuilding, a second gateway is often cheaper and more reliable than trying to stretch one mesh. Just remember that each gateway forms its own network, so a sensor on one gateway cannot trigger a device on the other unless the automation runs through the app’s cloud scenes.
If a device will not pair
- Pair next to the gateway. Bring the sensor close, add it, then move it to its final position.
- Check the battery. Low batteries are the most common pairing failure, even if the sensor still blinks.
- Watch the 2.4GHz channel. ZigBee and WiFi share the band; if pairing keeps failing in a crowded network, change the router’s 2.4GHz channel to 1, 6 or 11.
- Reboot in order. Power cycle the gateway first, wait for it to reconnect, then wake the device.
To plan a full installation, read how to add ZigBee devices to a Tuya gateway and build a mesh network and the complete guide to smart home sensors. The differences between the three main protocols are compared in WiFi vs ZigBee vs Matter, and you can compare gateways, sensors and switches in the Tuya smart home product collection.