deploy_wlan =========== .. py:module:: deploy_wlan .. autoapi-nested-parse:: 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 ---------- .. autoapisummary:: deploy_wlan.ROOT Functions --------- .. autoapisummary:: deploy_wlan.request deploy_wlan.list_files deploy_wlan.main Module Contents --------------- .. py:data:: ROOT .. py:function:: request(method, url, password, data=None) Send an authorised request to the board's update API. .. py:function:: list_files(base, password) The board's files with hashes, or None if it does not answer. .. py:function:: main() Run the command line tool.