Hacker News new | ask | show | jobs
by microtonal 24 days ago
Thread over Matter is not fully local. In Thread < 1.4, devices can connect to internet servers through NAT64. Most Thread Border Routers (AFAIR Home Assistant + OTBR is the main exception) do not allow you to disable NAT64.

In Thread >= 1.4, devices can request globally routable IPv6 addresses. The Thread 1.4 white paper does not hide the intentions:

The Thread 1.4 Border Router acts as the IPv6 router between the Thread network and external networks, including the user's home network and the larger internet. It is by default configured to support external communication [...]

Cloud Connectivity: Direct internet connectivity enables Thread devices to easily connect to cloud services. This facilitates remote monitoring, control, and firmware updates, enhancing the user experience and enabling remote device management capabilities. Device vendors can now directly service and support their deployed fleet of devices, regardless of which application ecosystem each device is integrated with.

https://threadgroup.org/Portals/0/Documents/Thread_1.4_Featu...

This is what you get when you let Google, Amazon, Apple, and Samsung design a smart home standard. They'll use every opportunity extract analytics and increase control. You'll own nothing and be happy.

Zigbee, Z-Wave, and ESPHome over WiFi/Thread are the only major modern local and privacy-preserving smart home standards.

Matter over WiFi is also not fully local for obvious reasons (though you can try to block them on the router/firewall and/or put them on a separate VLAN).

5 comments

I think this interpretation is a bit too negative. Undoubtedly the companies want to spy on you, and with Thread 1.3 they were already perfectly capable of doing so - via your Thread border router, which connects to the normal LAN and can talk to the Internet (if you let it). Allocating Thread devices from global IPv6 blocks (GUAs) doesn't change that, it just removes the NAT between Thread devices and the border router.

Before Thread 1.4 the IPv6 addresses used by the Thread network were all ULAs - i.e. the devices were only routable locally and didn't have a global IPv6 address, so if you did happen to want to talk to your Thread devices over the internet, it was possible but the Thread border router had to do NAT for you.

With Thread 1.4 the border router can assign device IPs straight from the global IPv6 block assigned by your ISP, which means you can directly access your Thread device over the internet without the NAT provided by the Thread border router.

If you don't want to locally host your smart home automations (you and I do, but the average consumer doesn't) this can be very useful. It's also really helpful if you want to access your own devices remotely over the Internet and not need to bother with port forwarding.

IMO this fits perfectly with the philosophy of IPv6 - every device can have a globally routable IP address without needing NAT.

If you don't want your devices reaching out to the Internet (like I don't), the solution is to put all that stuff on its own VLAN with no Internet access (which I do).

I think this interpretation is a bit too negative.

You wrote a long message to say that you agree with me technically, but then said that it has good uses as well. I don't disagree with that, but the problem with these companies is - you give them one finger and they take your whole hand. Besides that,

If you don't want to locally host your smart home automations (you and I do, but the average consumer doesn't) this can be very useful. It's also really helpful if you want to access your own devices remotely over the Internet and not need to bother with port forwarding.

this implies that this is not possible with Zigbee. You can use your devices remotely with Zigbee, but it is fully governed by your Zigbee hub/coordinator. You can use Home Assistant, the IKEA hub, the Samsung SmartThings hub, Homey, etc. to control your Zigbee devices remotely. The very big, but relevant difference is that the devices themselves cannot connect to the mothership to do analytics or to lock away functionality. There were already some Thread + Matter devices that required talking to the manufacturer's servers to get all functionality (I think e.g. some Nuki devices, but I might misremember).

If you don't want your devices reaching out to the Internet (like I don't), the solution is to put all that stuff on its own VLAN with no Internet access (which I do).

Putting Thread + Matter devices on a different VLAN than e.g. your phone which you are commissioning it with is very fragile. So fragile that most Matter documentation just says "your phone needs to be on the same WiFi network as your smarthome hub". It is possible (I had such a setup for a while), but requires that you e.g. do allow mDNS advertisements across VLANs (since Matter relies heavily on mDNS). Since you are talking about average consumers, Zigbee will give them privacy without any extra work, whereas with Thread + Matter they have to set up their network in a way that their ISP-provided router most likely doesn't even support.

Thread + Matter has no point outside very large deployments and giving a bunch of companies the opportunity to start data mining your sensor data as well.

> There were already some Thread + Matter devices that required talking to the manufacturer's servers to get all functionality

The most I have seen that is rather the functionality not being available in matter (ie the standard does not support it) so they are only available on zigbee with the manufacturers app.

In my personal experience

> Zigbee will give them privacy without any extra work

Was exactly as fragile and dependent on manufacturer infrastructure for some fratures as you describe MoT. (the privacy part is true though, and as mentioned all the time: I have heard others had much better experiences than me with zigbee)

The most I have seen that is rather the functionality not being available in matter (ie the standard does not support it) so they are only available on zigbee with the manufacturers app.

No, it's also used for remote access, see e.g. Nuki and Tado.

Not super-nefarious, but this is probably just the beginning. If companies can gather data they will and if manufacturers can add features that require subscriptions, they will. The line always has to go up and Thread offers them the means to do so. If you give the opportunity, this always happens (see e.g. TVs, 'owning the glass').

Was exactly as fragile and dependent on manufacturer infrastructure for some fratures as you describe MoT.

I have over 50 Zigbee devices and never have a single issue (using HA and zigbee2mqtt, some on a separate Hue network). The Matter over Thread devices that I have, regularly drop off the network (no interference, etc., they just still seem very buggy). This also makes complete sense, since Thread adds a lot of complexity (IPv6, TREL, communication between border routers, etc.).

> If you don't want your devices reaching out to the Internet (like I don't), the solution is to put all that stuff on its own VLAN with no Internet access (which I do).

Or, if there is already a perfectly functioning open standard that just works and it's private by default (ZigBee) boycott the new standard created and forced upon us by BigTech and don't buy that hardware.

I tried to hop on the Matter bandwagon until I found out that it's basically impossible to keep Matter over Wifi devices on their own IoT VLAN. I have therefore come to the conclusion that there's literally only downsides to adopting them over Zigbee.

Your post reinforces that feeling.

It's annoying but it is possible; it comes down to allowing mdns broadcast across vlans and adding a static route for the border router

I used this guide if you're interested - https://ndo.dev/blog/hassio-thread-setup/, it's been working without fuss.

Amazing, thank you!

Looks like this was published recently. When I did research about 6 months ago there wasn't really much information other than a vague "you need to do mdns broadcast and a bunch of firewall hackery" at which point I gave up as it was not worth the effort.

Still not sure if it's worth the effort but at least there's a guide :)

Maybe things have changed but I always found mDNS reflectors to be unreliable.
same experience here. flaky enough that i wouldnt want it in the critical path of a light switch
> AFAIR Home Assistant + OTBR is the main exception

Luckily this is my setup.

I am not opposed to the possibility of cloud connectivity (as long as it is deactivateable) and even if I weren't I think I still prefer Matter (thread/wifi) over nearly all non-matter devices I've ever used, especially all the problems I had with Zigbee devices will make me stay far away from it. (Even though I am aware that many people had gread experiences with zigbee.)

I am curious what Zigbee devices you bought. We have over 50 Zigbee devices and never had any issue. It is just super reliable and always works.

In contrast, Matter + Thread devices in our network drop out very frequently (and no, I am not using multi-PAN, etc.).

Matter + WiFi devices are probably much more reliable (if close enough to an AP), but a security and privacy nightmare.

Bunch of sensors, lights and switches (sonoff (though those were wifi, much easier but energy hungry), ikea, aqara and some more I don't remember). They were often annoying to pair, dropped from the mesh, or simply didn't like to work with my bridge (first ikea, later smart things and also tried skyconnect with HA directly).

Matter wasn't flawless, especially because I fell into the trap that was mentioned here before by trying to separate things into clans without fully understanding the needs of matter. But now that it is fixed, I had little problem with adding new devices (like not having a lamp in short range to the bridge lol) or them staying connected.

Interesting. I also have many IKEA and some Aqara Zigbee devices and they don't have any issues. Did you check if the Zigbee channel didn't overlap with 2.4GHz WiFi? (Same issues as with Thread) Did you use a multi-PAN (Zigbee + Thread) coordinator? I am pretty sure that some SmartThings hubs use multi-PAN.

The IKEA tradfri Reddit is a stream of problems that people have with their Thread devices (and people longing back for Zigbee). Part of it is firmware that is still immature, but part of it is also the complexity of the Thread + Matter stack.

My impression is that Matter over Wi-Fi is the de facto standard for new smart home devices and Matter over Thread is really only a thing for compatibility with legacy Thread-only devices that got a software update after Matter over Thread became a thing.
That’s not the case at all. Matter over thread is newer. The latest range of ikea smart home stuff is all thread.

Thread has the advantage of consuming very low power so battery powered sensors and remotes can run for years. Wifi is only used because it doesn’t require buying a thread border router.

I didn’t mean to imply Matter over Thread was older. Thread itself is older than Matter, and also older than the wave of cheap ESP32 based smart home devices.

Wi-Fi is cheaper to implement both software- and hardware-wise if you don’t need the low-power requirements of Thread, most devices don’t, and the gap will be bridged by lower-powered Wi-Fi.

The other advantage of Thread is that the devices don't need to directly communicate with a border router (I think Zigbee is also like that?) unlike Matter over WiFi, where it does need to communicate directly with an access point.
But matter is a better network. More efficient and faster. Large zigbee networks with cheap devices often result in ghost devices not responding. Matter even with the cheapest 2 dollar bulbs from AliExpress have zero issues.
Matter is not the network layer. You are either talking about Thread (which uses IEEE 802.15.4 like Zigbee) or WiFi. Matter is the application layer protocol.

We have a lot of devices and never have any issues. But yeah, if you put a lot of Tuya Zigbee devices with crappy firmware that flood the network. Similarly if you put a lot of crappy WiFi devices on your network, it's a security nightmare (wise people put them on an isolated VLAN and use WiFi client isolation).