commit | c057886579b19ba342de7214f753f4142ebd8653 | [log] [tgz] |
---|---|---|
author | Kate Hsieh <yuchihsieh@google.com> | Wed Dec 27 18:39:31 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 27 18:40:02 2023 -0800 |
tree | e64caccec94999f1a9578c730210ca52518c12fc | |
parent | 3c95ae1daf556ef93acbac829549bc1b7d3b87fa [diff] |
Unload snippet after actions have been done PiperOrigin-RevId: 594135259
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