| commit | 630eaf207ee78023e76321f3b8ae762c43cec80b | [log] [tgz] |
|---|---|---|
| author | Kate Hsieh <yuchihsieh@google.com> | Wed Sep 03 03:51:26 2025 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed Sep 03 03:52:21 2025 -0700 |
| tree | 05a8743579e9fe5a307a89414bd1e8f9478ef96e | |
| parent | faa1643b94a5168224f7a3da312c455aa8969357 [diff] |
Update apk PiperOrigin-RevId: 802485775
Google Home Automator can help you automate your Google Home App.
You need a python 3 environment to run the script. Google Home UI Automator requires python 3.11 or newer.
3.1.1.14 and 3.32.126.2. Dogfood version 3.32.192.0-dog-food is also supported.NOTE: Please select the correct Google account on Google Home App.
NOTE: This tool only works with the English version of the Google Home App.
$ pip install google-home-ui-automator
clone this repo.
$ git clone https://testsuite-smarthome-matter.googlesource.com/ui-automator
cd to the folder.
Run pip install .
Follow the steps below to automatically commission a matter device.
$ ui-automator --commission DEVICE_NAME,PAIRING_CODE,ROOM_NAME [--google_account <GOOGLE_ACCOUNT>]
DEVICE_NAME: desired Matter device, e.g. m5stackPAIRING_CODE: pairing code of your Matter device, e.g. 34970112332ROOM_NAME: room that is going to be assigned, e.g. OfficeGOOGLE_ACCOUNT: Optional. Account to use in Google Home App, e.g. test@gmail.comFollow the steps below to decommission a matter device.
$ ui-automator --decommission DEVICE_NAME [--google_account <GOOGLE_ACCOUNT>]
DEVICE_NAME: display name of commissioned Matter device on GHA, e.g. m5stackGOOGLE_ACCOUNT: Optional. Account to use in Google Home App, e.g. test@gmail.comFollow the steps below to run a regression test.
$ ui-automator --commission DEVICE_NAME,PAIRING_CODE,ROOM_NAME --regtest [--repeat <REPEAT_TIMES>] [--hub <HUB_VERSION>] [--dut <MODEL>,<TYPE>,<PROTOCOL>] [--fw <DEVICE_FIRMWARE>] [--google_account <GOOGLE_ACCOUNT>]
DEVICE_NAME: desired Matter device, e.g. m5stackPAIRING_CODE: pairing code of your Matter device, e.g. 34970112332ROOM_NAME: room that is going to be assigned, e.g. Office--repeat: Optional. Specifies the number of times to repeat the regression test.REPEAT_TIMES: Number of times to repeat the regression test, e.g., 10.--hub: Optional. Includes the hub version in the test report.HUB_VERSION: Version of the hub controlling the devices in GHA, e.g., 1.0.0--dut: Optional. Includes the device under test information in the test report.MODEL: Model of the device. e.g. X123123TYPE: Type of the device. e.g. LIGHTPROTOCOL: Protocol used by the device. e.g. MATTER--fw: Optional. Includes the device firmware in the test report.DEVICE_FIRMWARE: Firmware of test device.GOOGLE_ACCOUNT: Optional. Account to use in Google Home App, e.g. test@gmail.comThis project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.