Sky and ISS views

Two new views, picked from mockups. `sky`: a star chart of the sky over
Zlín as seen lying on your back, with the planets, the moon in its phase,
tonight's darkness, cloud for the next 12 hours and the next visible ISS
pass. `iss`: a dotted world map with day and night, the ISS and its ground
track, and the next pass over Zlín with the cloud cover for that hour.

Positions are calculated locally with ephem; only the ISS orbit
(CelesTrak, every 6 h, retried gently) and cloud cover (Open-Meteo) are
fetched. The poller gained a per-source retry delay for that.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rickzkmandClaude Opus 5.5 committed 2026-10-29 00:03:38 +01:00
1 parent 6c9a1420d2
commit 2132262896
28 files changed
+1342 -18

No files matched your search

@@ -180,3 +180,16 @@ faster refresh than 5 s. The screen link moves about 150 KB/s (measured), so the
rectangles of each frame (`regions.py`), which makes a 1 s refresh cost about 4 % of the link. The weather view
keeps its Casio style. Stats are read every second; Docker is asked every 5 s and processes are ranked over 3 s
windows to stop the list flickering. The server view is marked stale after 10 s.
## Addendum 2026-10-29: week ahead, night mode, sky and ISS views
- **Weather view** (owner picked it from Casio-style mockups): the weekday strip shows today and the next six days
(icon, max, min), the current temperature and feels-like sit beside the clock, and the rain graph spans the full
width with the hour under every bar. From sunset to sunrise the frame is a reverse LCD. Without today's sun times the
closest day's are used; with no forecast at all it stays day (designer's call, owner asked to deploy without
choosing).
- **Two new views, `sky` and `iss`**, approved from mockups as two separate screens switched with `VIEW` (owner
declined combining them into one day/night view). Everything is calculated locally with `ephem`; only the ISS orbit
(CelesTrak, 6 h) and cloud cover (Open-Meteo, 15 min) are fetched. Designer's calls: by day the star chart still
draws the stars, with the sun on it; the orbit is marked old after 3 days; the panel lists at most four bodies, up
ones first.