Sitting on my WiFi network I now have a Tado X Thermostat Starter Kit, which incorporates a thread border router, connecting to its remote thermostat via matter-over-thread. Rather than depending on the cloud and the Tado App for accessing and controlling the thermostat it is now all done locally via a raspberry pi Zero 2w thanks to Node-Red and the @sammachin/node-red-matter-controller. Achieving this setup was not straight forward as there were a number of hurdles to overcome and I hope my experience will help others.
Firstly my WiFi router (Plusnet Hub Two), as provided by my ISP, does not routinely support IPv6. Consequently an error was produced when trying to commission the Device (thermostat) in the Device Management Node of the Node-red-matter-controller.
The solution was to create a manual route to the Thermostat from the WiFi to the Thread network via the Tado X Thread Border Router using IPv6 addresses. The IPv6 address of the Tado X was easily obtained using the WiFi router’s Manager web interface showing the device’s Local link IPv6 address (fe80::xxxx:xxxx:xxxx:xxxx), while that of the Thermostat available over the Thread network required the installation of ndisc6 on the rpi and running the rdisc6 tool to manually scan for any hidden IPv6 router advertisements on the WiFi network.
sudo apt update && sudo apt install ndisc6 –y
sudo rdisc6 wlan0
The output for me contained three IPv6 addresses, one for an Echo Dot and one for the Tado X (as confirmed from the WiFi router’s Manager), as well as the unknown address(fd9a:xxxx:xxxx:1:xxxx:xxxx:xxxx:xxxx) relating to the Thermostat. Only the first 64 bits of this 128-bit IPv6 address which represent the network prefix are required, while the last 64 bits identify the individual host. So, if I had another device on the mesh network the network prefix would be the same.
On the rpi
# Add route via the Tado° Border Router
sudo ip -6 route add fd9a:xxxx:xxxx:1::/64 via fe80::xxxx:xxxx:xxxx:xxxx dev wlan0
Now any traffic for a device starting with the prefix fd9a:xxxx:xxxx:1 must go through the Tado X Thread Border Router thereby allowing a successful commissioning of the Thermostat on the Node-red-matter-controller's Device Management node.