Repository navigation
Description
Vehicle: MG ZS Hybrid+ 2024 ("ZS 2024 BLACK PEARL"), series ZS32 EU (shown as hw_version in Home Assistant), gateway 0.13.0 (Docker latest), Home Assistant via MQTT discovery.
Model not recognized (hybrid treated as EV)
My car is a hybrid ZS (series ZS32 EU), but the gateway treats every series except ZP22 as an EV (is_ev in vehicle_info.py). The vehicle configuration from the MG cloud says otherwise (EV=0, ENGINE=1, BType=0). As a result:
- Every poll cycle logs
Error updating charge status(failure inget_vehicle_charging_management_data), roughly once per minute. - Battery capacity stays unknown (no entry for this series in
real_battery_capacity). - The A/C range is capped at 28 °C (default branch of
max_ac_temperature).
Could ZS32 be added as a known hybrid series, or could is_ev use the EV/ENGINE configuration items instead of a series name?
Vehicle configuration published by the gateway (info/configuration), VIN and account removed:
J17=1, Q00=1, S35=0, S61=1, T11=1, EPS=1, BONNUT=1, DOOR=1111, BOOT=1, ENGINE=1, EV=0, HeatedSeat=2, KEYPOS=1, ENERGY=1, BATTERY=1, INTEMP=1, EXTEMP=0, WINDOW=1000, LRD=0, BTKEY=0, BType=0, SBH=0, BHI=0, SWH=0, SS=0, ROV=25857
Observation
- On my car's own A/C panel, the temperature can be set up to 32 °C, followed by "HI". The gateway seemingly caps the remote A/C temperature at 28 °C for my car:
max_ac_temperatureinvehicle_info.pyreturns 31 only forEH32andMZS3E, otherwise 28. The HA climate entity showsmax_temp: 28. - The car's panel offers fan levels 1–8. The gateway only exposes fixed modes: "on" (
fan_speed=2), "blowing only" (fan_speed=1) and "front defrost" (fan_speed=5). There is no way to choose a fan level.
Request
- Recognize this model correctly (see above).
- Make the A/C temperature range configurable per vehicle (e.g. an env var or config option), or extend the range for this model if the protocol supports it. I can test on my car.
- Optionally expose a fan level (1–8) for remote climate, for example
climate/remoteFanSpeed/set, using the existingfan_speedparameter ofcontrol_climate.
Notes
- The "front defrost" switch in HA only starts the A/C with
fan_speed=5and switches the mode to "front seats only". On my model it is not a real defroster, which matches that the MG iSMART app has no such option at all. - This is the EU hybrid version (Germany) in standard configuration. In our market there are also "Comfort" and "Luxury" trims. In the UK "Luxury" = "Trophy", as far as I know.
- Thank you for this project, it really helped me a lot.
- Happy to test patches and share logs 👍
Activity
nanomad commentedon Nov 22, 2026
@Madwurst Most of this is fixed on
developby #536. It will be in the next release candidate:ZS32is now treated as a non-EV, likeZP22. Charge polling stops, so the once-a-minuteError updating charge statusgoes away.ZS32is 17 to 33 °C. The values come from the iSmart app, but they are untested on a real car.Fan level selection is not done. The app's remote A/C command only sends a temperature, so the API has no fan field for us to use.
Please try the next release candidate. Tell us if the errors are gone, and if 33 °C works on your car.
Madwurst commentedon Nov 23, 2026
Hi @nanomad, thank you for the quick fix and for picking this up so fast, much appreciated!
Unfortunately I can't test the release candidate properly right now. My car has a separate problem: since a minor accident (driver's door/fender) it reports "The key is detected inside the vehicle" (return code 8) whenever I try to start the A/C remotely. This happens in the official iSmart app as well, so it is unrelated to the gateway.
What I could confirm with the
developbuild (PR #536) running on my ZS Hybrid+:Error updating charge statusmessage is gone (no occurrences over several days).climate/remoteTemperature= 33, no error).I can't say yet whether the A/C actually starts at 33 °C. I'll report back once the car is repaired.
Thanks again!