github jpettitt/weather-radar-card v3.7.0-beta1

pre-release3 hours ago

Beta pre-release — 3.7 is feature complete. No further features before 3.7.0; fixes only from here. Suitable for adventurous daily-driver dashboards. No breaking changes — upgrading from 3.6.x or any 3.7 alpha is drop-in.

Headline features

Smooth motion — opt-in motion_compensation: true. During each frame transition, rain slides along its actual direction of travel instead of crossfading in place, so the loop reads as one continuously drifting rain field. Powered by pyramidal Lucas-Kanade optical flow, runs in a Web Worker, and works across all three radar sources (DWD, RainViewer, NOAA). Built on top of @genericJE's foundational work in #156.

type: 'custom:weather-radar-card'
smooth_animation: true
motion_compensation: true

Adjustable playback speed — the toolbar button cycles ¼× / ½× / 1× / 2× / 4×, with a YAML default (playback_speed). Admins can opt in to per-user persistence (viewer_layer_control: true), so each viewer's chosen speed follows them across browsers and devices. Contributed by @genericJE.

show_playback: true
playback_speed: 1
viewer_layer_control: true   # optional: persist per-user overrides

Also in 3.7: stability and performance

  • Canvas rendering for lightning and hazard overlays — strikes, alert polygons, and fire perimeters paint to canvas instead of per-item DOM. Identical visuals and clickability; soak-validated during live storms at 10,000 simultaneous strikes with the page fully responsive.
  • Full-project code-review remediation — refresh and state races fixed (no more duplicate-frame accumulation on long-running dashboards), DWD coverage clipping + single shared boundary mask, exponential backoff on alert/wildfire fetch failures, bounded caches, antimeridian fixes for Alaska.
  • NOAA cadence fix — frame interval matched to NOAA's real publication cadence; no more duplicate frames in the loop.

What to test

Motion compensation across radar sources, playback-speed persistence across devices, lightning under storm load, hazard-polygon clicks at various zooms. Issues → GitHub.

Full changelog: v3.6.5...v3.7.0-beta1

Don't miss a new weather-radar-card release

NewReleases is sending notifications on new releases.