Skip to content

Conversation

@vuffiraa72
Copy link
Contributor

siehe Forum https://forum.openwb.de/viewtopic.php?p=133323#p133323

Skoda bietet zwei Endpunkte, um die aktuellen SoC Werte abzurufen.
Die Änderung benutzt nun api/v1/charging/{vin}.
Außerdem wird das Fehlen der Restreichweitenangabe toleriert.

@benderl
Copy link
Contributor

benderl commented Sep 29, 2025

Nur eine Anmerkung:
Vermutlich wird die API v1 irgendwann komplett abgeschaltet, da es bereits die v2 gibt.

@benderl benderl added this to the 2.1.9 milestone Sep 29, 2025
@vuffiraa72
Copy link
Contributor Author

Ich habe noch mal über die Anmerkung nachgedacht. Daher habe ich die Implementierung so geändert, dass die API v2 führend ist und v1 als Fallback benutzt wird, wenn es keinen passenden Satz von Werten gibt. Damit ist das Modul etwas unabhängiger von der API-Strategie. Falls eine der APIs abgeschaltet wird, kann man das Modul entsprechend bereinigen. Momentan scheinen aber beide ihre Berechtigung zu haben.
Durch die Meldungen im Forum ist noch aufgefallen, dass bei Hybridfahrzeugen explizit der Elektromotor ausgewertet werden muss, sonst sieht man nur die Werte des primären Motors.
Außerdem werden die aktuellen Annahmen noch durch Tests abgesichert.

@benderl benderl added the enhancement New feature or request label Oct 22, 2025
@LKuemmel LKuemmel merged commit 361aaee into openWB:master Oct 27, 2025
1 check passed
LKuemmel pushed a commit to LKuemmel/core that referenced this pull request Nov 10, 2025
* fix: handle missing 'remainingRangeInKm' in status data

* fix: update vehicle status API endpoint and adjust data extraction for battery status

* flake8: format cruising range calculation for better readability

* use API v2 endpoints with fallback to API v1

* fix: vehicle status handling to support hybrid cars

* add  tests

* flake8: remove whitespace in blank line
LKuemmel pushed a commit to LKuemmel/core that referenced this pull request Nov 10, 2025
* fix: handle missing 'remainingRangeInKm' in status data

* fix: update vehicle status API endpoint and adjust data extraction for battery status

* flake8: format cruising range calculation for better readability

* use API v2 endpoints with fallback to API v1

* fix: vehicle status handling to support hybrid cars

* add  tests

* flake8: remove whitespace in blank line
LKuemmel added a commit that referenced this pull request Nov 10, 2025
* add frequency (#2792)

* temp charge templates as option (#2855)

* draft

* draft

* temp charge templates optional

* fix  temporary settings optional (#2868)

* fix temporary charge template: change vehicle (#2869)

* improve error handling internal cp (#2814)

* fix single phase wallboxes (#2836)

* SMA SunnyBoy - fix phase currents for single phase inverters (#2844)

* support single phase inverters

* handle power and currents NaN values

* Revert ValueError for NaN values SMA (#2887)

* Handle invalid power_total by resetting values

Set power_total to 0 and currents to [0, 0, 0] when power_total is not valid.

* Helptext improved

Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>

---------

Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>

* improve register check (#2906)

* build all themes (#2886)

* build all themes

* remove hard coded theme bases

---------

Co-authored-by: Lutz Bender <github@lutz-bender.de>

* fix build themes wotkflow (#2903)

* temporary settings active: only update temporary settings for changed… (#2879)

* temporary settings active: only update temporary settings for changed persistent templates

* fix

* update config

* fix

* fix

* fix

* clean up

* Koala - Add Input dialog for editing scheduled and time plans  (#2895)

* Add scheduled details component

* Add / remove scheduled charging plan - details as dialog

* Add time plan details - adjust backend command

* Backend command

* Add DC charging  inputs

* Display bidi settings in scheduled plan based on vehicle profile bidi enabled

* Fix DC power values for scheduled and time planes

* Close plan dialog upon plan deletion

* Plan energy amount watts to kilowatts

* Formatting fixes

* Charging current title AC or DC

* Formatting fix

* Change add plan button outlined to filled

* Formatting Delete plan button

* Add kW label to DC power input field

* Format input fields

* Format input toggles

---------

Co-authored-by: BrettS <brett.scott@openwb.de>

* fix temporary charge temple: inactive-> update all cps using this template (#2907)

* Update version 2.1.8-Beta.Patch.4

* Fix: Skoda SoC fehlende Restreichweite (#2789)

* fix: handle missing 'remainingRangeInKm' in status data

* fix: update vehicle status API endpoint and adjust data extraction for battery status

* flake8: format cruising range calculation for better readability

* use API v2 endpoints with fallback to API v1

* fix: vehicle status handling to support hybrid cars

* add  tests

* flake8: remove whitespace in blank line

* remove id_token from flow (#2915)

* Merge pull request #2910 from Brett-S-OWB:charge-plans-text-fix

Charging plans text fixes - text as in settings / standard theme

* buil UI

---------

Co-authored-by: ndrsnhs <156670705+ndrsnhs@users.noreply.github.com>
Co-authored-by: SeaSpotter <florian.horch@gmail.com>
Co-authored-by: Lutz Bender <github@lutz-bender.de>
Co-authored-by: BrettS <brett.scott@openwb.de>
Co-authored-by: vuffiraa72 <u.mersewsky+github@gmail.com>
Co-authored-by: benderl <benderl@users.noreply.github.com>
LKuemmel pushed a commit to LKuemmel/core that referenced this pull request Nov 10, 2025
* fix: handle missing 'remainingRangeInKm' in status data

* fix: update vehicle status API endpoint and adjust data extraction for battery status

* flake8: format cruising range calculation for better readability

* use API v2 endpoints with fallback to API v1

* fix: vehicle status handling to support hybrid cars

* add  tests

* flake8: remove whitespace in blank line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants