this post was submitted on 30 Nov 2026
36 points (100.0% liked)

homeassistant

21414 readers
27 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 3 years ago
MODERATORS
 

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?

top 24 comments
sorted by: hot top controversial new old
[–] 9point6@lemmy.world 15 points 1 day ago* (last edited 1 day ago) (2 children)

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

[–] limelight79@lemmy.world 2 points 21 hours ago

I haven't adopted Matter or Thread because I can't figure them out... The other chain of replies to your comment illustrate some of the issues.

I have wifi, zigbee, and Z-wave networks. They work fine for my setup.

[–] speculate7383@lemmy.today 8 points 1 day ago (1 children)

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.

[–] 9point6@lemmy.world 2 points 1 day ago (1 children)

Ah thanks, that's good extra context, cheers

[–] grue@lemmy.world 3 points 1 day ago* (last edited 21 hours ago) (2 children)

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? Thread border router?) via WiFi, not the IoT device itself doing it.

[–] speculate7383@lemmy.today 4 points 23 hours ago

It's confusing

Yes.

In the case of Thread provisioning in the "normal" process, only the phone itself is using Wifi, and only for its own communication to the Matter server. The Thread device doesn't use Wifi in any of the provisioning.

The Thread device uses BLE to talk to the phone in the "normal" provisioning process, or BLE to talk to a BLE proxy device (ESPHome or HA bluetooth dongle) in the alternate newer provisioning process.

[–] KayOhtie@blimps.xyz 3 points 1 day ago

@grue @9point6 Provisioning uses BLE, not wifi. The QR sets up the secure connection but over BLE.

[–] hendrik@palaver.p3x.de 13 points 1 day ago* (last edited 1 day ago) (2 children)

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.

[–] SpatchyIsOnline@lemmy.world 5 points 18 hours ago

But for some reason I can't pair devices because I have grapheneOS on my phone

There is actually a hidden pairing flow inside the matter-server addon in Home Assistant that doesn't require a phone at all. It takes a little bit more setup, and requires your server to have a Bluetooth adapter (Bluetooth proxies also work now, as of a couple of months ago!), but it's been very reliable for me!

[–] grue@lemmy.world 4 points 1 day ago (2 children)

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?

[–] deafboy@lemmy.world 2 points 7 hours ago (1 children)

I don't think graphene is the one who should try to implement this at all.

Needing a third device just to make one gadget talk to another is a bad design which should not be encouraged.

HA is aware of the problem and refuses to fix it, despite their software stack fully supporting the bluetooth pairing procedure. Their motivations are unclear.

btw. you can find a procedure for some new ikea devices to switch them back and forth between thread and zigbee.

[–] claude_flammang@dju.social 1 points 6 hours ago (1 children)

@deafboy
If you have limited resources it might be a good idea to focus on the 99% of use cases and leave the 1% for later.
And you might even believe that the 1% that go the length to adopt a system that is meant for enthusiasts are absolutely willing and capable to research and execute the manual procedure.

[–] grue@lemmy.world 1 points 4 hours ago* (last edited 4 hours ago)

Considering that the sort of person who prefers GrapheneOS to corporate Android is the same sort of person who prefers Home Assistant to proprietary cloud smart home stuff, I'm unconvinced that the combination use-case is anywhere near as small as 1%.

[–] hendrik@palaver.p3x.de 3 points 1 day ago* (last edited 1 day ago) (1 children)

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.

[–] speculate7383@lemmy.today 5 points 1 day ago (1 children)

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.

[–] grue@lemmy.world 1 points 1 day ago (1 children)

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.)

[–] speculate7383@lemmy.today 2 points 1 day ago* (last edited 23 hours ago) (1 children)

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

Edit: I typically commission from desktop in the HA web UI. As long as my new device is within bluetooth range of the BLE proxy at commissioning time, it will join the network. Then I can move the device anywhere within range of the mesh, far from the bluetooth proxy.

[–] grue@lemmy.world 1 points 15 hours ago* (last edited 15 hours ago) (1 children)

Does that run OTBR on the device itself? That’s not what I’m doing.

Yes. I had to compile and flash the firmware onto it myself and everything. (This was the documentation I used, I think. There are multiple sets of instructions floating around that aren't all quite the same.)

SMLight SLZB MR4U

Holy expensive radio, Batman! That thing's $130!

Meanwhile, the Sonoff PoE dongle I'm thinking of using cost $34.90 a few days ago when I ordered it, and the ESP Thread Border Router dev board was $10 a long time ago when I bought it, plus $8 for the Ethernet add-on board. (Keeping in mind that the dev board also needs a USB power supply and a 3D-printed case, the total cost is somewhat above $18.)

I admit I'm cheap, but I'm also philosophically opposed to spending $130 simply because there is no good excuse for this stuff to be expensive!

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.

The Thread device you're trying to commission has to be near (within Bluetooth radio range) of the ESPHome device running the BLE proxy, right? And I assume this...

I’m not aware of any software that does BLE proxy for HA other than ESPHome.

...is why it's using the Bluetooth in a separate ESP32 instead of the Bluetooth that might be built into the computer you're running Home Assistant itself on (or the device the Thread border router software is running on)?

(I had skimmed the stuff in that thread about the BLE proxy because I assumed it was just for the convenience of not having to carry all your new devices over to your Home Assistant server, not because running the BLE proxy on a separate device was the only way that would actually work.)

[–] speculate7383@lemmy.today 2 points 11 hours ago* (last edited 11 hours ago)

OMG I paid about $60 on AliExpress, not $130. So the sonoff is still less expensive, yes. Im not sure if it was released yet when I was shopping. Looks like a good choice today!

Oops, I was unclear about Bluetooth hardware. Yes, Bluetooth hardware on the HA server works fine to commission matter devices.

BLE proxy specifically means hardware not on the HA server. I believe esphome is the only way to proxy BLE to another location away from the server hardware.

has to be near (within Bluetooth radio range) of the ESPHome device running the BLE proxy,

Yes. (Within Bluetooth range of either HA server Bluetooth hardware, or any esphome device running the BLE proxy module)

I assumed it was just for the convenience of not having to carry all your new devices over to your Home Assistant server

Yes, that is exactly it.

Esphome proxy is in addition to server Bluetooth hardware, and unnecessary if you want to commission near your server.

[–] autonomous@lemmy.world 6 points 1 day ago (1 children)

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.

[–] grue@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

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!

[–] franzbroetchen@feddit.org 5 points 1 day ago* (last edited 1 day ago) (2 children)

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

[–] speculate7383@lemmy.today 3 points 23 hours ago* (last edited 23 hours ago)

There’s no need to be afraid of a closed source lightbulb though imho

Yeah, not like that has already happened. Oh, wait, yes it has

https://www.csoonline.com/article/560117/university-attacked-by-its-own-vending-machines-smart-light-bulbs-and-5-000-iot-devices.html

Anyone who doesnt' keep closed-source devices on a separate isolated VLAN, with no Internet routing, is just waiting for an exploit to happen.

[–] grue@lemmy.world 6 points 1 day ago* (last edited 1 day ago)

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.