Skip to main content

SAIC Python client library

About

A Python package for interacting with the MG iSmart API.

MG iSmart is the connectivity system in your MG car (MG5 MG4, ZS, MGS5, MGS6 ...).

Supported functionality (partial list, check the code for more)

  • login
  • set alarm switches
  • get message list
  • get vehicle status
  • get charging status
  • lock vehicle
  • unlock vehicle
  • start rear window heating
  • stop rear window heating
  • remote climate
  • heated seats: each seat on its own, front and rear, plus rear seat status
  • heated steering wheel
  • door windows: close, ventilate or fully open

Errors

Every error is a SaicApiException (or a subclass). Besides the message text, it carries SAIC's reply as separate values, so you don't need to parse the text:

  • return_code: SAIC's numeric code (see SaicReturnCode), or None
  • saic_message: the message on its own
  • checks for the common cases: is_vehicle_unreachable (code 4), is_request_rejected (code 8), is_vehicle_not_locked, is_logged_out and is_unexpected_failure

Prerequisites

You have an iSmart account (can be created in the iSmart app)

Credit

This is a maintained fork of SAIC-iSmart-API/saic-python-client-ng by Giovanni Condello, used by the mg-saic-ha Home Assistant integration. Licensed under MIT; see LICENSE.

Metadata

Release files for mg-saic-client 0.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mg-saic-client 0.9.6
File Size Uploaded
mg_saic_client-0.9.6.tar.gz 24.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mg-saic-client 0.9.6
File Interpreter ABI Platform
mg_saic_client-0.9.6-py3-none-any.whl Python 3 none any Details

Total release size: 58.9 kB

Release files / mg_saic_client-0.9.6.tar.gz

Download URL mg_saic_client-0.9.6.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2efc9e574b38bbf5b0795ab4b89b8a24e323231c6b262d767a10ce14294d8b09
BLAKE2b-256 checksum
How to use checksums
9a28d81172e32e07b4efc25d63b4d1ae5213f4aebe3529e6578cabe314ca0dd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release files / mg_saic_client-0.9.6-py3-none-any.whl

Download URL mg_saic_client-0.9.6-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fab39451124bf40227f3e37042d0ae0fa07457b7c63055970ff9c6d8670808af
BLAKE2b-256 checksum
How to use checksums
8fa00c076ae1c8404c16b953fbcfc75d1478c026841b8de82ab4b2db4ec6dba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.9.6 This release

2 release files

0.9.5

2 release files

0.9.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page