I’ve over 40 zigbee devices and am currently using ZHA but keep seeing people recommending using zigbee2mqtt. But I can’t work out if it’s worth the time re-importing all the devices or not.
What are the benefits of using zigbee2mqtt over ZHA and is it easy to move over if that’s the best way to go?
Zigbee2MQTT supports more devices, and has better support for some devices that ZHA only has basic support. For example I have some vibration sensors which ZHA supports for basic vibration detection, but Zigbee2MQTT can set vibration sensitivity levels as well as detect vibration.
Zigbee2MQTT also has a more advanced interface with more configuration options, displays more information, and has better network visualisation.
Another advantage is that Zigbee2MQTT can be run on a different system from Home Assistant. That way the Zigbee coordinator can be placed in optimal location of the home, while the Home Assistant can be located elsewhere.
If you are already comfortable with using ZHA I there isn’t much need to switch, unless you need support for devices only supported in Zigbee2MQTT or really need to relocate your Zigbee coordinator. Migrating a whole Zigbee network can be a bit of a pain. If you are curious about it you could always buy second Zigbee coordinator and run both.
deleted by creator
I moved from zha to z2m, but I’m having a hard time remembering why. I believe there were a few components which weren’t working correctly with zha, which work fine with z2m.
It also draws a neat map -
When I first got a Zigbee USB stick I tried both out and picked z2m because it was easier to do automations in HA at the time. This was because the Zigbee device I was using (the Cube) and the actions of the Cube were in attributes is ZHA and were actions in Z2M.
Since then I remember buying some Zigbee devices from Lidl which were like a suprise reveal, it was all over the HA sub. Problem was, they weren’t supported because they had just been released.
A couple of days later I saw that they were supported in z2m beta so I just switched to that for a bit, and maybe a week later they worked in the stable branch. I was amazed at how quickly a brand new device got support and have never even considered going over to ZHA.
Thanks for all the input. It seems that since everything is working fine for me I should just keep using ZHA. Maybe when I have plenty of free time I’ll migrate to get the extra features but it’s not something that I’ve missed.
Yeah, I just started and the fact that ZHA was “already there” was a huge plus for me.
I just hope Matter catches up before I find a limitation in ZHA.
I moved from ZHA to Zigbee2MQTT because I had a few devices (mainly xiaomi/aqara) misbehaving on ZHA.
It depends on your use case and with many thread/matter devices coming out this year I’m not sure if you even need to switch unless you have specific devices in mind not supported on ZHA.
Is there any difference in network performance, e.g. reliability of communication, or is that all down to the hardware?
There’s difference in the implementation of quirks and converters. I found ZHA quirks support less than what Z2M already has, especially when dealing with manufacturers like Aqara.
Performance wise both felt similar.