Skip to content

Conversation

@vuffiraa72
Copy link
Contributor

Introducing shared component VWGroup that provides general SoC handling for vehicles from VW group.

Also included:

  • Refactoring SoC module VWId to use that new base.
  • Adding SoC module Skoda to support electric vehicles from Skoda.

The changes were tested by me with Skoda Enyaq and by @rleidner for VW.

Related UI extension is included in PR #699

Copy link
Contributor

@LKuemmel LKuemmel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die Klassenaufteilung passt.

Ist das deaktivierte SokaConnect-Modul obsolet?

a = api(conf, vehicle)
soc, range, soc_ts, soc_tsX = loop.run_until_complete(a._fetch_soc())

return soc, range, soc_ts, soc_tsX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Für was steht denn das X in soc_tsX? Ist soc_ts_server ausssagekräftiger?

Copy link
Collaborator

@rleidner rleidner May 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

''' Für was steht denn das X in soc_tsX? Ist soc_ts_server ausssagekräftiger?
Das stammt ursprünglich aus dem vwid Modul:
soc_ts und soc_tsX beschreiben denselben Zeitpunkt, soc_ts als string, soc_tsX als timestamp.
der String wird im Log benutzt, der timestamp für den car_state.

@vuffiraa72
Copy link
Contributor Author

Ist das deaktivierte SokaConnect-Modul obsolet?

Ja, ich wollte das nur nicht hier reinmischen, aber später einen eigenen PR zum Aufräumen erstellen.

@LKuemmel LKuemmel merged commit 6c89c59 into openWB:master May 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants