Can I add a dongle with ethernet as a router?

My Thread network can be a bit flaky and slow and I’ve noticed that it depends at least partially on how I aim the antennas of my Sonoff dongle, which I use as the border router. This leads me to believe it might just be a bad connection from devices to the border router. Since I have an ethernet connection in the wall on every floor, I was wondering whether it would be possible to buy another Sonoff dongle, connect it to my LAN by cable and use it as a router (not as a border router) to improve the network on that floor.

So I was wondering whether I can configure a second dongle so that my thread devices connect like this:
Device → dongle 2 → dongle 1 (=border router), where the first step is wireless and the second is via the ethernet cables.

Will this work?

1 Like

No, you need to use it as a border router to solve your problem. Just set the same Thread network.

1 Like

So if I understand it correctly it’s fine to have two borders routers for the same network?

I was afraid this might cause issues, but perhaps not then.

With Zigbee yes, but Thread is meant to be an improvement over Zigbee, and this is one of those improvements.

Yes, you can have multiple TBRs on the same network.
If you have Thread-capable Amazon Echo devices around the house, you may want to know that these already run a multi-TBR network - and now that the Alexa app exposes the credentials you can actually merge your stuff into it.
(Not getting into the politics of it, figure this out for yourself.)

You can of course also buy more of those Sonoff Dongles; the Dongle Max comes in handy for it runs off PoE quite nicely.

1 Like

How can I add the second dongle? HA discovered it as a Zigbee router, but I want it to be Thread. I’ve tried “Add service” in the Open Thread Border Router integration, but it fails to connect (I tried tcp://Dongle-M.local:6638 as the URL).

It sounds like the firmware on the stick currently is with the Zigbee protocol.
If that is the case, then you need to flash the stick with a Thread firmware instead.

1 Like

I flashed the dongle with Thread firmware and set it to “Thread RCP Mode” under EFR32MG24 Operation Mode, but it doesn’t solve the problem.

Does the .local URL resolve in your network? Does your browser show the device’s login page if you use it?

It does, it leads me to the Dongle’s web ui

Good. Now login to this UI and copy your TBR URL from there. Also make sure it’s configured correctly.

Yes it’s a bit painful to get going at first, but once you got it it’s great.

1 Like

Where exactly can I find the TBR URL and what are the correct configurations?

I’ve copied the URL from the Zigbee2QMTT tab and set the dongle to Open Thread RCP mode.

There is no Thread tab to copy the URL from, as far as I can see.

To illustrate, here are the images of the Dongle M web ui


Here’s a tutorial. Follow this exactly for success. I can’t advise from mine, for I’m running mine in Multi-Protocol mode.

This seems to be for connecting a first TBR, if I understand correctly. I already have one running with the OpenThread Border Router app. I’m wondering how I can add a second one. If I remove my first dongle from the OpenThread Border Router app I’m afraid it’ll disappear from my Thread network and be replaced by the new dongle.

Basically you get it going first and let it create its own Thread bubble; then you use the Thread user interface to merge it into your existing one.
That’s what I did with mine (again, in Thread/Zigbee multiprotocol mode) - my Thread net originally ran on an Aeotec SmartThings hub, then I activated and merged my Dongle Max, and then later I removed the Aeotec hub.

I got it working finally by flashing firmware from here: GitHub - Scoobler/esp-thread-br-sonoff-donglem: Espressif Thread Border Router SDK modified for the Sonoff Dongle-M (Max) · GitHub

After that, HA immediately recognized the dongle as an OTBR with its own network, which I could then add to my existing preferred network. It all seems to work now.

Only thing I’m not 100% sure about is whether the second dongle now really works via ethernet, or that it’s secretly just doing everything by a wireless Thread connection and that the ethernet cable is just for show.

Border in Thread Border Router is referring to the function where it moves data from the Thread network to another type of network.
A Thread Router just moves data around inside the Thread Network.

In the HA Thread integration I see both devices labeled as border routers, but in the second dongle’s web gui it calls its own role router rather than leader.

There can be only one leader.