deploy_wlan¶
Update the board over the WLAN, waking it through Home Assistant if needed.
- uv run tools/deploy_wlan.py [–host epaper.local] [–all | –only FILE …]
[–wait-min 75] [–no-reset]
A sleeping board is woken through the maintenance switch (see wake).
Uploads the firmware files (see firmware) whose content differs from
the board’s (compared by SHA-256), removes source files that compiled
modules replace, then restarts the board. Uses UPDATE_PASSWORD from
src/config.py, or WEBREPL_PASSWORD if that is not set.
Attributes¶
Functions¶
|
Send an authorised request to the board's update API. |
|
The board's files with hashes, or None if it does not answer. |
|
Run the command line tool. |
Module Contents¶
- deploy_wlan.ROOT¶
- deploy_wlan.request(method, url, password, data=None)¶
Send an authorised request to the board’s update API.
- deploy_wlan.list_files(base, password)¶
The board’s files with hashes, or None if it does not answer.
- deploy_wlan.main()¶
Run the command line tool.