Matter-over-wifi commissioning for Android (without Google)

I got some new Matter Wi-Fi light switches, and wanted to set them up with my Home Assistant installation. While playing around with the Home Assistant Matter integration, I tried to add a device, and got to the screen prompting me to install the official Home Assistant companion app. However, this screen literally showed up inside the Home Assistant companion app. What’s this all about?

Turns out I’m using the F-droid version, which is a “minimal” build.

Apparently only the “full” Google Play Store build features Matter device commissioning, and to do so, it temporarily adds your Matter device to Google Home.

This may not seem like a big deal. It’s only there temporarily, for a few seconds, right?

Google may only control the Matter device for a few seconds, but when it’s over, they get a permanent record linking that specific device, and all of its unique identifiers, to your Google account, your identity, and everything else they know about you. For a platform like Home Assistant that emphasizes local control, this is a privacy hole.

I spent some time creating a way around this - an Android app that directly performs the Matter-over-wifi device commissioning, using Bluetooth, and then hands it off to Home Assistant.

It doesn’t depend on Google Play Services. It keeps everything local on the device, doesn’t reach out to the Internet, and doesn’t have any telemetry. You’re welcome.

Yes, it will become more difficult to install this app on a Google Android device after Android Developer Verification goes into effect.

1 Like