You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to be a dev in my old days, that's how I managed to find how to a fix this but I'm not familiar with GitHub and pull request mecanism and I dont want to make a mess. So Id rather share the fix and let someone else make the change
Description
Calling start_climate with a Canadian Kia EV9 fails and returns error code 15109.
The API builds the payload like this for EV cars:
payload = { "hvacInfo": { "airCtrl": int(options.climate), "defrost": options.defrost, "heating1": options.heating, "airTemp": { "value": hex_set_temp, "unit": 0, "hvacTempType": 1, }, }, "pin": token.pin, }
I dont know for other EV vehicules but at least for the Canadian EV9, Ive found out that it should be
payload = { "remoteControl": { "airCtrl": int(options.climate), "defrost": options.defrost, "heating1": options.heating, "igniOnDuration": options.duration, "ims": 0, "airTemp": {"value": hex_set_temp, "unit": 0, "hvacTempType": 0}, "seatHeaterVentCMD": { "drvSeatOptCmd": options.front_left_seat, "astSeatOptCmd": options.front_right_seat, "rlSeatOptCmd": options.rear_left_seat, "rrSeatOptCmd": options.rear_right_seat, }, }, "pin": token.pin, }
This is how Ive fixed it locally.
Hope this help
The text was updated successfully, but these errors were encountered: