diff --git a/reference/kiosk.md b/reference/kiosk.md index a4e0ed5..24a0f16 100644 --- a/reference/kiosk.md +++ b/reference/kiosk.md @@ -21,8 +21,7 @@ look right at full 4K landscape. (Confirmed on-screen 2026-06-01.) The default page both screens show is `https://kiosk.vino.network` — an editorial wall-art homepage: a **live iOS-Weather-style animated sky** + -live local-time clock (pinned `America/Chicago`) + current weather for -55331 (Minnetrista) from `api.open-meteo.com` (the one external call). The +live local-time clock + current weather from `api.open-meteo.com`. The sky is driven by the Open-Meteo `weather_code` (+ `wind_speed`) + `sunrise`/`sunset`: sun (clear/partly days) and moon (clear/partly nights) **arc across the sky by real time-of-day**, with a warm dawn/dusk horizon @@ -42,6 +41,15 @@ Source repo: `websites/kiosk.vino.network` (clone at `~/code/git/code.fritzlab.n content in `html/`, served from Garage S3 via the standard site-publish flow (fritzlab `gitops.md` ). +Location + house name are **query params on `KIOSK_URL`**, so +one page serves any household: `?zip=&name=`. `name` sets +the eyebrow + tab title; `zip` is geocoded once at load (Zippopotam.us) → lat/lon ++ "City, State" place line, and Open-Meteo runs `timezone=auto` so the clock +follows that zip's timezone. No params → Hawks Nest / Minnetrista 55331 / +`America/Chicago` defaults (bad zip falls back to these too). To point a screen +at a different house, set `KIOSK_URL=https://kiosk.vino.network/?zip=...&name=...` +per pod via GitOps (see for the apps-repo edit + hard-refresh). + **"Update the kiosk page" = edit the page content**, NOT the KIOSK_URL: edit `html/index.html` (or `404.html`) in that repo, commit + push to main → the `Publish` Gitea Action (site-publish) syncs to the bucket in ~30s. Verify with