36
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 30 Nov 2026
36 points (100.0% liked)
homeassistant
21414 readers
35 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
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 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?
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.
@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.
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%.
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.
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.
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.)
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.
Does that run OTBR on the device itself? That's not what I'm doing.
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.)
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.
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.)
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!
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...
...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.)
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.
Yes. (Within Bluetooth range of either HA server Bluetooth hardware, or any esphome device running the BLE proxy module)
Yes, that is exactly it.
Esphome proxy is in addition to server Bluetooth hardware, and unnecessary if you want to commission near your server.