Skip to content

v1.2.1

Choose a tag to compare

@somansch somansch released this 11 Jul 10:44
· 6 commits to main since this release

First release verified against the real Lufop API with a live key. Several issues below only surfaced once real data and a real account's limits came into play.

Fixed

  • The country selector's option order was only actually alphabetical in English - German and French showed the same (English-sorted) order underneath correctly-translated labels. Each language now has its own sorted option order.
  • Polling now respects the Lufop free plan's limits (200 requests/day, 10 requests/minute, 200 results/request): requests are throttled to stay under the per-minute cap, and each area/route's poll interval scales with how many requests it needs per poll to stay comfortably under the daily cap.
  • API errors now surface Lufop's actual error message (e.g. country_not_allowed: This country is not available with the Free plan...) instead of a bare HTTP status code - the free plan only allows France, Belgium, and Switzerland.
  • Radar type filtering was silently discarding every radar. Live API responses return a numeric radar-model ID in the type field, not the fixe/mobile/feu strings this integration was built around. Fixed/mobile/red-light is now classified from keywords in the name field instead.

Also includes the v1.2.0 changes: construction-zone radars removed (speed cameras only), technical attributes translated to English, config wizard now available in English/German/French with a fully localized and alphabetized country selector, and the "Number of sensors" option relabelled to "Maximum number of radars".

See CHANGELOG.md for full details.