I want to start over, useful tips? Which hardware to support Zigbee2MQTT

My Home Assistant experience is far from perfect. I migrated from Homey to Home Assistant on a Dell Wyse with a SkyConnect and my (ZHA) Zigbee network hasn’t been stable since (even routers (!) were falling out. As a matter of fact, it dragged the Hue mess with it, that became unstable too. I ended up in a very long post with tips that didn’t really help.
I’ve never had this with my Homey!

I also couldn’t install Zigbee2MQTT because of a very annoying ‘herdsman’ error which nobody found a solution for.

Now I want to start over. In the hope it will be fixed. But I don’t really know why my Zigbee network is unstable. Or why I can’t get Z2M running. Is it the SkyConnect? Is it the installation? Is it the Dell Wyse?
So, any tips on hardware?
Any tips on (partially) back up?

Start by following this and you should be good.

Personally I recommend using the “official” ZHA integration (native Zigbee Gateway built-into Home Assistant) as it is easier to get started with and maintain as it got no external dependecies, it is especially optimized for the Home Assistant SkyConnect / Home Assistant Connect ZBT-1, and if you too can help contribute to the overall ZHA community (like assist zigpy developers echance the ZHA Device Handlers / quirks instead of just migrating to Zigbee2MQTT if a device do not work out-of-the-box) then you can help that be improved and make easier to use by more and more people in the future too.

Recommend try to follow all tips in that Zigbee network optimization guide regardless but also suggest check out all Zigbee links in this cookbook list too:

Zigbee

Zigbee buyer’s guide contain some good basic information if you already know you want to use Zigbee:

Zigbee Gateway integrations

You need a Zigbee Gateway. Home Assistant’s own built-in ZHA integration and Zigbee2MQTT which are two most popular open-source and hardware-independent Zigbee Gateway implementationsfor Home Assistant integration will allow you do use almost any Zigbee device with Home Assistant, and with either one of those you will be able to mix devices from different manufacturers. Which one of those you choose use in the end is a matter of personal preference (some people even use both of them, but they then need to use two separate Zigbee Coordinator adapters and device can not be on both networks at the same time). Both are equally stable. Whichever one you choose, the Zigbee protocol is the same.

Zigbee Home Automation (or “ZHA” for short) is the name of Home Assistant’s native Zigbee Gateway integration (built-in open-source component that is part of Home Assistant Core) . If you buy the official Home Assistant SkyConnect / Home Assistant Connect ZBT-1 Zigbee Coordinator adapter, then it will be installed by default; with a different brand/type of Zigbee Coordinator the installation and device discovery is still very simple through the GUI. If a device follow the standard Zigbee specification then will work with out-of-the-box with the ZHA integration. In practice icompliance with the standard Zigbee specification is less common than you might think and many devices need custom device handlers (also known as quirks) for the ZHA integration. In most cases such ZHA Device handlers (quirks) will be included for most common/popular devices in the latest release of the integration, but very new or odder types of devices may have missing features initially so you will need to submit a device support request and help provide information needed to develop new/additional ZHA Device handlers or extend existing zha quirks. More details here .

Zigbee2MQTT is an open source gateway application for controlling Zigbee networks - in other words, it performs the same function as (say) a Philips Hue bridge but it is not restricted to any particular manufacurer’s devices. It works well with HA and with other smart home systems. If you wish you can run it on a machine separate from your HA server - which means your lights will still work while HA is being restarted. As the name suggests, it needs a MQTT broker , which makes it more complicated to set up and maintain than ZHA, however Z2M supports more non-compliant devices. More details here .

Propriatory and commercial closed-source Zigbee Gateways/Bridges/Hubs/Controllers

A lot of manufacturers will suggest that you use their proprietary gateway/bridge/hub/controller. There are pros and cons with doing so. You will be restricted to using one manufacturer’s devices, but on the other hand you can resonably expect them to work with their brand of devices (or at least you will know who to complain to). This can be a good starting point with Zigbee if you only bug a few devices as you can always move all Zigbee devices you bought to either that built-in native ZHA or Zigbee2MQTT later. But see comments below. It’s certainly not a good idea to use more than one hub - things can get very messy and the best practice is always to consolidate all Zigbee devices to a single Zigbee gateway/coordinator if possible.

Do your research

There is a list of recommended Zigbee radio adapters in the HA docs, but do not just go out and buy the first radio adapter you see on that list. Generally you do not want to buy a radio adapter that is based on an old chip and is no longer getting firmware updates or one that uses a radio type/manufacturer that is not specificlly recommend for the Zigbee integration that you will use.

The Zigbee Device Compatibility Repository is a good starting point for devices of all kinds. It will give you an idea of whether a gadget works with ZHA or Z2M, but it’s user compiled so further checks are a good idea.

If you’re using Z2M, their webpage has a database of supported devices (with pictures - very useful).

If you’re using ZHA, have a look at the GitHub device handler issues page. This will tell you what devices other people have requested support for - and whether support has been added. It will also give you a good idea of which devices are problematic.

Above all, before you part with your credit card number, search this forum and ask questions. There may be a few ranters :roll_eyes: but someone somewhere will probably already have tried out the device you’re considering.

In January 2024 about half the problem devices forum members posted about were Tuya. Just saying.