openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.86k stars 3.58k forks source link

Kia UVO - Binding Request #10290

Open meingraham opened 3 years ago

meingraham commented 3 years ago

Kia has an app that provides status information and allows one to control certain elements (lock/unlock, start/stop, climate control, etc.). It also has a basic scheduling feature that let's you set a time on selected days to start the car (e.g., weekday mornings). Of course it has not way to know if it's a holiday. Or if it doesn't need to warm up the car because the outside temperature is already warm enough.

I found a Github project that has created a Java library interface to Kia UVO. Apparently it was developed so that it could be used with HA.

https://github.com/wcomartin/kiauvo

There is a separate project for Hyundai BlueLink. In Europe BlueLink works with both Hyundai & Kia but in North America they are different.

https://github.com/Hacksore/bluelinky

I would love to be able to better automate the car functions by integrating it with openHAB to use ephemeris and weather information.

So, my request to the community since I have no clue how to develop a new binding and have zero knowledge (nor comfort) with Java.

Cheers!

Mike

florian-h05 commented 2 years ago

I found a Github project that has created a Java library interface to Kia UVO. Apparently it was developed so that it could be used with HA. https://github.com/wcomartin/kiauvo

Sorry, your linked repo provides an uncomplete Python library for Bluelink.

There is a separate project for Hyundai BlueLink. In Europe BlueLink works with both Hyundai & Kia but in North America they are different. https://github.com/Hacksore/bluelinky

bluelinky seems to be a very complete API wrapper, but it is for NodeJS and written in TypeScript, so therefore we can‘t use bluelinky for opeHAB.

So somebody would have to develop a Java Bluelink library (of course you can have a look at bluelinky to have an idea of how to do so)

The problem I see, is that somebody that wants to do that has to be found. What can be difficult, as it looks like really much work for me.

As discussed in https://community.openhab.org/t/openhab-binding-for-kia-hyundai-ph-evs/128977, you can choose between a few workarounds:

Once my Hyundai EV arrives this year, I will use the last workaround with NodeRED. Again, see https://community.openhab.org/t/openhab-binding-for-kia-hyundai-ph-evs/128977/5 for NodeRED examples.