Repository navigation
Releases: TerrorSource/onntrack-ha
Releases · TerrorSource/onntrack-ha
Release list
v1.0.8
New
- Bundled integration icon: the Onntrack logo now ships in the
brand/folder and automatically appears in HACS and on the device page (no more grey placeholder). Requires Home Assistant 2026.3+. - State-based icons via
icons.json: the ignition switches between engine-on/engine-off, and the status shows a parked, driving or offline icon.
Improved
- Config flow modernized to current Home Assistant APIs (
ConfigFlowResult, built-in reauth helpers, new options flow style). - Removed temporary debug code from the map investigation (no extra API call during debug logging; raw monitor data is still logged).
- The API client now has its own unit tests (login, token refresh, error handling) running in CI.
Note
- Minimum Home Assistant version is now 2026.3 (required for the bundled icon).
- New files:
brand/icon.png,brand/icon@2x.pngandicons.json— upload the complete folder and fully restart Home Assistant.
Nederlands
Nieuw
- Eigen integratie-icoon: het Onntrack-logo wordt nu meegeleverd in de
brand/-map en verschijnt automatisch in HACS en op de apparaatpagina (geen grijze placeholder meer). Vereist Home Assistant 2026.3+. - Toestand-afhankelijke iconen via
icons.json: de ontsteking wisselt tussen motor-aan/motor-uit, en de status toont een parkeer-, rijdend- of offline-icoon.
Verbeterd
- Config flow gemoderniseerd naar de actuele Home Assistant API's (
ConfigFlowResult, ingebouwde reauth-helpers, nieuwe options flow-stijl). - Tijdelijke debug-code voor het kaart-onderzoek verwijderd (geen extra API-call meer bij debug-logging; de ruwe monitordata wordt nog wel gelogd).
- API-client heeft nu eigen unittests (login, tokenverversing, foutafhandeling) die meedraaien in CI.
Let op
- Minimale Home Assistant-versie is nu 2026.3 (nodig voor het meegeleverde icoon).
- Nieuwe bestanden:
brand/icon.png,brand/icon@2x.pngenicons.json— upload de volledige map en herstart Home Assistant.
v1.0.7
Improvements
- "Refresh now" button: new button entity on the device page to request a fresh update immediately, without waiting for the polling interval.
- Richer device info: the IMEI is now shown as the serial number on the device page, and a "Visit" link points to platform.onntrack.nl.
- README fully rewritten: options, all entities, an automation example and instructions for reporting issues.
Fixes
- No more false positions when the GPS fix is lost: the
0,0coordinate (the "no fix" marker used by many trackers) is ignored; the last known real position is kept. - More robust Onntrack API error handling: HTML maintenance pages and HTTP errors now result in a clean "update failed" message instead of a traceback in the log.
Installation note
button.py is a new file — install/upload the complete custom_components/onntrack/ folder and fully restart Home Assistant.
Nederlands
Verbeteringen
- "Ververs nu"-knop: nieuwe button-entiteit op de apparaatpagina om direct een verse update op te vragen.
- Apparaatinfo verrijkt: IMEI als serienummer en een "Bezoek"-link naar platform.onntrack.nl.
- README volledig herschreven.
Fixes
- Geen valse posities meer bij verlies van GPS-fix: de
0,0-coördinaat wordt genegeerd. - Robuustere foutafhandeling van de Onntrack API.
Installatie-opmerking
button.py is een nieuw bestand — upload de volledige map en herstart Home Assistant volledig.
Bugfixes and code improvements
v1.0.6 Release v1.0.6
v1.0.3
v1.0.2 - Fix ontbrekende async_shutdown methode
Bugfix
- Fix: ontbrekende
async_shutdownmethode toegevoegd aanOnntrackCoordinator -
- Dit veroorzaakte de foutmelding "Config flow could not be loaded: Invalid handler specified" bij het toevoegen van de integratie in Home Assistant
v1.0.1 - Fix authenticatie en sessie beheer
v1.0.1 - Fix authenticatie en sessie beheer