mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
launchpad: readme support for displaying qrcode and ability to manually
trigger the workflow
This commit is contained in:
@@ -39,7 +39,7 @@ concurrency:
|
||||
jobs:
|
||||
Build:
|
||||
# Disable the job in forks
|
||||
if: ${{ github.repository_owner == 'espressif' && github.event.workflow_run.conclusion == 'success' }}
|
||||
if: ${{ github.repository_owner == 'espressif' && (github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success') }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
@@ -91,7 +91,6 @@ jobs:
|
||||
- name: generate launchpad config
|
||||
run: |
|
||||
cd images/
|
||||
cp $ESP_MATTER_PATH/tools/launchpad/matter_logo.png .
|
||||
ls
|
||||
$ESP_MATTER_PATH/tools/launchpad/generate_launchpad_config.sh
|
||||
|
||||
|
||||
@@ -75,13 +75,10 @@ do
|
||||
echo $img >> $OUT_FILE
|
||||
done
|
||||
|
||||
# Write the esp-matter phone app links
|
||||
# TODO: Update the android phone app links when it is available on android play store
|
||||
echo "ios_app_url = \"https://apps.apple.com/app/esp-rainmaker/id1497491540\"" >> $OUT_FILE
|
||||
echo "android_app_url = \"\"" >> $OUT_FILE
|
||||
echo "setup_payload_logo = \"https://espressif.github.io/esp-matter/matter_logo.png\""
|
||||
echo "setup_payload = \"MT:Y.K9042C00KA0648G00\""
|
||||
|
||||
echo "readme.text = \"https://raw.githubusercontent.com/espressif/esp-matter/main/tools/launchpad/qrcode-content.md\"" >> $OUT_FILE
|
||||
echo "" >> $OUT_FILE
|
||||
|
||||
unset CHIPSETS IMAGES
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 125 KiB |
@@ -0,0 +1,11 @@
|
||||
### Commission the sample application
|
||||
|
||||
Your device is now flashed with sample firmware, please scan the below QR Code from any of the Matter supported phone
|
||||
apps to setup the device. You can also use the manual setup codes.
|
||||
|
||||
<img src="https://raw.githubusercontent.com/espressif/esp-matter/main/docs/_static/matter_qrcode_20202021_3840.png" alt="MT:Y.K9042C00KA0648G00" width="30%" />
|
||||
|
||||
```
|
||||
Manual Pairing Code: 34970112332
|
||||
QRCode: MT:Y.K9042C00KA0648G00
|
||||
```
|
||||
Reference in New Issue
Block a user