How one Zigbee stick replaced our Hue Bridge and Aqara hub

We moved 12 Hue lights, 4 dimmer switches and 7 Aqara sensors onto a single Home Assistant Connect ZBT-2 in one evening, unplugged two hubs, and fixed our patchy sensor signal in the process.

A Home Assistant Connect ZBT-2 with its box, stand, USB cable and quick start guide

Header image: Nabu Casa.

This is the last of four articles. The first covered the mini PCs behind our smart home, the second moving Home Assistant onto one of them, and the third taking the Green to France with a ZBT-2 stick.

That stick worked so well in France that we bought a second one for the UK. This time it had a different job.

This article contains affiliate links. If you buy through them I may earn a small commission, at no extra cost to you. It does not change what I bought or what I think of it.

The result at a glance

Before After
Zigbee networks Two, which could not talk to each other One
Hubs plugged in Philips Hue Bridge and Aqara Hub M2 Neither
Hue lights and dimmers 12 lights and 4 dimmers on the Hue Bridge All 16 on the ZBT-2
Aqara sensors 7 on the Aqara hub All 7 on the ZBT-2
Sensor signal Patchy around the house No problems since
Time taken One evening

The problem: too many hubs

Our UK smart home had grown the way most do. We bought Philips Hue lights, so we had a Hue Bridge. We bought Aqara sensors, so we had an Aqara hub. Each did its own job well enough.

But we had Zigbee signal problems around the house, and it was always the same culprits: the battery-powered Aqara sensors. There were no mains-powered devices on their network to pass messages along, so each sensor was shouting straight at its hub from wherever it happened to be. The batteries drained fast, and we lost connection to them constantly.

When I finally looked at how it all fitted together, the cause was obvious. Both Hue and Aqara use Zigbee. But the Hue Bridge ran one Zigbee network and the Aqara hub ran another, completely separate one. The two could not help each other, and both were sharing the same crowded airwaves as our Wi-Fi.

The realisation: our light bulbs were being wasted

This is the bit that changed my thinking.

In a Zigbee network, anything that is plugged into the mains does two jobs. It does its own thing, and it also passes messages along for other devices nearby. Battery sensors do not do this. Mains-powered devices do.

A Hue bulb is a mains-powered Zigbee device. We had twelve of them, spread through the main rooms of the house.

So we already owned twelve Zigbee signal boosters. They were simply on the wrong network. On the Hue Bridge, they could only pass messages for other Hue devices. Our Aqara sensors, on their own separate network, got no benefit from them at all.

Put everything on one network, and every light bulb becomes a stepping stone for the sensors around it.

Two separate Zigbee networks before, and one combined network after

Before: two networks that cannot help each other. After: one network, where every light relays for the sensors near it.

Why a second ZBT-2, and why Zigbee this time

The Home Assistant Connect ZBT-2 can run a Thread network or a Zigbee network, but not both at once.

In France ours runs Thread, because the devices there are newer Matter ones. In the UK the devices we wanted to bring together, the Hue bulbs and the Aqara sensors, are Zigbee. Same stick, different job.

I ordered the second one from Pimoroni, as I had the first. It was £37.80 including VAT.

What I bought

Item Retailer Price
Home Assistant Connect ZBT-2 Pimoroni £37.80
Zigbee2MQTT and Mosquitto (software) Free £0

That is the whole shopping list. Everything else we already owned.

Plugging it in

Home Assistant now runs as a virtual machine on one of our mini PCs, which added one step that a Home Assistant Green owner would not have.

The stick has to be plugged into the mini PC that Home Assistant actually lives on. I managed to plug it into the wrong one first. Once it was in the right machine, I told Proxmox to hand that USB device through to Home Assistant, and restarted Home Assistant. It was offline for about three minutes.

Position matters too. The stick sits in the study on its own short extension lead, clear of the mini PCs and their USB 3 ports, which are a well-known source of interference at these frequencies.

Choosing Zigbee2MQTT

Home Assistant gives you two ways to run a Zigbee network. One is built in, called ZHA. The other is a separate, free add-on called Zigbee2MQTT.

I chose Zigbee2MQTT for two reasons:

  • it exposes the full settings of our Aqara FP300 presence sensor, which the simpler route does not;
  • and it shows the signal quality of every device, which is exactly what I wanted after a lot of guessing.

It is a little more to set up. You install two add-ons, Mosquitto and Zigbee2MQTT, and point the second one at the stick. If you want the simplest possible route, the built-in option is fine.

Picking a channel that avoids the Wi-Fi

Zigbee and 2.4GHz Wi-Fi share the same slice of radio spectrum, so it is worth a minute to keep them apart.

