1. Current Location: Home >  Comprehensive classification >  All 28 sensors are connected to a single Zigbee gateway without WiFi

All 28 sensors are connected to a single Zigbee gateway without WiFi

What is Zigbee: Comparison of WiFi, Bluetooth Mesh, and Zigbee protocols, as well as gateway topology and channel staggering diagram

Last month, I helped my neighbor adjust their router and checked my own backend for online devices—about twenty in total. But my home clearly has only fifty smart devices—where did the rest go? I stared at the Mi Home app for a long time before realizing: the human body sensor, door and window sensor, wireless switch—these little gadgets don't connect to my home WiFi at all. They operate on a network invisible to routers, called Zigbee.

To clarify: Zigbee is another network hidden within 2.4G

At first, I thought all the wireless devices at home were managed by the router, but I realized I was completely wrong. Zigbee is another complete communication protocol that operates in the 2.4GHz band like WiFi, but it doesn't recognize your router—it only recognizes one thing—the gateway.

You can think of it this way: the router runs the WiFi network, the gateway runs the Zigbee network, and both networks are packed into the 2.4G room, but they don't communicate with each other. The multi-mode gateway in my home is the 'platform founder' for Zigbee networks, called a coordinator in jargon. When the sensor leaves the factory, it only recognizes the gateway, and pairing is done with the gateway. From birth to death, you never know what the router looks like.

So the router's background will never see them. To count these devices, you have to browse through the Mi Home app. That's also why my 28 small sensors don't occupy a single router bay—in the router's eyes, there's only one extra device called a 'gateway' at home. When I wrote about the number of devices I wrote back then, I calculated this account: When 62 devices were slimmed down, the actual amount of pressure on the router was far less than expected; all the gateway devices were blocked out by the gateway.

Zigbee's specs are quite poor: based on the IEEE 802.15.4 standard, with a speed of 250kbps. WiFi 6 can easily reach over 2,000 Mbps, while Zigbee is less than a fraction of that. But what the sensors transmit is far too small—a temperature data of dozens of bytes is more than enough for them to ride a bicycle on the highway.

Why do sensors all love to use it: saving power

The pitfall I made was the WiFi version sensor. For convenience, I bought a WiFi version of the human motion sensor light controller, charged every three months, and after the third charge, I got tired of it. I switched it to the bedside as a night light—out of sight, out of mind.

The Zigbee version has a completely different art style. Again, with the same sensor, Zigbee's strategy is "sleeping": lying face down most of the time consumes almost no power, waking up hundreds of times a day, each time in fractions of a second, throwing out the data to sleep. A CR2450 button battery is officially listed for one and a half to two years. It's been fourteen months since my door was magnetically installed, and the battery is still over forty percent.

The root of the gap lies in the "heartbeat." WiFi devices need to stay connected to routers to be found at any time, and this "standby salary" runs out of battery as they eat up. Zigbee sub-devices don't need to be online all the time; they only speak when there's a need, and if the battery runs out, they can report a few seconds later. For devices like door magnets, water leak, and smoke alarms, even a second late doesn't matter; For batteries, that's the difference between a year and a half versus three months.

My two door locks have tested the same principle: WiFi direct lock has been called for battery replacement for four months, Bluetooth version has been for over a year. The low-power protocol ultimately reflects in the frequency of battery replacement.

The whole house grows into a network: the socket is the relay station

Zigbee has another trick I think is the most clever: devices can relay each other, essentially self-organizing networks.

The rules are simple: the equipment connected to the grid is a "full-time node," working both for themselves and for neighbors to relay messages. Smart sockets, smart lights, curtain motors—these are always plugged in, so naturally they're relay stations. Battery-powered sensors are 'part-time nodes'—they only send their own data and don't run errands for others.

The farthest human motion sensor in my home is in the corner of the balcony, separated by two walls, and the signal to the gateway has already deteriorated. But it is relayed through a smart socket next to it—sensors feed data to the socket, which then passes it to the gateway. I don't deserve anything, the internet itself has grown like this.

That's why veteran users say Zigbee becomes more stable the more you use it: every additional socket gives the network an extra foothold. Conversely, if you cut power off a socket for too long, the sensors relaying power from it may all lose contact. Don't rush to replace the battery—try plugging the socket back in first.

There's also a hidden benefit: the linkage logic is locally stored at the gateway. My curtains are Zigbee versions, the timed opening is stored in the gateway, and the external network is cut off as usual at 7:00. That time I flashed the firmware and the network was cut off for half a night, but the next day the curtains were still open without issue. If this logic were hanging in the cloud, I'd have to get up in the dark.

Let's look at three net pendulums together: WiFi, Bluetooth Mesh, and Zigbee

What really confused me were these three brothers. Especially Bluetooth Mesh and Zigbee, which are basically cousins—both have low power consumption, require gateways, and can be networked. I laid out the household accounts and looked carefully at a spreadsheet:

