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?

  • grue@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    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
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      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