Giter Site home page Giter Site logo

kia_connect's Introduction

MijnKia / Kia Connected Services

This custom component integrates MijnKia (Connected Car Services) into Home Assistant.

This implementation is specific to the non-UVO Kia Connected Services implementation for cars built before 2021. Newer cars mostly use the Kia UVO implementation. See fuatakgun/kia_uvo to integrate with those.

Setup with HACS

hacs_badge

This repository is available in the HACS default repository.

Manual Setup

Copy the kia_connect folder to your custom_integrations folder.

After installing, you can set the integration up from the UI:

image

Tested cars

Model Type
Kia e-Niro EV

Supported regions

These regions are currently supported.

Region MyKia URL
Netherlands (NL) https://mijnkia.nl

Want your region added? Log in to your MyKia account and open an issue with the following information:

  • Base URL, e.g. https://mijnkia.nl
  • A json response for the /api/user call
  • A json response for the /api/vehicles/{preferred_vehicle}/connected-status call

Please anonymize these json values before submitting.

Screenshots

image

kia_connect's People

Contributors

pimdoos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

crazyhead90

kia_connect's Issues

Kia UVO ended

They have removed Kia UVO from the UK forcing all further used through KIA Connect. Making this note the private integration! Please as other regions (UK)
image

No entities for Hybrid vehicle

should this still be working. it knows what car I have,(Kia Niro hybrid 2020) and my license. But no further entities are filled

not working with kia niro ev

hello i have a question,

the integration is not working with a recent model of the kia niro ev in europe

is this normal ??

thanks :)

Decoding error on get_vehicle_status API call

Deze fout is ontstaan door een aangepaste integratie.

Logger: homeassistant
Source: custom_components/kia_connect/KiaConnectApi.py:116
Integration: Kia Connected Services (documentation, issues)
First occurred: 14 februari 2024 om 16:34:31 (11 occurrences)
Last logged: 07:48:32

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/kia_connect/__init__.py", line 61, in update
    await hass.data[DOMAIN][config_entry.entry_id][KIA_CONNECT_VEHICLE].update_status()
  File "/config/custom_components/kia_connect/KiaConnectVehicle.py", line 48, in update_status
    self.data = await self.kia_api.get_vehicle_status(self.vehicle_id)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/kia_connect/KiaConnectApi.py", line 116, in get_vehicle_status
    api_response = await response.json()
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1166, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://mijnkia.nl/api/vehicle/1357850/connected-status')

It seems that sometimes an error occurs which kinda spams my logging. I think that sometimes either the returned API data is either incorrect/missing data or that the response itself gets timed-out or is different than expected.

Depending on the effort to fix this issue, a simple "Try/Except" could already filter out the error logging while not changing (much) of the script flow.

Feature request: Passthru exact GPS coordinates

I use the KCS from the app via the kia API. With the request I get also GPS coordinates.

Can you implement those coordinates rather than Away / Home but the exact GPS location? This is useful to plot the coordinates on a map with a device tracker.

Thanks.

No information at all.

Hi PimDoos.

Thanks for putting in the time for this project.
I tried to add my car with this but i can't see any data at all. Everything is "not available".
Login is accepted for mijnkia.nl.
Any tips?

Regards and again ty so far for the effort.
Device_In_HomeAssistant

Merge into kia_uvo

Do you think we can merge this work into Kia Uvo integration? As you might noticed, it supports Kia and Hyundai brands in multiple regions and this could be a perfect fit to expand into.

It is not updating sometimes

Some times it doesn't seem to update anymore.

The reload button doesn't fix it. Only restarting homeassistant fixes the issue.

Will try to find any log records on when this happens.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.