2nd Zigbee gateway over tcp

Hi, I have a zigbee infrastructure in my home, I use a sonoff dongle-m dongle max as coordinator over tcp. Everything works perfectly with home assistant and zigbee2mqtt. I have a 2nd building far away from the home, where the radio signal doesn’t arrive, but there is a lan cable between the 2 buildings. If I buy a second dongle a I install it in the remote building, can I use it as a remote zigbee over tcp gateway (not coordinator) in order to extend the zigbee coverage to the remote building? I would like to install some zigbee devices in the remote building, and manage them with home assistant. Thanks a lot, Mauro

I my case I currently have both ZHA and Zigbee2MQTT - with 2 USB coordinators, I only did this so that I could do a staged migration (move 1 device at a time from ZHA to Zigbee2MQTT), however I had no issues during the migration when some devices were on each coordinator/network.

So one option would be to do the same, but with network coordinators (one on ZHA and one on Zigbee2MQTT.

There are some videos on setting up multiple Zigbee2MQTT instances, I haven’t tried that myself (I don’t have a need), however the take aways appear to be:

  • Run multiple Z2M’s in docker containers.
  • Set different base topics for each Z2M.

Most of the rest of the setup appears to be the same as a standard Z2M setup.
Here is a video covering it:

PS I have tried multiple MQTT bridges where one was Zigbee2MQTT and the other was something I wrote myself, that appears to work, so I have high hopes that the video will work for you.

Easiest way is to install Z2M Edge. That’s the dev version of Z2M which you can have running alongside your original Z2M install.

Note this means you’ll have 2 separate zigbee networks which won’t communicate directly with each other. HA will then handle both networks itself.