serve_ui ======== .. py:module:: serve_ui .. autoapi-nested-parse:: Run the board's web interface on the PC, against Home Assistant. uv run tools/serve_ui.py [--port 8080] [--tiles /tmp/tiles.json] Uses the same handlers and page as the board; saved tiles go to the given file instead of the board's flash. Open http://localhost:8080/. Attributes ---------- .. autoapisummary:: serve_ui.ROOT Functions --------- .. autoapisummary:: serve_ui.http_post serve_ui.main Module Contents --------------- .. py:data:: ROOT .. py:function:: http_post(url, headers, payload) Urllib implementation of the http_post HomeAssistantSource expects. .. py:function:: main() Run the command line tool.