← a4 button main page
- Register a GitHub user if you do not have one
- Open the repo a4-button with browser
- Use the repo template to generate your own repository.
- Browser to the file
secrets.yaml
, click Edit this file
- Modify
wifi_ssid
and wifi_pass
- Modify
mqtt_broker
- Click
Commit changes...
- Click
Actions
and wait the build finish - Click the latest workflow and browse to the bottom of the page, it should show
Artifacts
which contains the compiled firmware files. Download the file and unzip the file. It should contains the ota.bin
file.
- The a4 button is sleep with factory firmware. Press the button to wakeup. You will see the LED is on a while. It means a4 button wake up and works as AP modete.
- Connect the WiFi
a4 button
. The WiFi password is 12345678
. - Open the link
http://192.168.4.1
with browsete. - Scroll the page down to OTA update.
- Choose the file
ota.bin
and click Update
. Wait for firmware update - Now the a4 button is ready for your use.