Today I learned: Matching hardware flow control (rts/cts) setting in OTBR to what the Thread RCP supports makes the difference between 'it generally works but sometimes doesn't' and 'it works reliably'.

In my case the only related log message was 'Failed to handle DNS message - Drop' ๐Ÿ‘€

#thread #homeautomation #otbr

If your #Thread #BorderRouter seems not to be running because you "did something" (like disconnect/reboot your network-connected Thread radio, or restart your #HomeAssistant #HA instance), try logging into your HA instance and restarting the #OTBR container:

# docker restart addon_core_openthread_border_router

That does the trick for me every time.

#Matter #MatterOverThread

Schritt 2 wรคre es, die Software zu installieren, die den ZBT-2 mit dem Netzwerk verbindet. Nach meinem bisherigen Verstรคndnis gilt es zwei Softwaredienste zu installieren, den Openthread Border Router (#OTBR) und den Matter Controller.

Der OTBR wird per USB mit dem ZBT-2 verbunden. Er kontrolliert die Antennen und wandelt die Thread-Pakete in IPv6-Pakete um. Diese IPv6-Pakete gehen an den Matter Controller, der sich dann per "normalem" REST-Endpunkt steuern lรครŸt (z.B. von #HomeAssistant).

Q: How difficult can it be, to have a second open thread border router #otbr docker container, running on a second pi, join the same thread network and connect #matter #iot devices to #homeassistant?

A: many MANY hours worth of trial and error and setting up different images until you suddenly don't know what the problem was.

For reference: Compiling #OTBR 1.1 for the #CC2652R1 using wlan0 for the interface (sub eth0 if using ethernet):

sudo git clone --recursive https://github.com/openthread/ot-br-posix.git
cd ot-br-posix
sudo git submodule update --init --recursive
sudo nano third_party/openthread/CMakeLists.txt
- add this: set(OT_THREAD_VERSION 1.1 CACHE STRING "Thread 1.1" FORCE)
sudo WEB_GUI=1 ./script/bootstrap
sudo BACKBONE_ROUTER=0 INFRA_IF_NAME=wlan0 WEB_GUI=1 ./script/setup

That should do it.

GitHub - openthread/ot-br-posix: OpenThread Border Router, a Thread border router for POSIX-based platforms.

OpenThread Border Router, a Thread border router for POSIX-based platforms. - openthread/ot-br-posix

GitHub

WHOOT SUCCESS GOT #OTBR RUNNING WITH MY TI #CC2652R1. IT ONLY TOOK MULTIPLE GOOGLES, FIVE OBSCURE MESSAGE BOARDS, AND TWO THREADS FROM 2021 THAT WERE ACTUALLY ABOUT DOCKER.

IT ALSO HELPED TO RUN UNIFLASH IN WINDOWS INSTEAD OF UBUNTU WHICH IS WEIRD BUT OKAY.

#OTBR Annd my Samsung SmartThings Hub and Aero Hub just decided to join us.

I am a stranger in a strange land.

#OTBR HOME ASSISTANT CAN SEE IT! THIS IS REAL!

#OTBR Look, it's a network!

(Disclaimer: I am really way too excited about something I literally understand nothing about.)

#OTBR Booya, I got this one!

(Disclaimer I actually have no idea how the hell this is working between messing up my python versions and having to use three projects directions since each one was committed to leaving out key steps. I also am not sure what it is doing, for the record.)

But! Got the web GUI up!