Repository navigation
Releases
Releases · jsnjack/weather
v0.55.0: m Use the widget's line icons for sky conditions on the web pages
The web pages showed emoji for sky conditions while the widget uses its own line icons. The glance page and the hourly tables (/day, /tomorrow, /weekend, /hourly) now render the widget's ic_cond_*.xml vector drawables as inline SVG in the text colour; the glance header's icon uses the accent, like the widget's hero. condition_icons.go holds the path data; TestConditionIconsMatchWidget reads the Android XML and fails if the two copies drift. Clear and partly cloudy hours after dark show the moon and plain cloud, as on the widget. The stylesheet version and service-worker caches are bumped so installed PWAs load the new CSS.
v0.54.0: m Fill the widget's dry lane with the next hours and the next rain
The dry lane showed only the nowcast sentence, a radar line and the sunset. It now shows the next five hours (time, sky, temperature), then when rain is next expected and the sunset. /api/v1/glance adds: - hours: the next five full hours, each with a night flag. - next_rain: the first Open-Meteo hour from now+2h with at least 0.1 mm, using amounts only, never probability; omitted when none is forecast. - night: whether it is dark now, so the widget's hero shows a moon. Clear hours after dark show a moon and partly cloudy ones a plain cloud, matching the glance page, which now shares the same night check. Servers without hours keep the older radar and sunset rows.
v0.53.0
v0.50.0: m Recolour local radar rain and add 25/50/100 km map zoom
- KNMI draws light rain white and grey, which vanished on the light basemap; local radar now uses a sky blue to magenta scale in both themes. - The web local radar zooms between 25, 50 and 100 km; the widget stays at 50 km. `weather radar --radius` exports the same maps. - Every KNMI request covers 100 km at 512×512 and each zoom crops its centre, so zooming adds no KNMI requests. - The 100 km background uses zoom 8 PDOK tiles because zoom 7 leaves the sea transparent. - The local "+1h" button shows the real end of playback, e.g. "+2h".
v0.49.1: p Test location-zone formatting for charts, nowcasts and ride scoring
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.48.0: m Load the ride map in one batched fetch and speed up radar playback
Ride: today - Fetch the grid in about three multi-location Open-Meteo requests of rain and wind only, with Unix times and hours relative to now. - Centre the grid on a fixed lattice so nearby positions share cells. - Keep grid responses for 30 minutes; cap grids at 23x23 to fit the 600-calls-a-minute free limit. - Web views stop waiting after five seconds and show a retry note. Radar - Load local forecast frames in parallel, every ten minutes for an hour. - Fetch basemap tiles and label layers concurrently. - Preload the local observation from the page head. Times - Show forecast and nowcast times in the location's zone on every surface, never the server's. - Stream page heads before resolving the location's zone. Cache - Drop expired entries on every write so large grids leave memory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>