ZiB 7968a61e04 Widen the deployed_config_hash poll window: 10s wasn't always enough 2 ماه پیش
..
README.md a3de761f30 Add a standard dashboard build/install/monitor-logs tool 2 ماه پیش
dashboard.py 7968a61e04 Widen the deployed_config_hash poll window: 10s wasn't always enough 2 ماه پیش

README.md

gxepd2_dashboard

Standard build/install/monitor-logs tool for the ESPHome dashboard (esp.sea.zi3.fi), replacing ad-hoc /tmp WS scripts written per test run. See claude/ESPHOME_DASHBOARD_API.md for the protocol this wraps.

uv run --with websockets python3 dashboard.py run --model GxEPD2_290c_GDEY029F51
uv run --with websockets python3 dashboard.py install
uv run --with websockets python3 dashboard.py logs --seconds 40
uv run --with websockets python3 dashboard.py set-model GxEPD2_583_GDEQ0583T31
uv run --with websockets python3 dashboard.py get-config

--config (default gxepd2-test.yaml) selects which dashboard device config to act on. run is set-model (if --model given) + install + logs in one call - the common "switch panel, flash, watch what it does" case.

install confirms via GET /devices that deployed_config_hash actually changed, not just that the job reported exit_code: 0 - a completed install job has been observed to precede the hash update by a beat.