Hyundai-Kia-Connect / kia_uvo

A Home Assistant HACS integration that supports Kia Connect(Uvo) and Hyundai Bluelink. The integration supports the EU, Canada and the USA.
MIT License
390 stars 80 forks source link

Kona 2024 EU - start and stop charging #872

Open StephaneG38 opened 2 months ago

StephaneG38 commented 2 months ago

Good morning, I own a Kona 2024 and I live in France. Can you add the possibility like on the Bluelink application to be able to:

cdnninja commented 2 months ago

Start stop exists today. Current doesn't however target soc does.

StephaneG38 commented 2 months ago

Hello @cdnninja I don't have these functions on my integration. image

cdnninja commented 2 months ago

As per the readme they are services. Charge limits are the sliders you see on screen.

StephaneG38 commented 2 months ago

I can't start or stop charging because there are no controls to do so. Is this normal or is it due to my installation?

cdnninja commented 2 months ago

Normal. It is a service you can call though.

StephaneG38 commented 2 months ago

How do I call these services?

StephaneG38 commented 2 months ago

I think I found image

StephaneG38 commented 2 months ago

On the other hand, I don't see the possibility of modifying the charging current (60%, 90% or 100%)

cdnninja commented 2 months ago

That's correct. We don't have charge current.

StephaneG38 commented 2 months ago

Are there plans to add it?

cdnninja commented 2 months ago

If someone sniffs the traffic from the native app and creates it sure. I don't have a Kia anymore nor am I in EU. This is region specific.

It wouldn't be too hard to add once someone sniffs the data though.

StephaneG38 commented 2 months ago

I understand. I don't know how to sniff them but if you have a link to a tutorial I would like to try.

StephaneG38 commented 2 months ago

I just tested starting and stopping charging but unfortunately neither works.

image

StephaneG38 commented 2 months ago

Good morning @cdnninja Can you tell me an Android application to sniff the data sent by the Bluelink application?

cdnninja commented 2 months ago

I think it is in the wiki. The cliff notes are Knox emulator with Charles proxy.

Android 6 non rooted was best success historically.

StephaneG38 commented 2 months ago

Oups sorry I hadn't seen the wiki I'll have a look and try Thank you very much @cdnninja

cdnninja commented 2 months ago

All good! I'm on my phone so can't easily drop a link.

StephaneG38 commented 2 months ago

I've just looked at the Wiki, it's not easy! I don't know if I can do it! Don't you have any contacts in Europe who own a Kona 2024 and could do it?

cdnninja commented 2 months ago

Nope. This is a volunteer based project. As such someone local would need to come forward to do it.

StephaneG38 commented 2 months ago

Ok I will try thank you for your help

StephaneG38 commented 1 month ago

Hello @cdnninja I have a error when i start apk-mitm : image decoding.log encoding-aapt.failed.log encoding-aapt2.failed.log

thank you for your help !

StephaneG38 commented 1 month ago

I tried with the UVO file from kia and it works: image

The problem is that for the Hyndai KONA I have Bluelink and not UVO!

StephaneG38 commented 1 month ago

The UVO APK file was wrong I start again with another one that seems OK

cdnninja commented 1 month ago

I'm not familiar with that tool.

StephaneG38 commented 1 month ago

I've just patched Bluelink XAPK and installed it on a second tel so as not to conflict with mine. The application doesn't seem to want to start. I'll continue the process and keep you informed image

cdnninja commented 1 month ago

I have heard patching does that which is why the external approach I referenced sometimes works better.

StephaneG38 commented 1 month ago

Actually it’s not simple. What exactly is the external approach that is simpler?