kia_uvo
kia_uvo copied to clipboard
CA Car heating controls not working
Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md Region and Brand of car Canada SantaFe 2019 Version of the integration Latest
Describe the bug
A clear and concise description of what the bug is.
My car supports the feature to remote start and has options for the heating steering wheel as well as both front and back defrosters. as seen below.
when i try to do it through this integration it starts the care but doesn't turn on those switches
Try the other options and let me know if they work.
i tried all the different options none work
is there something i can do?
On the website go into debug mode and sniff the traffic while you run the command. Compare the values to what we send.
How do i sniff the traffic?
is that something i can do with charles reverse proxy?
For Canada easiest way is the developer menu in your browser.
Charles works too if you prefer.
is there a tutorial i can follow? Im a beginner i have no clue what im doing haha
i think this is what you're looking for right? the settings i had it on were all heated features on (only heated steering wheel and front/back windshields are supported for my car) these are what i captured using the iPhone app and a proxy capture { "responseHeader": { "responseCode": 0, "responseDesc": "Success" }, "result": { "status": { "lastStatusDate": "20240528195033", "airCtrlOn": true, "engine": true, "doorLock": true, "doorOpen": { "frontLeft": 0, "frontRight": 0, "backLeft": 0, "backRight": 0 }, "trunkOpen": false, "airTempUnit": "C", "airTemp": { "value": "1AH", "unit": 0 }, "defrost": true, "lowFuelLight": false, "acc": false, "hoodOpen": false, "transCond": true, "steerWheelHeat": 1, "sideBackWindowHeat": 1, "dte": { "value": 346.0, "unit": 1 }, "tirePressureLamp": { "tirePressureLampAll": 0 }, "battery": { "batSoc": 72, "batState": 0, "sjbDeliveryMode": 1, "batSignalReferenceValue": {} }, "remoteIgnition": true, "seatHeaterVentInfo": {}, "lampWireStatus": { "headLamp": {}, "stopLamp": {}, "turnSignalLamp": {} }, "windowOpen": {}, "engineRuntime": {} } } }
i also captured this, these are my presets i have set in the bluelink app
{ "responseHeader": { "responseCode": 0, "responseDesc": "Success" }, "result": [ { "id": 533741, "settingName": "Semi Warm/Cold", "airCtrl": 1, "defrost": false, "airTemp": { "value": "0CH", "unit": 0 }, "igniOnDuration": 10, "heating1": 0, "ims": 0, "defaultFavorite": false }, { "id": 363886, "settingName": "Cold Out", "airCtrl": 1, "defrost": true, "airTemp": { "value": "1AH", "unit": 0 }, "igniOnDuration": 10, "heating1": 1, "ims": 0, "defaultFavorite": true }, { "id": 422932, "settingName": "Hot Out", "airCtrl": 1, "defrost": false, "airTemp": { "value": "01H", "unit": 0 }, "igniOnDuration": 10, "heating1": 0, "ims": 0, "defaultFavorite": false } ] }
let me know what to do next.
@cdnninja ?
Compare this to the debug logs and code to see what differs.
how can i view the debug logs?/where can i find them?
Enable on the integration and view them in home assistant system core logs.
2024-06-05 00:14:34.372 DEBUG (SyncWorker_7) [hyundai_kia_connect_api.KiaUvoApiCA] hyundai_kia_connect_api - Planned start_climate payload {'setting': {'airCtrl': 1, 'defrost': True, 'heating1': '4', 'igniOnDuration': 10, 'ims': 0, 'airTemp': {'value': '14H', 'unit': 0, 'hvacTempType': 0}, 'seatHeaterVentCMD': {'drvSeatOptCmd': 0, 'astSeatOptCmd': 0, 'rlSeatOptCmd': 0, 'rrSeatOptCmd': 0}}, 'pin': '****'}
this is what appears
So now sniff the matching start command in the website compare and if you find differences in format submit a pull request. If difference in values play with the yaml.
This will need to be something for you or the community to work on. I don't own one of these cars anymore and don't have time to do the work.
In your yaml try pass 1 as the heating value instead of using the interface.
which yaml? in the custom_components folder under kia uvo?
No the yaml your sending in start_climate command.
wdym by that? like the the automation yaml or the services.yaml?
Ah i figured it out! Next question is i want the temp to be set to 17º however that gets sent out through blue link as "01H" for the value of temp how can i input that as well?
That converts in code. Send 17 and see if the logs show it sent correctly.