kia_uvo
kia_uvo copied to clipboard
Set temperature 2°C lower in my car.
I’m in Canada I have a 2021 Kona Electric
When I start climate, temperature set in the car is 2°C lower. Temperature shown in HA is same what I’ve set in with start climate. But when I go in my car, it’s 2 lower.
When using the Bluelink app, it’s set properly in my car.
i set it 2 higher in HA and it’s set at my desired temperature.
I will do another test on my car, assuming it works for me this means the temp range is different on the Hyundai car's vs Kia. It should be a quick fix. Thanks for raising it.
Hi.. first off.. thanks so much for your hard work on this.. I have been using it for awhile now and love the ability to finally start my car.. lol.. I also created a node-red to check for locked then following that command start the vehicle.. works awesome.. The reason I jumped in here is I am also in Canada with a Kia Seltos 2021 and when I start_climate with temperature it also sets 2 degrees lower.. I can try and grab the log if you think that will help.
Hoping to grab time with my wife's car to test this out. If I can replicate it will be a quick fix. Could I confirm what version you are running?
1.2.5 .. I just updated before testing this evening..
On Fri., Dec. 24, 2021, 9:32 p.m. cdnninja, @.***> wrote:
Hoping to grab time with my wife's car to test this out. If I can replicate it will be a quick fix. Could I confirm what version you are running?
— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/kia_uvo/issues/220#issuecomment-1000961168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFF6RVHYBNT44FXT32AUTTUSUUKTANCNFSM5KW4SQXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
@cdnninja As soon as you release something on the master branch, I’lol test it 😉
I tested it out. In my single test using the default values in home assistant my car started but 0.5C off. I have found a potential bug in the math that impacts 22C only. Have you tried other temps to see if this impacts multiple temps? If it is multiple I may need you to capture details from a web browser to see what Kia / Hyundai is passing to start the car. This could be an electric car issue, I have an ICE.
@cdnninja it's happening with multiple temperature for me. I usually use 19.5 in Bluelink app. If I try with the same temperature in HA, it will set to 17.5 in the car. I actually do not see it in the car at this temperature (the screen is off), but next time I turn on my car, temperature is at 17.5. After finding out about the 2°C difference, I set it to 21.5. and I've got 19.5 in my car.
Could you start the car via your webbrowser with correct settings? Ideally as close to HA defaults as possible while doing this: https://github.com/fuatakgun/kia_uvo/wiki/How-to-sniff-API-via-MS-Edge You are looking for a section that will look like: payload = { "hvacInfo": { "airCtrl": int(climate), "defrost": defrost, "heating1": int(heating), "airTemp": { "value": set_temp, "unit": 0, "hvacTempType": 1, }, }, "pin": self.pin,
I can see my temperature when I look through the window when I start it and mine is always 2 degrees lower..
On Sat, Dec 25, 2021 at 11:58 AM cdnninja @.***> wrote:
Could you start the car via your webbrowser with correct settings? Ideally as close to HA defaults as possible while doing this: https://github.com/fuatakgun/kia_uvo/wiki/How-to-sniff-API-via-MS-Edge You are looking for a section that will look like: payload = { "hvacInfo": { "airCtrl": int(climate), "defrost": defrost, "heating1": int(heating), "airTemp": { "value": set_temp, "unit": 0, "hvacTempType": 1, }, }, "pin": self.pin,
— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/kia_uvo/issues/220#issuecomment-1001044938, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFF6RQWMF2U766QWWI3AF3USXZ3PANCNFSM5KW4SQXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
Actually a potentially easier way to check this. In your app what range of options do you have for temp? Our code is using 16-32 in 0.5 increments. Do you see 14 as an option?
@cdnninja in the app and on mybluelink.ca, I have 17-27 in 0.5 increments.
@cdnninja
when setting temp to 19.5 on mybluelink
hvacInfo: {airCtrl: 1, defrost: true, airTemp: {value: "0BH", unit: 0, hvacTempType: "1"}, heating1: 0} airCtrl: 1 airTemp: {value: "0BH", unit: 0, hvacTempType: "1"} hvacTempType: "1" unit: 0 value: "0BH" defrost: true heating1: 0 pin: "XXXX"
So for my kia seltos there is a slider with "lo" at the min and "hi" at the max.. in between I can set between 17.0-27.0 in .5 increments..
On Sat., Dec. 25, 2021, 12:06 p.m. cdnninja, @.***> wrote:
Actually a potentially easier way to check this. In your app what range of options do you have for temp? Our code is using 16-32 in 0.5 increments. Do you see 14 as an option?
— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/kia_uvo/issues/220#issuecomment-1001045692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFF6RVTRVJUCZKJYW6L263USX227ANCNFSM5KW4SQXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
Perfect that is exactly what I need. It looks like your EV cars use the same range as what we found for EU EV which is different than Canadian ICE cars. I will see if I can code something up quick before I head out. If not this may be tonight or in a few days.
Sorry my car is a gas 2021 Kia Seltos .. not EV..
On Sat., Dec. 25, 2021, 12:44 p.m. cdnninja, @.***> wrote:
Perfect that is exactly what I need. It looks like your EV cars use the same range as what we found for EU EV which is different than Canadian ICE cars. I will see if I can code something up quick before I head out. If not this may be tonight or in a few days.
— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/kia_uvo/issues/220#issuecomment-1001050372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFF6RREHTTA2CXCLPQCRRDUSX7HNANCNFSM5KW4SQXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
#224 will solve this for an EV @zadigre could you replace your Canada API file with it to test?
@dallaby23 this means they have changed temperature ranges on cars, now we have to figure out which cars and how to detect this. Mine is a 2019 Sorento ICE. This could be a generation of the UVO system, or the year.
@cdnninja is it available in Master branch directly?
FYI, Here’s the info for 17°C hvacInfo: {airCtrl: 1, defrost: true, airTemp: {value: "06H", unit: 0, hvacTempType: 1}, heating1: 0}
And 27°C hvacInfo: {airCtrl: 1, defrost: true, airTemp: {value: "1AH", unit: 0, hvacTempType: 1}, heating1: 0}
No it is under #224 so you will need to copy paste the one file.
@dallaby23 could you use the same sniff from above? I'm wondering if the temptype is the key. I have only seen that being different on an EV but if yours is 1 as well that may be it.
@cdnninja looks like it's working as intended now with the new file. I tried my my 19.5 setting in HA... and car was set at 19.5. I'll let you know if I encounter any other problem.
Could each of you also confirm on a start that the temp sensor displayed in home assistant is wrong? Just want to confirm that. This only works while car is running otherwise will show a low number:
@cdnninja
so I guess the translation here is not done properly.
@cdnninja and also when I set the temperature to 19.5 on mybluelink or Bluelink app, set temperature is also shown as 21.5 in HA
Out doing some Christmas stuff so might not be available till tomorrow..
On Sat., Dec. 25, 2021, 1:37 p.m. zadigre, @.***> wrote:
@cdnninja https://github.com/cdnninja and also when I set the temperature to 19.5 on mybluelink or Bluelink app, set temperature is also shown as 21.5
— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/kia_uvo/issues/220#issuecomment-1001058890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFF6RRZ5DVEVHNEXAWELCDUSYFODANCNFSM5KW4SQXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
@cdnninja
and also when I set the temperature to 19.5 on mybluelink or Bluelink app, set temperature is also shown as 21.5 in HA
Yes I'll need to update that logic as well. I'll wait to see if we can find out why your two cars are different than mine.
k.. quick test.. started 2021 Kia Seltos Canada.. car shows 21.. Set Temperature in HA shows 23.. Air Temp value shows 0EH and unit is 0 .. Air Temp unit is C ...
On Sat, Dec 25, 2021 at 2:17 PM cdnninja @.***> wrote:
@cdnninja https://github.com/cdnninja
and also when I set the temperature to 19.5 on mybluelink or Bluelink app, set temperature is also shown as 21.5 in HA
Yes I'll need to update that logic as well. I'll wait to see if we can find out why your two cars are different than mine.
— Reply to this email directly, view it on GitHub https://github.com/fuatakgun/kia_uvo/issues/220#issuecomment-1001063653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFF6RXHKXWCC6YJOSDFBCDUSYKDBANCNFSM5KW4SQXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Yes the range is different for your car. I am interested to see what the website sends and what hvacTempType is set to.
Basically the way it works is it send a hex number that is just the index of the temp from a list. Your list seems to be 2 degree different than mine. Need to find a way to predict it so we can get it right for both cars. Could we also get the data for yours from the data element in home assistant?
@cdnninja do you need anything else from me or we are all set for now?
@cdnninja
do you need anything else from me or we are all set for now?
Good for now. Thank you! Hyundai and Kia we are finding are interesting. Very little consistency.