Commit graph

17 commits

Author SHA1 Message Date
renovate[bot]
afb447c4e8
⬆️ Update pytz to v2026 (#1436) 2026-09-06 08:29:53 +02:00
Bas Nijholt
0a2d2e9fb5
Properly fix the webapp 2025-07-21 15:49:55 -07:00
Bas Nijholt
f45fa66390
Revert "Remove app requirements"
This reverts commit 3c86a6e28b.
2025-07-21 15:44:37 -07:00
Bas Nijholt
3c86a6e28b Remove app requirements 2025-07-21 15:38:56 -07:00
Bas Nijholt
8e75144e5d
Fix webapp Pyodide compatibility: pin matplotlib and contourpy versions (#1242)
* Fix webapp README: correct pip install command

The README had incorrect syntax for pip install. Changed from
`pip install requirements.txt` to `pip install -r requirements.txt`.

* Fix webapp Pyodide compatibility: pin matplotlib and contourpy versions

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.
2025-07-21 15:22:11 -07:00
Zachary McCord
86460f6948
webapp: add missing requirements and instructions for local run (#1235) 2025-07-13 14:45:30 -07:00
Bas Nijholt
8fb9493a40
Fix Shiny WebApp (#1127)
* Use requirements.txt.in

* Include webapp/color_and_brightness.py

* Fix Shiny WebApp

* Install shinylive in CI
2024-12-05 14:35:19 -08:00
renovate[bot]
56497176df
⬆️ Update shinyswatch to v0.8.0 (#1100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 21:48:06 +02:00
renovate[bot]
5450e0d3ad
⬆️ Update shinylive to v0.7.1 (#1099)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 21:46:17 +02:00
renovate[bot]
8855f3313e
⬆️ Update shiny to v1 (#1121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 21:41:15 +02:00
Bas Nijholt
99cbe75f30
Pin compatible requirements (#896) 2024-01-05 17:38:29 -08:00
Nilesh
9f8eb97cfc
Fix webapp not loading (#895) 2024-01-05 17:20:19 -08:00
Bas Nijholt
3118e6f308
pin click in requirements.txt 2023-12-20 07:15:20 -08:00
Bas Nijholt
88a8a6d00e
pin shiny in requirements.txt (#887) 2023-12-20 07:12:52 -08:00
Bas Nijholt
db5f9d623c
Mention app more prominently and improve style (#725)
* Mention app more prominently

* Use dark-mode

* add setuptools

* no cyber

* no not run on PR

* Ruff fixes

* Add link

* remove unused deps
2023-08-08 17:34:35 -07:00
Bas Nijholt
f8e7880a96
Split up SunLightSettings and improve https://basnijholt.github.io/adaptive-lighting/ (#719)
* Split up SunLightSettings

* Renames

* factor out SunEvents

* more renames

* rewrite

* rewrite more

* simpler

* refactor

* refact

* raise

* refact

* rename

* move method

* clean

* Move to new module 'sun.py'

* make sun independent of HA

* rename

* Move to webapp/homeassistant_util_color.py

* Rework app

* Add link

* new plotting

* app changes

* fix tests

* test clean

* tz fixes

* fix

* use sed

* verbose

* fix tz

* fix

* tiem
2023-08-08 21:31:17 +00:00
Bas Nijholt
943a6360c7
Add simple webapp to play with different parameters (#715)
* Add simple webapp to play with different parameters

* ignore
2023-08-06 16:42:56 -07:00