ZHA & Zigbee2MQTT together

I’ve got some zigbee devices (bulb, sensor, remote, etc).
Few devices are supported by the Zigbee2MQTT and few are not.

Is it possible to use 2 coordinators on 1 HA without problems?
I’ve got 1 SkyConnect USB dongle and 1 eWelink smart hub (with tasmota).
My plan that I use the SkyConnect for ZHA and the eWelink for Zigbee2MQTT.

Yes.

I have had zha, z2m, and z2m-edge all running side by side on one HA instance.

Not sure which version of the hub you have. Z2m will be happier with a cc2652 based coordinator, but ezsp support is improving.

Thanks.
I have eWeLink ZbBridge Pro Ethernet Zigbee Gateway.

Is it possible to use ZHA & Zigbee2MQTT together with only 1 ZigBee dongle? Everything for the most part works great with ZHA. However, there are like 3 devices where all 1 of their sensors, usually Temperature, isnt working and is basically stuck at a number. I’d like to try Zigbee2MQTT to see if that supports the device better, but dont want to buy another USB antenna. Thx!

No. It’s like having one steering wheel (coordinator) and two drivers (ZHA & Z2M). You’ll end up crashing.

3 Likes

Great analogy. Thanks,

Hello there,

Can someone please tell me how to migrate my Zigbee devices from ZHA (HUSBZB-1 dongle) to Zigbee2Mqtt (Sonoff Plus-e dongle)?

Thank you in advance.

No way to migrate from different integrations or different chipsets, let alone both in your case. Take note what names you use and entity_ids of all devices. Unpair all devices, then install Zigbee2mqtt and pair everything one by one. Use the same names/entity id’s as before so your automations don’t break.

1 Like

Lucky me I only have 32 Zigbee devices for now. Thank you so much!

You’re welcome! One more thing good to know: if you pair with Zigbee2Mqtt, you can rename the device there and make sure you check this checkmark:

image

This will rename the device and entity_id inside Home Assistant automatically for you. Important to know however: Z2M adds extra information in the entity_id if it’s a sensor (like contact, occupancy, temperature). So if you have a motion sensor and you rename it to: Office. It will set the entity_id in Home Assistant to binary_sensor.office_occupancy (adding in occupancy automatically).

I switched from Deconz to Z2M a long time ago and first I manually removed the _occupancy part, but then I figured it’s easier to let it stay, since it will make building automations easier anyway.

Just letting you know, in case your automations don’t work even when using the same names :wink: So either change the automations so it uses the correct entity_id’s, or manually change the entity_id’s after pairing.

1 Like

Great piece of advice. While I am waiting for the dongle to be delivered today, I am going to create a file to save that precious information regarding my Zigbee devices. I will do the same for my Z-wave ones. Thank you again for sharing.

1 Like