| commit | bf519b1b9811e11bc640fc82c387069b0eb59a5a | [log] [tgz] |
|---|---|---|
| author | Kate Hsieh <yuchihsieh@google.com> | Wed Feb 07 20:08:17 2024 -0800 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 07 20:08:52 2024 -0800 |
| tree | 199019027b7860454a938423a5d9497e02161410 | |
| parent | 3d946c75dcddbd2d97db9e597ab86092640147d1 [diff] |
0.3.0 PiperOrigin-RevId: 605179968
Google Home Automator can help you automating 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.10.1.6(latest public version). Or 3.12.4.1, 3.13.46.1.NOTE: Please select the correct Google account on Google Home App.
cd to the folder.pip install .$ ui-automator --commission DEVICE_NAME,PAIRING_CODE,ROOM_NAME
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$ ui-automator --decommission DEVICE_NAME
DEVICE_NAME: display name of commissioned Matter device on GHA, e.g. m5stack$ ui-automator --commission DEVICE_NAME,PAIRING_CODE,ROOM_NAME --regtest [--repeat <REPEAT_TIMES>] [--hub <HUB_VERSION>] [--dut <MODEL>,<TYPE>,<PROTOCOL>] [--fw <DEVICE_FIRMWARE>]
--regtest is required--commission--repeat to run regression test in limited timesREPEAT_TIMES: repeated times for regression test--hub to include hub version in produced test reportHUB_VERSION: version of hub for controlling devices on GHA--dut to include device under test in produced test reportMODEL: Model of the device. e.g. X123123TYPE: Type of the device. e.g. LIGHTPROTOCOL: Used protocol of the device. e.g. MATTER--fw to include device firmware in produced test reportDEVICE_FIRMWARE: Firmware of test device.