| commit | 986f28362a08f989b807da24a138f18118854cde | [log] [tgz] |
|---|---|---|
| author | Timmatt <timmatt@google.com> | Tue Oct 22 21:23:50 2024 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 22 21:24:23 2024 -0700 |
| tree | 03a9be745990826d29e273bb215deda2047f7589 | |
| parent | c31ef5beac11c0adb24914af588e29549e077729 [diff] |
fix TODO assignees PiperOrigin-RevId: 688804256
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.24.1.4.NOTE: Please select the correct Google account on 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
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. OfficeFollow the steps below to decommission a matter device.
$ ui-automator --decommission DEVICE_NAME
DEVICE_NAME: display name of commissioned Matter device on GHA, e.g. m5stackFollow 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>]
--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.This 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.