Connecting zigbee devices to remote building

I have Home Assistant running on Pi with a Conbee II stick that connects various devices around the house. We have an office above our detached garage which is too far away for the Conbee stick to connect too. The office has wifi and ethernet connections. I would like to be able to connect some zigbee bulbs and wireless switches in the office but can’t figure out a way to connect them. I have tried a zigbee hub connected to wifi and the Tuya integration but the switch buttons don’t show up in HA. Is there any way to use a second Conbee stick in the office and connect it somehow to the Pi in the house. Thanks for any help.

What’s the distance?

I place an on-off switch recently to control a fan which is currently closest to a “garage”.
I was able to cross just 25 meters with a bit more than a wall in between. I didn’t make the final install yet as I am planning to mount an outside zigbee light (also acting as a router) which I hope improves the connexion as well.

It’s too far to connect anything back to the pi. I think the house insulation blocks a lot of signal. I’ve tried everything I can think of but nothing has worked.

How far is too far? Did you try putting a pair of mains-powered devices, one in the house but closest to the garage, and another in the garage but closest to the house?

The whole point of Zigbee is that the devices will create their own mesh. I have some out in my barn. But that’s only about 50 feet (15 meters) from the house. If yours is a lot farther, than ignore this and consider it a clarification for future users who stumble across this.

1 Like

When you use Zigbee routers, the zigbee routers “extend” the range.
You need a good connection from your pi to a ZB router, to … to another ZB in your garage.

Generally any device that must be constantly powered is also a router and you can use those to extend your coverage.

Ensure that you can control the first router from your UI, then the second one, … until you get to your garage.

My house is old with some thick walls - I have the ZB coordinator on one end of the house and added two “routers” to get the temperature measurements on the other end as well as ensure the control of some devices that are not always on. That works fine.

You can find this in the ZHA Visualisation. The rectangle is the coordinator. You can see that several devices do not connect directly to the coordinator - they go through the routers (elipses, the circles are not routers - they are all battery powered in my case):

One device is without a connection - it’s not working well but it is within network range (it has a few bugs).

Ok… Thanks for the help. Looks like I need to use a plugged in zigbee device to act as a sort of bridge between the Conbee and the garage.

Exactly. Half the battle with Zigbee is getting the jargon right. Most (but not all!) mains-powered devices also act as routers. Battery powered devices are just end devices in all cases I’ve ever heard of.

I’ve found the best solution is to buy some Zigbee “smart plug” type devices which plug into an outlet. You can plug them in somewhere between a spot where you get a good signal, and a spot where you don’t. You may or may not find a light or appliance nearby that you’d like to control from HA. They’ll still act as routers even if nothing is plugged in to them.

Zigbee smart light bulbs are not as good for this use. For one thing, I’ve read about compatibility issues and updates impacting functionality. For another, if they’re in a light fixture which is turned off, they won’t do any good. And I think some can’t act as routers anyway.

Just to confirm: I jumped about 25 meters today. A Tuya on/off switch gave me about 2 meters more (possibly counts as 3) on that distance than Sonoff ZB-MINI.
Without SonOff I arrived about 1 meter outside the “workshop” and I had to keep it high up (my workshop is “downhill”, with Tuya I got about 1 meter inside (mainly glass doors) 1 meter lower and more reliable.

Its parent is the exterior light that I mounted today - LQI 44

Tip! Buy a few CC2652P USB adapters with external antenna and flash Zigbee Router firmware. Ex:

One of the best and cheapest commercial Zigbee Router is otherwise “IKEA Trådfri Signal Repeater”:

Also, check out this guide and discussions for more tips on extending Zigbee range and coverage:

PS: An alternative workaround is to just setup a Raspberry Pi with Zigbee2MQTT in that remote area.


Thanks for a very helpful post. One minor point: The Tradfri smart plug is $3 cheaper, and it acts as a router. It doesn’t have a USB port, which may or may not make it worth the difference. Another thing about IKEA is that their shipping costs can double the price, especially if you’re only buying one. If I had an IKEA store nearby, I’d probably use a lot more of their gear.

Yes but their “IKEA Trådfri Wireless Control Outlet” (Zigbee smart plug) is very well known to have a much shorter range than their “IKEA Trådfri Signal Repeater” so it is not recommended to be purcgased as long-range Zigbee Router! …but their plug is a great bargin if want loads of them within short range.

That is, well known in the community that IKEA smart plug is considerably worse as a range extender.

Conclusion; buy “IKEA Trådfri Signal Repeater” instead of “IKEA Trådfri Wireless Control Outlet” if the goal is to just buy a finished product to extend the range without having to add loads of units in a row.

Well, don’t know anything about that as live in Sweden so have an IKEA store just around the corner :wink:



I’ve got the same problem as OP but my office with my HA server is a good 50m away from the house where I would like to start using zigbee/thread devices.

I don’t think, at least for now, using devices to jump are going to be an option for me.

I do have a spare Pi though, you say about setting up a pi with Z2M down there, can this connect to and be controlled by my existing HA instance though?

How would you go about doing this?

Thanks for any help.

There is alot of POE/Ethernet connected Coordinators on the market, i find that as the best solution.
Wired from your main-router or some central (HomeAutomation dedicated) switch, to you Office, integrated with Z2M in HA … Thou as your talking about thread, i guess you should look for(Google) a thread/matter “prepared” Coordinator

Zigbee2MQTT talks MQTT to Home Assistant over your local network so Raspberry Pi can use WiFi or wited Ethernet LAN

Thanks for the help!

I suppose I was being rather stupid wasn’t I, I was thinking more in the zigbee domain rather then the MQTT domain.

Once it’s MQTT I imagine having two brokers on the network is perfectly doable and then is just about things publishing/subscribing properly.

I’ll look into this,

Thank you

To the best of my knowledge- no. Your devices can only connect to one broker and I am unaware of any “bridge” to connect broker to broker.

I haven’t tested this, but you could have another home assistant on that other RPi and then “ghost” it on your main instance:

If you have fairly “access” to Ikea, and it’s sounds like it’s a “basic” setup you need in your detached Office, buy Ikea-Hub / switches/Bulps, use the Ikea “Integration”, basic more or less Plug&Play, and the Hub can connect through Ethernet.
I know there are several people in here, who have “strong” opinions against several Zigbee net/integrations, but i have a “separate” Ikea-zigbee, never had problems with it.
In my opinion, a separate Zigbee network in a separate integration , would be my preferred choice, in your scenario … if there is/appear some problems with either Zigbee integrations, is also makes it more easier to narrow down the root cause, beside they Don’t interfere with each other, and your main-house zigbee network, will still be up/running fine, if your Garage/Office is totally cut of(and visaversa)

Your local network will only have one MQTT broker then your MQTT clients will publish and/or subscribe to topics on it. You can have multiple Zigbee2MQTT MQTT instances to the same MQTT broker.

Trying my luck on this thread… I know it is somewhat old.

I have my home assistant running in my main house and also have a barn (over 300’ away) that I would like to hook up some sensors (zigbee). I do have wifi in the barn by use of a unifi beam to beam.

Curious if the sonoff zigbee bridge (flashed with tasmota) would allow me to setup these devices over mqtt? Trying to wrap my head around everything… so wouldn’t my zigbee coordinator (Nortec Stick) sense the bridge device on the network and associate it into the zigbee network?