For the pre-Matter home automation stuff I’ve got, I’ve gone out of my way to select things that can be re-flashed with open source firmware. I’ve been really looking forward to Matter mainly because that research is really hard compared to just using devices as-is. But just now it occurred to me: is Matter actually good enough by itself to meet my security/privacy/paranoia standards?
On one hand, Matter support means the device is supposed to be communicating with Home Assistant directly and in a standard way (as opposed to using some cloud intermediary). On the other hand, the device still has an IP address (at least an IPv6 one, if using Thread), so is there anything actually stopping it from trying to phone home somewhere in addition to the Matter transmissions?
FWIW I’d point out there is little need to be particularly paranoid about closed source zigbee/z-wave stuff as long as you own the gateway.
I’m fairly happy connecting AliExpress specials to my ZigBee network because there’s no reasonable way it can communicate beyond my home assistant server. I’d never in a million years do the same with a WiFi smart device from AliExpress, even on a VLAN tbh.
Matter is a funny one because it seems that devices can potentially use both ZigBee and WiFi, which frankly has me being a bit reluctant to adopt it currently, though I’m not currently in the market for anything new in that category
devices can potentially use both ZigBee and WiFi
Not quite. They can use Thread (not ZigBee) or WiFi. But not both in one device – any one device will use one or the other.
Thread is very similar to ZigBee, but not interoperable. It’s like ZigBee plus IPv6.
Ah thanks, that’s good extra context, cheers
It’s confusing because the “normal” provisioning process “requires” WiFi, even for Thread devices. But it’s the phone app connecting to the (Matter hub? Tread border router?) via WiFi, not the IoT device itself doing it.
Well, Matter is nice. But for some reason I can’t pair devices because I have GrapheneOS on my phone and the HomeAssistant app needs to call something within the Play services to onboard devices. Not sure what that’s supposed to tell us about the open-ness. Or if that’s just something that eventually gets fixed by a different library… All I can say I was a bit pissed, wasted an afternoon and then borrowed my partner’s Samsung phone with regular Android on it. Now my Ikea devices joined the Thread network and do their job.
I think Matter allows devices to access the internet. I’m not sure but I read something about Thread border routers routing traffic towards the internet. And they might also be able to talk to the internet when using Matter over WiFi.
I personally still prefer ESPHome for wired devices because of the customizability. Like being able to randomly add an Infrared proxy to some LED strip after the fact. That’s nice. But I’ll probably also buy some closed Matter window sensors etc.
But for some reason I can’t pair devices because I have GrapheneOS on my phone and the HomeAssistant app needs to call something within the Play services to onboard devices. Not sure what that’s supposed to tell us about the open-ness. Or if that’s just something that eventually gets fixed by a different library…
Yeah, I’m annoyed about the GrapheneOS thing too (and especially that they don’t intend to make it work). I get that it’s not their fault, but they ought to be more responsive to their users’ needs. This github thread lists some workarounds, but I also ended up resorting to using somebody else’s non-Graphene Android phone to do it.
I’m not sure if the Matter network gets bridged/routed to the public internet. I doubt it.
I admit I don’t really understand IPv6, but I know Matter/Thread devices get an IPv6 address and I think theoretically it could be globally routed if there isn’t some firewall rule to prevent it?
github thread
Thanks! I’m pretty sure I tried the BLE proxy and it didn’t work. But I’ll (eventually) try again. Ikea is going to sell some new stuff in January.
I think theoretically it could be globally routed if there isn’t some firewall rule to prevent it?
Over Thread, I’d expect them to open up some sort of local network address range?! I’d have to look it up. But there’s two settings in my OpenThread Border Router App: Something with NAT64 address translation to communicate with the internet, and a firewall. So… Seems to me there’s at least some way for the devices to open connections towards the rest of my network and the internet, via the Border Router.
After a lot of flailing around, I got BLE to work.
There were a number of settings that had to match between the Open Thread Border Router and Matter Server (HA add-on apps)
Also, I had to restart the Matter Server after each change.
But once I got it to work, it has been reliable since.
I have now added two dozen Ikea devices just through the Matter Server “add device” UI, with no Android or IOS device needed; just an ESPHome BLE proxy.
So I now have a complete Thread network running just in HA, with no Apple or Google involvement anywhere, at either commissioning or runtime.
just an ESPHome BLE proxy.
Is that a separate device from the Thread Border Router? I’m using one of these…