Our Wi-Fi uses channels 1 and 6. Zigbee channel 25 sits clear of both, and it is also one of the channels Hue bulbs look on when they are searching for a new network. So channel 25 it was.

The default would have been channel 11, which sits right on top of Wi-Fi channel 1.

Moving the Hue lights

I expected this to be the painful part. It was the easiest.

The method, one bulb at a time:

  • tell Zigbee2MQTT to allow new devices to join;
  • delete the bulb in the Hue app;
  • within a few seconds, the bulb appears on the new network;
  • give it exactly the same name it had before.

That last step is the important one. Because each light kept its old name, every automation and dashboard that used it carried on working without being touched.

I did the six living room lights from the sofa in about ten minutes, with the stick in the study.

The Hue dimmer switches came across too. Delete in the Hue app, then hold the Setup button. On the newer dimmers there is no reset hole on the back any more. The button is inside, behind the battery cover. That one took me a while to work out.

Moving the Aqara sensors

The Aqara sensors needed a reset for each one: hold the button for five seconds, and it joins.

Seven sensors came across this way: two door sensors, three temperature and humidity sensors, an air quality monitor and the FP300 presence sensor. One missed its pairing window and had to be done twice. That was the only hiccup, and after the first couple I learned the trick: a short press on the button keeps the sensor awake while the network is looking for it.

By the end of the evening, both hubs were unplugged.

What I had to rebuild

It would be wrong to say nothing was lost. The hubs had been quietly doing some jobs that I now had to do in Home Assistant.

Room groups. The Hue “rooms” went with the Bridge. I recreated them as groups in Zigbee2MQTT.

Dimmer buttons. On the Hue Bridge the dimmers just work. Now each one needs a small automation to say what its buttons do. The upside is that they can do whatever we like.

Hue scenes. Relax, Read, Energise and the rest no longer exist. If we want them, they need recreating, which is a job for another day as we rarely used them anyway.

Apple Home. The Hue Bridge and Aqara hub had each been feeding Apple Home directly. With both gone, the lights and sensors vanished from it. I added them back through Home Assistant’s HomeKit Bridge.

Battery warnings. I extended our existing low battery alert to cover the sensors under their new names.

With the lights now fully under Home Assistant’s control, I also added Adaptive Lighting, which shifts the lights warmer and dimmer through the evening. That deserves its own article.

The catch nobody mentions: wall switches

A light bulb can only pass messages along while it has power.

Our living room ceiling light has a Shelly 1 Mini Gen4 relay behind the wall switch. A few days after the move I found that flicking the switch was cutting the power to the bulb, as a normal switch does. Every time that happened, one of our new signal boosters disappeared.

When I looked at the relay’s own settings, its input mode was set to follow and its power-up state to match the input, so it was faithfully copying the wall switch and cutting the bulb. The automation in Home Assistant had been written assuming the opposite.

The fix was to set the relay to what Shelly calls detached mode, and to have it always power up on. The bulb now always has power. The wall switch simply tells Home Assistant it has been pressed, and Home Assistant turns the bulb on or off.

If you are going to rely on your bulbs to carry your Zigbee network, they need to stay powered. A bulb on an ordinary wall switch that gets turned off at night is not a reliable link.

Did it fix the signal?

Yes.

Since the lights joined the same network as the sensors, we have not seen the dropouts that started all this. I had been looking at buying dedicated Zigbee repeaters. I did not need them. We had twelve already.

The network page tells it better than I can. Twenty-four devices: twelve routers and twelve end devices. An exact dozen mains-powered lights, each carrying messages for the battery sensors around it.

The Zigbee network: one coordinator, twelve routers and twelve end devices

The network as it stands: one coordinator, twelve mains-powered routers and twelve battery end devices.

To be fair, it has only been a few weeks. I will update this article if that changes.

Was it worth it?

For us, yes. One stick, two fewer hubs, and sensors that stay connected.

It is not for everyone:

  • If you love the Hue app, think twice. Once the bulbs leave the Bridge, the Hue app has nothing to control.
  • If you do not run Home Assistant, this is not for you. The stick does nothing by itself.
  • If your sensors are reliable already, there is less to gain.
  • If you have battery sensors that struggle and mains-powered Zigbee bulbs on a different hub, this is very likely your answer.

Looking back over the four articles, none of this was planned as one project. A mini PC came out of a cupboard. That freed the Green for France. France introduced us to the ZBT-2. And the ZBT-2 solved a problem at home that I had been living with for months.

That is usually how it goes when you start digging into a home lab and automation.