Repository navigation
feat: heated steering wheel control (#33) - #49
Merged
nanomad merged 2 commits intoOct 25, 2026
Merged
Conversation
control_heated_steering_wheel(vin, enable=...) sends what the iSmart app sends on an MG S6 EV (decrypted app traffic): request type 8 with a single parameter, 24 = 1 (on) or 0 (off), and no end-of-parameters marker. The car turns the heater off by itself after about 10 minutes; its state is already parsed as BasicVehicleStatus.steeringHeatLevel.
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.
Closes #33. Part of #26.
Adds
control_heated_steering_wheel(vin, *, enable: bool)to the climate API.What it sends
Taken from decrypted iSmart app traffic on an MG S6 EV, UK account (EU servers):
rvcReqType8 (newRvcReqType.HEATED_STEERING_WHEEL)RvcParamsId.HEATED_STEERING_WHEEL):1on,0offPARAMS_MAX) marker, matching the appThe car turns the heater off by itself after about 10 minutes. Its state is reported back in the existing
BasicVehicleStatus.steeringHeatLevel.We've been using this command in mg-saic-ha on an MG S6 EV since September.
Changes
api/vehicle/schema.py:RvcReqType.HEATED_STEERING_WHEEL = "8",RvcParamsId.HEATED_STEERING_WHEEL = 24api/vehicle/climate/__init__.py:control_heated_steering_wheel()tests/test_heated_steering_wheel.py: checks the request body byte for byte, on and offREADME.md: "heated steering wheel" added to the feature listBuilt on current
master, with only the steering wheel change from our fork: no CI, publishing, metadata orclose()changes. ruff (check and format), mypy, pylint and pytest all pass locally on Python 3.13.I've kept this to #33 only so it's small to review. The others will follow as separate PRs: the front-seat left/right naming fix, rear heated seats (#34), window ventilation (#36), the error codes, and ventilated front seats (#35).