microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.51k stars 1.71k forks source link

Implementation of ThreadNetworkService API #2289

Open barrelful opened 6 months ago

barrelful commented 6 months ago

Is your feature request related to a problem? Please describe. I am frustrated that I cannot sync Thread credentials to/from IoT devices using this protocol for smart home.

Describe the solution you'd like The ThreadNetworkService.API is show as disabled when an app tries to call it, I also did not found mentions in the source code so it seems not implemented.

Additional context It is possible to use Home Assistant app to sync Thread credentials to test this API.

freshgum-bubbles commented 6 months ago

Obligatory reading: https://developers.home.google.com/thread API Reference: https://developers.home.google.com/reference/com/google/android/gms/threadnetwork/package-summary

sorryusernameisalreadytaken commented 2 months ago

oh that would be awesome. I am getting more and more Thread devices and I need always a Android 8 smartphone with Google binarys on it to add a new Thread device.

sorryusernameisalreadytaken commented 1 month ago

Found the submodules who provides the thread and matter. Its not a secret but perhaps its usefull: https://developers.home.google.com/matter/verify-services

adb shell dumpsys activity provider com.google.android.gms.chimera.container.GmsModuleProvider | grep "com.google.android.gms.home"

is resultung in my case on my raphael (xiaomi mi 9t pro) phone with LOS and gapps installed:

com.google.android.gms.home_stub [v243333000]
com.google.android.gms.home [v243333000]

and

adb shell dumpsys activity provider com.google.android.gms.chimera.container.GmsModuleProvider | grep "com.google.android.gms.threadnetwork"

is resulting on my test-phone:

com.google.android.gms.threadnetwork [v243333000]