I’m trying to start using Thread devices in Home Assistant for the first time. I’ve gotten a Sonoff Dongle Plus MG24, flashed it with OpenThread firmware, added it as an OpenThread Border Router in Home Assistant, and added the Matter integration.

However, when I try to commission a Matter/Thread device using the Home Assistant companion app on my GrapheneOS phone, I scan the QR code, get to the screen that says “power on your device and make sure it’s in setup mode,” and “connect your phone to your main 2.4GHz network” and tap the “I’m ready” button, but then it gives me an error that I have “no Wi-Fi connection” even though it is definitely connected to the correct (2.4Ghz, not 5GHz) network.

I’ve also checked that the Home Assistant app has all the necessary permissions (network, nearby sensors, etc.)

Help?


Edit: I just found these bug report threads that look like they’re relevant, but I’m still reading through them:

  • tiramichu@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 months ago

    Commissioning Matter devices using Graphene may not work due to the commissioning flow requiring Google Play Services.

    I had that problem. If your Home Assistant instance itself has Bluetooth, you can use the manual flow to work around it:

    In HA:

    Settings -> Connectivity -> Matter -> Options -> Add Manually

    There you can type the 11 digit code from your matter device (exactly as it appears, including hyphens) and it will add it without needing a phone.

    As mentioned though, your HA instance needs Bluetooth for this. My HA is in a virtual machine so plugging a dongle was less than ideal. I solved it instead using a esp32 Bluetooth proxy over Ethernet.

    https://esphome.io/components/bluetooth_proxy/

    You may(?) also need to set up Matter to use that bluetooth device. There’s some reading on it here which could be useful

    https://smarthomescene.com/guides/add-matter-devices-home-assistant-without-phone/

    Good luck! :)

    I’m glad I set it up, because being ‘forced’ to use a google/apple phone for setting up matter on my local network feels like a really stinky pattern. I’m glad I don’t need to :)

    • needanke@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      To set up matter for using bluetooth one just needs to go into the matter-server apps settings and turn on “Enable BLE proxy”.

      Besides what the name suggests, that also works for local bluetooth dongles.