mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 23:04:03 +02:00
The webapp uses Shinylive which runs Python in the browser via Pyodide. Pyodide only supports specific versions of packages that have C extensions. Pin matplotlib to 3.8.4 and contourpy to 1.3.1 to match Pyodide's available versions. This fixes the "Can't find a pure Python 3 wheel for 'contourpy==1.3.2'" error when loading the webapp. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| app.py | ||
| color_and_brightness.py | ||
| homeassistant_util_color.py | ||
| README.md | ||
| requirements.txt | ||
| requirements.txt.in | ||
To run this app locally, install the requirements and run shiny run.
$ cd webapp
$ pip install -r requirements.txt
$ shiny run
After the server starts, which should take only a moment, you can open http://127.0.0.1:8000 to see the interface.