diff --git a/companion-app/src/api/types.ts b/companion-app/src/api/types.ts index 7eeccb2..cafa23f 100644 --- a/companion-app/src/api/types.ts +++ b/companion-app/src/api/types.ts @@ -113,8 +113,10 @@ export interface Fahrzeugstatus { batteriespannung?: number | null; gesichert?: boolean | null; sicherheitscheck?: SicherheitsPunkt[]; - /** Zündung an = fährt gerade. `null`/fehlend heißt „kein Zündungssensor - zugeordnet", also unbekannt — ausdrücklich nicht „steht". */ + /** Zustand des Zündungssensors — ausdrücklich nicht „fährt": es gibt keinen + Bewegungssensor, und die Zündung meldet an auch bei Zubehörstellung oder + im Stand. `null`/fehlend heißt „kein Zündungssensor zugeordnet", also + unbekannt — ebenfalls nicht „steht". */ zuendung?: boolean | null; standort_lat?: number | null; standort_lon?: number | null; diff --git a/companion-app/src/daten/profilAdapter.ts b/companion-app/src/daten/profilAdapter.ts index fbefba3..c67c5a8 100644 --- a/companion-app/src/daten/profilAdapter.ts +++ b/companion-app/src/daten/profilAdapter.ts @@ -65,8 +65,9 @@ export interface Fahrzeug { batteriespannung: number | null gesichert: boolean | null sicherheitscheck: SicherheitsPunkt[] - /** Zündung an = das Fahrzeug fährt gerade. `null` heißt „kein - Zündungssensor zugeordnet", also unbekannt — nicht „steht". */ + /** Zustand des Zündungssensors — nicht „fährt": ohne Bewegungssensor sagt + an nur, dass die Zündung an ist. `null` heißt „kein Zündungssensor + zugeordnet", also unbekannt — nicht „steht". */ zuendung: boolean | null standortLat: number | null standortLon: number | null diff --git a/companion-app/src/screens/Standort.tsx b/companion-app/src/screens/Standort.tsx index 0ea5026..088b394 100644 --- a/companion-app/src/screens/Standort.tsx +++ b/companion-app/src/screens/Standort.tsx @@ -534,8 +534,16 @@ export function Standort() {
{zustand.faehrt ? ( <> + {/* Der Text sagt "Zuendung an", nicht "Fahrzeug faehrt". Es gibt keinen + Bewegungssensor am Fahrzeug - der einzige Anhaltspunkt ist ZUENDUNG_SENSOR, + und der meldet on auch bei blosser Zuendung oder Zubehoerstellung. Auch die + erkannte Fahrt hilft nicht weiter: fahrt_start_ts in fahrterkennung.py wird + aus genau demselben Signal abgeleitet, waere also nur eine zweite Huelle um + dieselbe Aussage. Der umgekehrte Fall ist unbedenklich: Zuendung aus heisst + verlaesslich, dass gerade nicht gefahren wird - "steht"/"Geparkt seit" + bleiben deshalb stehen. */} - Fahrzeug fährt + Zündung an ) : ( <> diff --git a/custom_components/audi_dashboard/frontend/app/bundle.json b/custom_components/audi_dashboard/frontend/app/bundle.json index 242c39e..1136aeb 100644 --- a/custom_components/audi_dashboard/frontend/app/bundle.json +++ b/custom_components/audi_dashboard/frontend/app/bundle.json @@ -1 +1 @@ -{"version":"2026.8.30.13","sha256":"aa140b08e5e143196ca5cb4b544a96db5ac4428f94be30de67e8736a5681d1d4","bytes":256965,"gebaut":"2026-08-30T21:35:25Z"} \ No newline at end of file +{"version":"2026.8.30.14","sha256":"982a3eac1feb6e2a009818f0f4b6b1d56d6c2d4f44f15948067cc7814d0f45ed","bytes":256972,"gebaut":"2026-08-30T21:38:56Z"} \ No newline at end of file diff --git a/custom_components/audi_dashboard/frontend/app/bundle.zip b/custom_components/audi_dashboard/frontend/app/bundle.zip index 1c8b521..0289bb4 100644 Binary files a/custom_components/audi_dashboard/frontend/app/bundle.zip and b/custom_components/audi_dashboard/frontend/app/bundle.zip differ diff --git a/custom_components/audi_dashboard/frontend/audi-dashboard-app.js b/custom_components/audi_dashboard/frontend/audi-dashboard-app.js index 7c1d09a..b0d1410 100644 --- a/custom_components/audi_dashboard/frontend/audi-dashboard-app.js +++ b/custom_components/audi_dashboard/frontend/audi-dashboard-app.js @@ -1207,7 +1207,15 @@ function vStandort() {
${esc(adresseText)}
${zustand.faehrt - ? `Fahrzeug fährt` + + ? `Zündung an` : zustand.unbekannt ? `${ciSVG(CI.parking)}Fahrzustand unbekannt` : `${ciSVG(CI.parking)}${zustand.seitTs != null ? "Geparkt seit " + dauerSeitText(zustand.seitTs) : "Fahrzeug steht"}`} diff --git a/custom_components/audi_dashboard/manifest.json b/custom_components/audi_dashboard/manifest.json index d99a976..219d5d0 100644 --- a/custom_components/audi_dashboard/manifest.json +++ b/custom_components/audi_dashboard/manifest.json @@ -1,7 +1,7 @@ { "domain": "audi_dashboard", "name": "Audi Dashboard", - "version": "2026.8.30.13", + "version": "2026.8.30.14", "documentation": "https://gitea.nothaft.cloud/paul/audi-app/src/branch/main/README.md", "issue_tracker": "https://gitea.nothaft.cloud/paul/audi-app/issues", "codeowners": ["@paul"],