commit | 3c95ae1daf556ef93acbac829549bc1b7d3b87fa | [log] [tgz] |
---|---|---|
author | Kate Hsieh <yuchihsieh@google.com> | Wed Dec 20 20:20:12 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 20 20:20:42 2023 -0800 |
tree | 2bb5942ded7eda374c7cc6da6bf56fed070c20d8 | |
parent | 4e0587149b021db120b38321faeb691c4a3ff2e4 [diff] |
0.2.1 PiperOrigin-RevId: 592727088
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.9 or newer.
3.1.1.14
and 3.10.1.6
(latest public version). Or 3.12.4.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. m5stack
PAIRING_CODE
: pairing code of your Matter device, e.g. 34970112332
ROOM_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>]
--regtest
is required--commission
--repeat
to run regression test in limited timesREPEAT_TIMES
: repeated times for regression test