MG SAIC Custom Integration for Home Assistant
Important Notes:
Requirements:
mg_saic directory to custom_components in your Home Assistant configuration directory.Home Assistant's dashboard doesn't always show a pending MG SAIC update by name, even when one is waiting — it's easy to assume you're up to date when you're not. See Where to find updates if you're not sure which version you're running.
To add the integration to your local Home Assistant, click here: Install the integration, restart Home Assistant and then add the integration, either:
Or manually by:
If you have more than one MG/SAIC vehicle, you can add each one as a separate integration entry. Vehicles on the same SAIC account are fully supported — the integration uses a single shared API session per account, so adding a second vehicle does not interfere with the first.
If your vehicles are on different SAIC accounts, add each account separately in the same way.
If you change your iSmart password (in the mobile app or on SAIC's website), the stored password stops working. You no longer need to delete and re-add the integration:
A note on password length. The integration sends your password to SAIC exactly as entered (hashed, and never truncated on our side). However, SAIC's own servers limit password length when a password is set, so a very long password generated by a password manager can be accepted by the app but silently shortened on SAIC's side — after which it will never match what you type here. If a long password fails to log in, set a shorter one (around 16 characters or fewer, with no trailing spaces) in the iSmart app and use that. The password field also trims accidental leading/trailing spaces from pasting.
MG India runs on a completely different backend to the rest of the world (a binary "TAP" protocol rather than the global REST API), maintained by John Lazarus. Vehicle status, lock/unlock, climate, windows, sunroof, heated seats and charging telemetry are supported.
Select India as your region during setup and follow the same configuration steps as above.
India support is in beta and actively looking for testers — see the India tracking issue and Discussion #169.
Full detail — what's confirmed, what isn't, and PIN setup: docs/india.md
This README covers installation and initial setup. Everything else lives in its own page:
| Page | What's in it |
|---|---|
| Sensors & Vehicle Profiles | Every sensor and binary sensor, trip/efficiency statistics, entity state reference, per-model vehicle profile notes, and the battery capacity / fuel tank size overrides |
| Controlling Your Car | Climate control (both control schemes), windows, heated seats, and event-driven updates |
| MG India Support | Setup, what's confirmed working, and current limitations for India-region vehicles |
| A Better Route Planner (ABRP) | Connecting your car's live data to ABRP |
| Deep Sleep, Holiday Mode & Update Behaviour | Why the car sometimes goes quiet, and the polling options that control it |
| Troubleshooting & FAQ | Common problems, enabling debug logging, and the diagnostic tools in tools/ |
Contributions are welcome! If you have any suggestions or find any issues, please open an issue or a pull request.
The global/EU backend runs on mg-saic-client, our maintained fork of saic-ismart-client-ng. Huge thanks to that original project and its developers/contributors, whose work this builds on. Included under the MIT License.
Special thanks to ad-ha for creating the original integration and for the hard work put into building and maintaining it in its previous stages. This repository continues that work.
India region support is built on the work of John Lazarus (john-lazarus), who reverse-engineered the MG India TAP protocol and created the mg-ismart-india-ha client this integration uses. John maintains the India backend. Included under the MIT License.
This project is licensed under the MIT License. See the LICENSE file for details.
THIS PROJECT IS NOT IN ANY WAY ASSOCIATED WITH OR RELATED TO THE SAIC MOTOR OR ANY OF ITS SUBSIDIARIES. The information here and online is for educational and resource purposes only and therefore the developers do not endorse or condone any inappropriate use of it, and take no legal responsibility for the functionality or security of your devices.
No open issues yet, or sync has not completed.