…and I’d like to think it ought to be possible for it to also be its own BLE proxy.
Also, could you go into more detail about your provisioning workflow?
(That dev board is the cheapest Thread Border Router on the market, but it took way too much faffing around with compilers to get working, BTW. I’m considering switching to a Sonoff Dongle Max with PoE for tidyness’ sake, but I’m also loathe to disrupt the configuration.)
Is that a separate device from the Thread Border Router?
Yes, in my case. I don’t know if you can combine them, but it certainly is the most simple to keep them separate. I would definitely recommend keeping them separate until you have everything working reliably.
All you need for the BLE proxy is a small ESPHome controller. I’m not aware of any software that does BLE proxy for HA other than ESPHome. I use an M5Stack C124, which is tiny and can be put anywhere.
I’m using one of these…
Does that run OTBR on the device itself? That’s not what I’m doing.
I’m considering switching to a Sonoff Dongle Max with PoE
Yes, that matches what I’m doing. In my case, I’m using the SMLight SLZB MR4U, running Zigbee and Thread radios over PoE.
(Lots of write-ups tell you it is better to run the border router software on the same hardware as the radio, meaning USB and not ethernet. But I’ve done Zigbee and ZWave like that for 3 years and it’s worked well, and now Thread also for a few months, and my IOT operations have been reliable.)
more detail about your provisioning workflow
Now that it is set up, the provisioning workflow is very simple.
Every matter device has a provisioning ID, which is the 11-digit code usually printed on the device (NNNN-NNN-NNNN). There is also a QR code, which encodes that same ID. I usually use the 11-digit number.
In Home Assistant, I go to Matter Server -> + Commission Node -> Commission new Thread device -> enter Pairing Code. I type in the 11-digit number, and that is all. After about 30 seconds, it is recognized and added, all through BLE proxy on the server to the Matter Server software; no android/iphone needed. After that, I find it in HA devices, and rename it from its generic name to whatever I want.
If you want to do this all on GrapheneOS, that works too. Install the HA android app and do the same steps above. It doesn’t use bluetooth or Google libraries on your phone; you are just using the HA app.
You can use the QR code to commission a device, indirectly. Use a barcode scanner app to copy the QR string to the clipboard, and then paste that into the “pairing code” text box of the commissioning workflow above. I use FDroid com.example.barcodescanner
Matter is not open thing. It’s a proprietary technical standard funded by corporations that have every interest in controlling how you do things. Don’t ever expect it to be be in the best interest of the community.
Google is one of the big funders, so locking you into using their system is absolutely part of their agenda. It will only get worse.
I have to admit, I was under the impression that Zigbee was a non-open (i.e. pay to license) “standard” and that Matter and Thread were supposed to be better in that regard, which is why I’ve avoided ZigBee devices all this time. If that’s not the case, I could’ve saved myself years of waiting, let alone expense and hassle!
I’d say it depends. If you have a roomba with cameras and all, it might be a good idea to flash an open firmware. There’s no need to be afraid of a closed source lightbulb though imho
There’s no need to be afraid of a closed source lightbulb though imho
Couldn’t a compromised lightbulb be part of a botnet or be used to launch other attacks from inside your network?
I guess I should be keeping all this stuff on a non-routable IoT VLAN anyway (which Matter’s Wifi-based provisioning makes more complicated, now that I think about it…), but security-wise, I trust proprietary firmware less than I trust open source firmware even if I’m the one responsible for updates with the latter.



