Repository navigation
Add vehicle MG/Saic - #4086
Merged
LKuemmel merged 2 commits intoOct 16, 2026
Merged
Add vehicle MG/Saic#4086
Conversation
Neues Fahrzeug-(SoC)-Modul fuer MG/SAIC-Fahrzeuge ueber die SAIC-iSMART-Cloud, analog zum BYD-Modul: Protokoll (Login, AES-128-CBC-Request/Response- Verschluesselung, HMAC-SHA256-Signatur, Event-ID-Polling) reverse-engineered von saic-python-client-ng (MIT) und synchron mit requests nachgebaut, da die Referenzbibliothek Python 3.11+ braucht (openWB laeuft auf 3.9). Krypto-Primitive bit-fuer-bit gegen die Referenzimplementierung verifiziert. Live getestet gegen einen echten MG-Account: Login, VIN-Auflösung und SoC- Abruf (inkl. Event-ID-Polling) erfolgreich beim ersten Versuch.
…close auth-retry gaps
AlexanderHa98
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UI: openWB/openwb-ui-settings#1122
Neues Fahrzeug-(SoC)-Modul
saic_ismart: liest SoC, Reichweite und Kilometerstand über die SAIC/MG-iSMART-Cloud. Protokoll (Login, AES-CBC-Verschlüsselung, HMAC-Signatur, Event-ID-Polling) reverse-engineered von saic-python-client-ng (MIT), synchron mitrequestsnachgebaut (die Referenzbibliothek braucht Python ≥3.11, openWB läuft auf 3.9).official=False.Krypto-Primitive bit-für-bit gegen die Referenzimplementierung verifiziert. Live getestet gegen einen echten MG-Account über den normalen Control-Loop: Login, VIN-Auflösung und SoC-Abruf (inkl. Event-ID-Polling, Fahrzeug wecken bei veralteten Daten) erfolgreich.