Thread Border Router in Home Assistant: Turn a SONOFF ZBDongle-E into a Thread Radio
You bought a Matter device, and only afterwards did you realize you need a Thread Border Router to use it? You may not need new hardware for this: a SONOFF stick with a Silicon Labs chip, such as the ZBDongle-E or the Dongle Plus MG24, can be turned into a full-blown Thread radio with a firmware flash. The popular ZBDongle-P can’t go this route. The flash takes less than two minutes and runs entirely from within Home Assistant.
I had exactly one of those sticks lying around: I recently swapped my Zigbee coordinator and moved my Zigbee network from the SONOFF stick over to an Aeotec dongle. I was already using the Aeotec for Z-Wave, and it’s the 10 Pro, which handles Zigbee and Z-Wave at the same time. The SONOFF ZBDongle-E has been sitting in a drawer ever since – and now it becomes a Thread radio. In this article we’ll first sort out what separates Thread, Matter and Zigbee (everyone loves to mix these up), and then we’ll flash the stick to OpenThread step by step.
A Thread Border Router is the bridge between a Thread radio network and your regular IP network. It consists of two parts: a Thread radio (a USB stick with the right firmware) and the OpenThread Border Router software, which runs as an app in Home Assistant (called an add-on until early 2026). Only with both in place can Matter-over-Thread devices – sensors, lights, locks – reach your Home Assistant server. Without a Border Router, a Thread device stays invisible to Home Assistant.
Thread, Matter and Zigbee – who does what, exactly?
These three terms get thrown into the same pot all the time, even though they live on completely different levels. Matter is not a radio standard. Matter is a shared language, and Thread, Wi-Fi and Ethernet are the paths it travels over. Zigbee is a separate standard with its own device language.
Think of it this way: Thread and Wi-Fi are the road network, Matter is the language the parcels are labeled in. A Matter device can talk over Thread – or over Wi-Fi. Zigbee is a road network of its own with its own language: a Zigbee device doesn’t speak Matter at all, it speaks Zigbee clusters.
| Zigbee | Thread | Matter | |
|---|---|---|---|
| What is it? | Radio standard + its own device language | Radio standard (transport only) | Application language – no radio of its own |
| Frequency band | 2.4 GHz | 2.4 GHz | Doesn’t matter – runs over Thread, Wi-Fi or Ethernet |
| Network type | Mesh with a coordinator | Mesh with IPv6, no central coordinator | – |
| Hub required? | Yes – a coordinator stick | A Border Router as the bridge into the IP network | A Matter controller (in HA: the Matter Server) |
| Device selection | Huge, cheap, mature | Growing, still manageable | Growing fast, cross-vendor |
The decisive technical difference: Thread devices speak IPv6. Every Thread device has its own IP address and is therefore, in principle, a perfectly ordinary network participant – unlike Zigbee, where everything has to be translated by the coordinator. That’s why Thread doesn’t need a coordinator in the Zigbee sense, just a Border Router that connects the Thread mesh to your LAN.
How a Thread Border Router works technically
A Border Router consists of two halves, and that also explains why a simple USB stick is enough:
- The radio (RCP): The USB stick runs as a Radio Co-Processor. It does nothing but send and receive radio packets – the actual intelligence doesn’t sit on the stick.
- The stack (host): The complete OpenThread logic runs on your Home Assistant host, inside the OpenThread Border Router app. Host and stick talk to each other over the Spinel protocol via the serial interface.
The practical consequence: what you flash onto the stick is the OpenThread RCP firmware – not “the whole of OpenThread”. That turns the stick into a dumb radio module, and Home Assistant takes care of the rest.
Do I even need Thread?
Not necessarily. If your sensors, lights and switches all run over Zigbee and work reliably, there’s no reason to rebuild anything. Zigbee is mature, the device selection is huge and considerably cheaper.
Thread pays off in exactly two cases:
- You have (or want) Matter-over-Thread devices. Plenty of new sensors, locks and thermostats now ship as Matter-over-Thread only – without a Border Router you can’t integrate them.
- You want to stay cross-vendor. A Matter device can be controlled from Home Assistant, Apple Home and Google Home in parallel, with no forced cloud and no tinkering.
The two don’t rule each other out. Zigbee network on one stick, Thread on the other – that’s exactly how it runs at my place.
Check first: you may already own a Border Router
Before you buy or flash anything: plenty of homes already have a Thread Border Router sitting in the living room. According to the Home Assistant Thread documentation, these devices work as Border Routers with Home Assistant:
- Apple: Apple TV 4K (2nd generation, 3rd generation Wi-Fi + Ethernet), HomePod mini, HomePod (2nd generation)
- Google: Nest Hub (2nd gen), Nest Hub Max, Nest Wifi, Nest Wifi Pro, Google TV Streamer (4K)
If one of them is in your home, Home Assistant can use that existing Thread network for Matter-over-Thread – no stick required. In the Companion app, go to Settings → Connectivity → Thread and select Send credentials to Home Assistant (iPhone for an Apple network, Android phone for a Google network). Then set that network as the preferred network.
Still want your own Border Router, for example to pick the OpenThread version yourself or to add another router to the mesh? Then do this credential import before step 6. The OpenThread Border Router app only joins the preferred network as long as it hasn’t created a network of its own. If you skip the import, you end up with a second, separate Thread network – and devices can’t roam between separate Thread networks.
Important: Zigbee has to come off the stick first
A radio chip can only run one firmware at a time. As soon as the stick speaks OpenThread, it is no longer a Zigbee coordinator – your entire Zigbee network would be gone. There are special solutions from individual vendors that let a stick run Zigbee and Thread side by side, but I wouldn’t recommend them.
So if your production Zigbee network is still running on the stick, you have to migrate it to another coordinator first. I described how in the article swapping the Zigbee coordinator – there, the entire network including the IEEE address moves over to the new stick without having to re-pair a single device. Only after that is the old stick free for Thread.
And what about MultiPAN? The flasher offers the firmware that would let a stick run Zigbee and Thread at the same time. Sounds tempting, but Home Assistant explicitly advises against it: both networks share a single radio chip, which comes with technical limitations, and the firmware remains experimental. One radio chip, one job – get yourself two sticks instead.
Which sticks can do Thread?
Thread needs a chip with an 802.15.4 radio and matching firmware. These sticks are the common ones:
| Stick | Chip | Thread-capable |
|---|---|---|
| SONOFF ZBDongle-E* | EFR32MG21 | Yes – via OpenThread RCP firmware (this article) |
| SONOFF Dongle Plus MG24* | EFR32MG24 | Yes – newer chip, more headroom |
| Home Assistant Connect ZBT-2* | EFR32MG24 | Yes – the official stick; Home Assistant flashes the Thread firmware itself during setup |
| SONOFF ZBDongle-P | CC2652P (TI) | No – not for this route (TI chip) |

Thread-capable sticks
All three sticks work as a Thread radio: you flash the two Sonoff sticks with the OpenThread firmware from this guide, and Home Assistant installs the firmware on the ZBT-2 itself.
Remember that last row: the widely used ZBDongle-P won’t work. Its TI chip can technically do Thread, but the firmware in this guide only exists for sticks with a Silicon Labs chip (EFR32MG21/MG24) – and those are all Thread-capable in principle. If a ZBDongle-P is what you own, you’ll need a second stick.
Apart from that, you need Home Assistant OS, for example Home Assistant on a Raspberry Pi, on a Home Assistant Green or as a VM. Mine currently runs as a VM under Proxmox, with the stick passed through via USB passthrough. The apps in steps 1 and 6 only exist on Home Assistant OS: a Container install has no apps, so this guide won’t work there as written. If you run Home Assistant as a VM, check beforehand that the VM is reachable over IPv6 – on a UGREEN NAS that only works in Linux bridge mode, not with the default MacVTap (details).
Step 1: Install the SONOFF Dongle Flasher as an app
There are two ways to flash: SONOFF’s web tool in the browser – or, much more convenient, the official app right inside Home Assistant. We’ll take the app, because it finds the stick on the host and no re-plugging is needed.
Go to Settings → Apps → Install App, click the three-dot menu in the top right and pick Repositories. There you enter this address:
https://github.com/iHost-Open-Source-Project/hassio-ihost-addon
After adding it, the SONOFF Dongle Flasher shows up in the app store. Install it, click the app and start it – then Open the Dongle Flasher web UI.
Step 2: Connect the stick
In the flasher, you start with Connect. But please read the note next to it carefully first: the app needs exclusive access to the serial interface and therefore automatically stops ZHA, Zigbee2MQTT and Z-Wave JS. In my case it worked without stopping anything, because the stick was no longer in use by ZHA or Zigbee2MQTT. If you do have to stop them: for the duration of the flash, your Zigbee and Z-Wave devices will not be controllable – including the ones that have nothing to do with the stick being flashed. Nothing breaks, but don’t do this at the exact moment your heating control needs to run.
After clicking Connect, the app scans the serial devices on the host. This is where you need to pay attention: in my case three entries show up – the CP2105 twice (that’s my Aeotec combo stick with Zigbee and Z-Wave) and once the Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2. The latter is the ZBDongle-E, the one we want.
If your ZBDongle-E doesn’t show up at all, you may have the version with the CH9102 USB chip: the flasher’s changelog lists it as not supported. In that case, try the other route from step 1, SONOFF’s web tool in the browser.
Pick the wrong stick and you’ll wipe your production Zigbee coordinator. The name in the path is your anchor – not the ttyUSB number, which can change when you re-plug devices.
The flasher then reads out the stick and shows what it found: Name: ZBDongle-E, Chip: MG21, currently running Zigbee firmware. Exactly what we expect. To switch the firmware, click Change firmware.
Step 3: Choose the OpenThread firmware
Now the firmware selection opens up. Several variants are available for the ZBDongle-E:
| Firmware | What it’s for |
|---|---|
| Zigbee | The factory state – the stick works as a Zigbee coordinator. |
| OpenThread | This is the one we want: the stick becomes the Thread radio (RCP) for the Border Router. |
| MultiPAN | Zigbee and Thread in parallel. Sounds good, but it’s no longer recommended (see above). |
| Zigbee Router | Turns the stick into a pure Zigbee repeater that strengthens an existing network. |
| Customize | Upload your own firmware file. |
Pick OpenThread on the left, and on the right you’ll see the version the flasher offers – in my case 2.4.4. You could go ahead with that. But I’d now advise against it – why, is in the next paragraph.
Important: the flasher ships outdated firmware
The SONOFF Dongle Flasher lags behind development – for me it only ever offered 2.4.4. The maintained builds for the ZBDongle-E come from darkxst/silabs-firmware-builder on GitHub. Download the stable version 2.5.3.0 from there and load it via the Customize option in the flasher:
zbdonglee_openthread_rcp_2.5.3.0_…_no_flow_460800.gbl (Release 20250627)
Watch out for the no_flow_460800 suffix – that matches our configuration further down (baud rate 460800, flow control off).
Here’s how the file gets onto the stick: in the Select Firmware dialog, click Customize on the left instead of OpenThread, upload the .gbl file you downloaded and confirm with Apply. Everything after that works just like with the version from the list.
And now the tip that would have saved me half an evening: stay away from the -Next release. That’s where the higher version number 2.7.0.0 lives, and that’s the one I took – because higher sounds better, right? After that, my stick crashed every few seconds. The Border Router log showed a permanent stream of radio tx timeout, RCP failure detected and Software reset co-processor – the radio chip kept resetting itself and aborted every transfer in progress. Not a single Thread device got through. Only going back to the stable 2.5.3.0 ran cleanly. The highest version number isn’t always the best one.
A warning follows, and it means business: switching the firmware type permanently erases all data on the stick – including the Zigbee network data and any backups stored on the device. If you still have a production Zigbee network on the stick at this point, this is the very last moment to cancel.
Step 4: Flashing
Back in the overview, Upgrade To now shows the firmware you picked – OpenThread 2.4.4 from the flasher’s list in the screenshot, your uploaded 2.5.3.0 in your case. One click on Flash and the process runs.
It takes less than a minute. Don’t unplug the stick while it’s running and don’t restart Home Assistant – an interrupted flash can brick the stick.
Done. The ZBDongle-E is no longer a Zigbee coordinator, it’s a Thread radio. ZHA, Zigbee2MQTT and Z-Wave JS start again on their own once you close the dialog – still, take a quick look to check that your Zigbee and Z-Wave devices are reachable again.
Step 5: Find the device path of the stick
Before we set up the Border Router, we need the device path of the freshly flashed stick. But first, a trap almost everyone falls into:
After flashing, Home Assistant may keep offering the dongle as a Zigbee device and suggest a ZHA setup. That’s not something you did wrong: USB detection goes by the hardware’s vendor and product ID, and a firmware flash doesn’t change those. So the stick still identifies itself as a “Sonoff Zigbee Dongle”, even though it now only speaks Thread. Don’t click through the ZHA suggestion – dismiss it.
You get the path from Settings → System → Hardware. In the three-dot menu in the top right, pick All Hardware and search for sonoff. The stick shows up as ttyUSB2 (the number may differ on your system).
Click the entry to see its attributes. What you need is the first line under DEVLINKS – the path under /dev/serial/by-id/:
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_<serial-number>-if00-port0
Use exactly this path, not /dev/ttyUSB2. The ttyUSB numbers are handed out in order at boot – re-plug another USB stick or reboot the host, and ttyUSB2 can suddenly become ttyUSB0, leaving your Border Router talking to the wrong device. The by-id path contains the serial number and stays stable.
Step 6: Install the OpenThread Border Router app
There are two things that are both called “OpenThread Border Router”. If you search for it under Devices & Services → Add Integration, Home Assistant will ask you for a REST URL – that’s meant for a Border Router that’s already running somewhere else. But you’re about to build one. The right route goes through Settings → Apps. The integration will show up later all by itself.
So: Settings → Apps → Install App and search for Thread there. Under the official apps you’ll find the OpenThread Border Router.
While you’re at it, note the second hit: Silicon Labs Multiprotocol – that would be the MultiPAN route for running Zigbee and Thread on a single stick. Home Assistant now flags that app as “Deprecated” itself.
Open the app and hit Install. The note on the page confirms exactly what we prepared: the app needs an 802.15.4 radio with OpenThread RCP firmware.
Start and configure
After the installation you land on the info page with the Start button. Switch on “Start on boot” and “Watchdog” right away – the Border Router should come back on its own after a reboot and restart itself after a crash. Then start the service.
The app doesn’t yet know which stick it’s supposed to listen to, so the configuration dialog pops up right after the start. Click Go to configuration.
Step 7: Configure the Border Router
In the Configuration tab you now enter the path from step 5. You can copy the remaining values from me one to one:
| Option | Value | Why |
|---|---|---|
| Device | your /dev/serial/by-id/usb-Itead_Sonoff_…-if00-port0 | The serial port the OpenThread RCP radio is attached to. |
| Baudrate | 460800 | Matches the Sonoff RCP firmware and is already pre-filled – just leave it. |
| Hardware flow control | off (on by default) | The ZBDongle-E doesn’t need hardware flow control. The app turns it on by default, so switch it off yourself – otherwise the Border Router stays silent. |
| OTBR firewall | on | Blocks unnecessary traffic in the Thread network. Default, can stay as it is. |
| NAT64 | it depends | Not needed for Matter. But mandatory for MQTT over Thread – otherwise your Thread devices will never reach the broker. Why, is right below the table. |
| Beta | off | Experimental OTBR version – not needed for production use. |
Using a different stick than the ZBDongle-E, such as the SONOFF Dongle Plus MG24? Then baud rate and flow control come from your firmware, not from this table. The suffix in the file name tells you: …_no_flow_460800.gbl means 460800 baud with hardware flow control off. If the values in the app don’t match the firmware, the Border Router can’t talk to the stick.
NAT64: the switch almost everyone gets wrong later
A Thread device knows IPv6 and nothing else. As long as it only talks to the Matter Server, that’s no problem – that one speaks IPv6 too.
But as soon as your Thread device needs to reach something running on an IPv4 address – typically your MQTT broker on 192.168.x.x – the two can’t talk to each other out of the box. They speak different address families. The translator in between is called NAT64, and it sits right here in the Border Router.
In short: if you’re only running Matter, you can leave NAT64 off. If you want MQTT over Thread, turn it on – otherwise you’ll be tearing your hair out later wondering why nothing connects. It happened to me with the Nuki Smart Lock.
Confirm with Save at the very bottom. Then start the app – and this time it runs through.
Step 8: Write down your Zigbee channel – before Thread gets going
Thread and Zigbee both transmit on 2.4 GHz and use the same 802.15.4 channels (11 through 26). If your Thread network ends up on the same channel as your Zigbee network – or right next to it – the two will interfere with each other, and you’ll spend weeks looking for the problem in the wrong place.
So first check which channel your Zigbee network is running on: Settings → Connectivity → Zigbee → Network information. That’s where ZHA shows it. On Zigbee2MQTT, the channel lives in its configuration.yaml under advanced → channel. If there’s no entry, the network runs on the default channel 11.
My Zigbee runs on channel 25. You’ll need that number in a moment, when the Thread network is created.
You’ll come across forum posts claiming that Thread and Zigbee have to use the same channel. That only applies to MultiPAN, i.e. when both networks share a single radio chip. With separate sticks – like here – the opposite is true: the two networks should stay as far apart as possible. Anyone who applies the MultiPAN rule to two sticks is wrecking their own signal-to-noise margin.
Step 9: Thread shows up in Home Assistant
Once the app is running, it takes a minute or two – then the Thread integration appears under Settings → Devices & Services all by itself. You don’t have to add it, and you certainly don’t have to type in any URL.
If it doesn’t show up after a few minutes, restart Home Assistant once. If it still stays away after that, it’s worth a look at the app’s Log tab: if it reports problems with the serial interface, then almost always one of the two values from step 7 is wrong – the device path or the baud rate.
That’s the bulk of the work done: the Sonoff stick is a Thread radio, the Border Router app is running, and Home Assistant knows it now speaks Thread.
Step 10: Preferred network and the right channel
This happened to me: the Thread integration was there, but the panel stubbornly reported that there was no preferred network. The reason was mundane – the OTBR app wasn’t running at all. Without a running Border Router, no network can be created. So first check that the app says “Running” and stays that way. If it drops back to “Stopped” after a few seconds, the reason is in the Log tab – usually the device path or the baud rate is wrong. And while you’re there, make sure “Start on boot” is enabled, otherwise your Thread network will be gone again after the next reboot.
Once the app is running, it creates a Thread network all on its own – you don’t have to create anything. It’s called ha-thread-xxxx and shows up in the Thread panel. You get there via Settings → Devices & Services → Thread and then the gear icon next to the entry. Since Home Assistant 2026.9 there’s a shorter route: Settings → Connectivity → Thread.
Now you can see your network and, below it, the one Border Router – your Sonoff stick, which reports itself as homeassistant-otbr.local. With that, Home Assistant is officially a Thread Border Router.
If you imported an Apple or Google network earlier, the app doesn’t create a network of its own – it joins that preferred network instead. You won’t see an ha-thread-xxxx network then. The channel change below is meant for the network the app creates itself.
Set the channel now – not later
Remember the Zigbee channel from step 8? Channel 25 in my case. The Thread network picks its own channel when it’s created – and that one can come dangerously close to your Zigbee. In the three-dot menu next to the Border Router you’ll find “Change channel”.
I put Thread on channel 15. The reasoning in short: Zigbee channel 25 sits at 2475 MHz, channel 15 at 2425 MHz – 50 MHz apart. Channel 26, the one recommended in the official documentation, would be the worst choice here, because it sits right next to your Zigbee channel. Channel 15 has the added benefit of falling right into the gap between Wi-Fi channels 1 and 6 when your Wi-Fi uses 20 MHz channels.
Home Assistant warns you about this itself when you change the channel: some Thread devices don’t automatically follow to the new channel and have to be re-paired manually afterwards. The change can’t be undone either – only by changing again. As long as not a single device is on the Thread network, the switch costs you exactly nothing. Once you’ve paired twenty sensors, it turns into an afternoon of work. Channel first, devices after.
The Border Router schedules the change about five minutes in advance so that all participants in the mesh can switch over at the same time. After that, your Thread network runs cleanly alongside the Zigbee network – two sticks, two channels, no collisions.
Finally: get the credentials onto your phone
You’ll pair devices later through the Home Assistant app on your phone, so the phone needs the credentials of your new Thread network. Do this now, after the channel change – otherwise your phone holds on to the old channel.
- iPhone: In the Companion app, open Settings → Connectivity → Thread and tap Send credentials to phone at the bottom of the preferred network box.
- Android: The app normally syncs the credentials on its own when you pair a device. If that doesn’t work, go to Settings → Companion app → Troubleshooting → Sync Thread credentials.
Done: what’s in place now – and what’s still missing
Let’s quickly recap what you’ve built in this guide:
- A retired Zigbee stick has become a Thread radio thanks to OpenThread firmware – without spending a cent on new hardware.
- The OpenThread Border Router app is running and has either created a Thread network on its own or joined your imported one.
- The radio channel of your own Thread network sits cleanly clear of the Zigbee network, while that still costs nothing.
- Your phone knows the Thread network’s credentials and can bring new devices onto it.
- Home Assistant is now a fully fledged Thread Border Router.
What’s still missing depends on how you want to connect your devices. Because the Border Router is only the radio bridge – it gets a device onto the network, but it doesn’t understand it yet.
Two routes from here: Matter or MQTT
A Thread device is – unlike with Zigbee – a perfectly ordinary network participant with its own IPv6 address. That’s exactly why there are two routes from here, and both need one more building block:
| Route | What you additionally need | When it makes sense |
|---|---|---|
| Matter over Thread | The Matter Server (app) – it translates the Matter language into Home Assistant devices. | The standard route. Cross-vendor, local, and the device can be controlled from Apple Home or Google Home in parallel. |
| MQTT over Thread | An MQTT broker – on a Raspberry Pi, that’s usually Mosquitto. | When your device speaks MQTT and you want full control over topics and payloads. Some devices (Nuki, for instance) expose far more detail over MQTT than over Matter. |
Important to understand: the two don’t rule each other out, but with Matter devices like the Nuki they build on one another. The device is always brought into the Thread network via Matter first – only then can it also speak MQTT over it. Without Matter commissioning it never even gets onto the network.
A brand-new Thread device doesn’t know your network yet – so it can’t announce itself over it. That’s why it uses Bluetooth for the first contact, receives the Thread credentials that way, and only then switches over to the Thread network. Practical consequence: you always pair through the Home Assistant app on your phone. Home Assistant deliberately doesn’t use its own Bluetooth for this, even if your server has an adapter – your phone is the Bluetooth radio.
Where do we go from here?
The actual pairing is something I’ll show you with a concrete example: integrating the Nuki Smart Lock into Home Assistant. My Smart Lock Ultra used to hang on the network over Wi-Fi and MQTT – and has now moved to Thread. There you’ll see the whole path from commissioning via the phone app to a finished device in Home Assistant, including all the pitfalls that cost me an entire evening.
And the answer to the question of whether the move is worth it turned out to be a surprising one: I now run MQTT and Matter over Thread at the same time – with Wi-Fi switched off. That’s what the NAT64 switch from earlier is for.
And if you’re still at the very beginning: how to free up an occupied Zigbee stick in the first place, without re-pairing your entire Zigbee network, is something I described in the article swapping the Zigbee coordinator. Have fun experimenting – and drop me a comment if your Border Router acts up.
Not necessarily. Any stick with a Silicon Labs chip (EFR32MG21 or EFR32MG24) can be flashed into a Thread radio with the OpenThread RCP firmware – the SONOFF ZBDongle-E, for example. Sticks with a Texas Instruments chip like the ZBDongle-P (CC2652P) won’t work: this firmware route doesn’t exist for them.
Technically yes, via the so-called MultiPAN firmware. Home Assistant advises against it, though: both networks share a single radio chip, which comes with technical limitations, and the firmware remains experimental. Home Assistant now flags the corresponding “Silicon Labs Multiprotocol” app as deprecated itself. Get two sticks instead – one radio chip, one job.
Because USB detection goes by the hardware’s vendor and product ID, and a firmware flash doesn’t change those. So the stick still identifies itself as a “Sonoff Zigbee Dongle”, even though it only speaks Thread now. Just dismiss the ZHA setup suggestion – it’s a cosmetic problem, not a fault.
One that’s far away from your Zigbee channel, because both transmit on 2.4 GHz and use the same 802.15.4 channels. If Zigbee sits on channel 25, for example, channel 15 is a good pick for Thread. Change the channel while there are no devices on the Thread network yet – later on, some of them will have to be re-paired manually.
No. The Border Router is only the radio bridge between the Thread mesh and your IP network. For Home Assistant to understand a Matter device, you also need the Matter Server. If you’d rather connect the device over MQTT, an MQTT broker such as Mosquitto comes on top.
























