What are the benefits of zigbee2mqtt over ZHA and is it worth migrating?

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?

SomeRandomWords,

I’m shocked nobody has mentioned it, but the primary advantage of Zigbee2MQTT is the ability to run Z2M on a machine different from HA. ZHA unfortunately doesn’t allow for this, which is a shame because my Z2M box (RasPi) is centrally located but my HA box is not.

tehcpengsiudai,

Well, you still get the added advantage of having Z2M running when HA does restart for core updates.

Technodad,
Technodad avatar

Is there any difference in network performance, e.g. reliability of communication, or is that all down to the hardware?

tehcpengsiudai,

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.

Napatwork,

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.

unknowing8343,

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.

Lifebandit666,

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.

thehatfox,
@thehatfox@lemmy.world avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • homeassistant@lemmy.world
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • rosin
  • khanakhh
  • normalnudes
  • Leos
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • GTA5RPClips
  • tester
  • megavids
  • JUstTest
  • All magazines