, , sensor battery , . ? , , is remote, linkage is via gateway
Comparison items: WiFi, Bluetooth, MeshZigbee
speeds start at several hundred Mbps, around 1Mbpsis around 250kbps
Charge every few monthsthen for a year or two
Do you need a gateway(The speaker can do it too). It must
occupy the router bayone unit occupies another, and if notit doesn't take up space
External network performancecompletely disable, local linkage is monitored, and localstill running

The fourth row is the easiest to overlook inside and out. WiFi devices occupy the router's space; no matter how many gateway devices there are, the router only cares about the gateway. After the family had over thirty devices, this was no small matter. After counting all the devices at home, I finally understood why bulbs, sockets, and sensors always recommend choosing the gateway version.

So why has Xiaomi's new devices in recent years used Zigbee less and Bluetooth Mesh more and more? I looked around and found the answer is straightforward: Bluetooth chips are cheap, and phones and speakers already have Bluetooth. Xiaomi speakers can directly serve as Bluetooth gateways, My speaker Pro is a free Bluetooth Mesh gateway, and some newer routers also have this feature. Saving on a gateway lowers the entry barrier.

Zigbee's home is Green Rice Aqara. Starting from security sensors, it's all Zigbee, and the inventory of devices accumulated over several years is astonishing. So when you buy Aqara's door and window sensors or water leak sensors, it's still Zigbee. No need to worry about both ends—one multi-mode gateway is included: my Xiaomi Multi-Mode Gateway Gen 2 supports Bluetooth, Bluetooth Mesh, and Zigbee protocols, and even has a network port. All two generations of devices at home are managed by it.

Squeezing under the same roof as WiFi: channels must be staggered

Here's the trouble—WiFi and Zigbee both live in the 2.4GHz room, and the "driveway" inside is fixed. 2.4G has more than a dozen channels. The commonly used WiFi channels 1, 6, and 11 each occupy a segment, while Zigbee is further divided into 16 channels (numbered 11 to 26), each 5MHz wide and overlapping with WiFi lanes.

I've seen the consequences of a car crash once: the neighbor installed a new router, and the human body sensors in my front door suddenly became all sluggish, and the lights took two or three seconds to turn on. After a long search, Finally, following the old channel interference method, I pinned the router's 2.4G to channel 1, the IoT private network section to channel 11, and the Zigbee channel in the Green Rice Gateway app and found it in the middle gap. The next day, all sensors were restored.

The trick for staggering is simple: WiFi occupies 1, 6, and 11, while Zigbee picks the 15, 20, and 25 points between them. Most gateways come with the default channel in the neutral mode, so the most common home use method is to pin down your own WiFi 2.4G channel and not enable auto. Once the channel jumps, it automatically jumps. If you hit Zigbee one day, you'll have to replay that two or three seconds of light on the lights. The mass disconnection of WiFi devices like vacuum cleaners and cameras is also the same root cause. I recorded the troubleshooting order in the article about Mijia device offline. The gateway and WiFi versions should be checked separately.

Check the gateway before disconnecting, and verify the protocol before buying equipment

Let me wrap things up honestly. No matter how good Zigbee is, its lifeline is obvious: gateway. When it loses power, all 28 sub-devices lose contact at once—even more straightforward than a router crash—at least the router needs to be restarted, but if the gateway is broken, even the door magnet outside the door won't work. So there's a clear order for troubleshooting smart devices: first check if the WiFi device is still working, then check the gateway version. Most likely, it's about the gateway. I've written the full order in the article on Mijia device offline troubleshooting.

The threshold for buying devices has also dropped: if you want to recognize the Mijia ecosystem and save trouble, buy the Bluetooth Mesh version with your eyes on new devices, and directly take speakers or routers with gateway functions. which routers have Bluetooth gateways, I found a list in the backend; If you have an Aqara sensor at home, the Zigbee network can't be disconnected. Place the gateway in the center of the room and don't put it in a weak current box; For those with many devices, having a multi-mode gateway as a backup is the most worry-free.

Is ? What ? . . For ,
your situation something to worry about with Zigbeeshould I do
Only the speaker and a few lights, no Bluetooth mesh connected via the speaker gateway, which is sufficient
I need an Aqara sensorPut the gateway in the center position, pin the WiFi channel tightly
devices above 30, it's recommended to keep them under control. Multi-mode gateway + WiFi nailed channel + frequency band.
If the sensor keeps disconnectingdon't replace the battery yet. Check if the gateway's online status and channel are colliding

To wrap things up: Go into the Mijia app and count the gateway version devices to see how many are connected; Then pin the router's 2.4G channel to 1 or 11; if you have a Green Rice gateway, log in to the app to check if the Zigbee channel is down; then find a socket in the middle of the room for the gateway to avoid conflicting with the metal weak current box. After four steps, this invisible network is even more worry-free than WiFi.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《All 28 sensors are connected to a single Zigbee gateway without WiFi》
Article URL: https://www.shunot.com/en/zhonghe/1137.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow