This is not so much a project, as the culmination of a long process of improving, debugging and rationalising my Zigbee network. I struggled to find anyone else with exactly the same problem I was having, but received some excellent help from the community (notably @HomeIsWhereTheSmartIs@toot.wales on mastodon) and wanted to share and give something back.
Anyways...
I've had Phillips Hue lights for a long time, since before my first experiments with Home Assistant, controlled primarily by voice via Amazon Echo devices in each room of the house. I started mixing these with the cheaper Ikea Tradfri bulbs when they became available, and they worked well.
I started using Home Assistant, more for tinkering than serious home automation, and part of this was installing a USB SkyConnect zigbee adapter and a load of Aqara/Lumi temperature and humidity sensors around the house. The Lumi devices worked reasonably well, but sometimes needed to be reconnected, as they are battery powered and only had the one central SkyConnect adapter to connect to. I eventually added a Sonoff smart switch just to act as a repeater/router, and this improved connectivity of the Lumi devices.
I added the Hue integration to Home Assistant and it could control them well for automations alongside our primary means, Alexa voice commands.
Then, last year, I had to replace some failing Tradri lamps and found that the newer versions did not play nicely with the Hue Hub. They would pair and operate initially, but become unresponsive after about 12hrs. A power cycle would bring them back to life, but this was unworkable long term. The solution was to buy a second-hand Tradfri hub and move the Ikea lamps to it. Alexa worked well with the Hue and Tradfri skills added, and I could issue lights on/off commands for a room and the Hue and Tradri lamps would comply within a few seconds.
We now had three zigbee networks in the house, though, and things started to get flaky.
I knew the obvious answer would be to move everything to Home Assistant's Zigbee network and get rid of the Tradfri and Hue hubs, but that would mean losing the Alexa voice control, which is a Must Have in my household. I was aware of the nascent Home Assistant voice control, but didn't consider it mature enough, and didn't want to replace all my Echo devices. So I put up with a system that was "good enough".
Then a few weeks ago (early May, 2026) we started having some weird problems with the Tradfri lights and Alexa. Commands issued to the lights via Home Assistant and the Tradfri integration were instant, as were command issued from the "Ikea Smart Home 1" app on my iPhone, but commands issued via Alexa to a subset of lamps (always the same ones) in the house had a significant delay, between 30s and 2-3 minutes. My son discovered a work around, to issue the voice commands three times in a row, and this worked reliably, but was a pita.
I used tcpdump on my router, and wireshark on my laptop, to examine the internet traffic when controlling these lamps and saw traffic to and from the same AWS host when controlling the Tradfri lamps, regardless of what mechanism was used (Ikea smartphone app, Alexa, or Home Assistant integration). I'd see the command go out to the cloud from the commanding device, followed by a command coming back in from the cloud to the Tradfri hub. This happened very quickly for all methods, but the commands issued via Alexa took much longer for the Tradfri hub to relay to the lamps for some reason.
Seeking advice on social media, I was asked the obvious "why don't you just move everything to the HA zigbee network", and I explained that Alexa voice control was a Must Have and that, as far as I knew, the only way to retain this was with an Amazon developer account, and to create a custom skill that would talk to my HA instance, although this would involve prefixing each command with "Alexa, ask Home Assistant to..." and, as I understood it, would also lose all the room-based context regards lights, heating control, etc.
Then @HomeIsWhereTheSmartIs@toot.wales came to the rescue, suggesting that I look into the Home Assistant Matter Hub (referred to as HAMH from now on) software, as this would enable me to expose any of my HA devices to Alexa, and still be able to put them "in" rooms. My HA instance at the time was in a docker container, and I couldn't get the HAMH container to talk to HA. So I finally got around to migrating to a HAOS VM instead so I could just install the App, and that went relatively smoothly (after a bit of messing around with SSL certs). With it all finally working I set up a Matter hub, added a door sensor to it, and it worked perfectly!
HomeIsWhereTheSmartIs's advice was to set up a separate Matter hub for each room in the house. This makes managing the exposed devices and their include/exclude filters much easier. When configuring additional hubs they were assigned incrementing TCP/UDP ports from 5540 upwards. The HAMH software warned me that Alexa could only connect to Matter hubs running on 5540, but this didn't seem to be the case and I now have nine Matter hubs connected to my Alexa service.
Now came the job of moving the lamps from their old radios to the HA Zigbee network. The Hue lamps are great, as soon as you remove them from the Hue app they automatically go into pairing mode and you can scan for and add them to HA. The Tradfri lamps, unfortunately, need to be reset with power off/on x6 procedure.
To avoid being left with many duplicate entries for your lights I would recommend the following procedure, or a version that fits your home layout:
- remove the relevant integration(s) in Home Assistant (Hue and Tradfri for me)
- then, room by room:
- remove the lamps from Alexa
- remove the lamps from the manufacturer system/hub (Hue or Tradfri, resetting the lamps as necessary)
- add the lamps to the Home Assistant zigbee network
- add the lamps to the room's Matter hub
- add the Matter hub to Alexa and assign the lamps to the correct room
Once all your lamps are on the HA zigbee network, in a Matter hub, and added to Alexa, you can turn off and disconnect your old Hue and/or Tradfri hub, freeing up that precious 2.4GHz radio space!
On the evening that I'd moved everything over to HA I found that there was sometimes a little delay in commands being issued to the lamps, and a couple of times Alexa told me that the hub the lamps were connected to wasn't responding. Looking at the Zigbee network visualisation map in HA almost all the lamps were connected to the HA Zigbee adapter, though. By the following morning all devices (except the Lumi devices, which is apparently a known issue) had reconfigured and set up a proper mesh, with many redundant connections and pathways, and the system has been 100% reliable since.