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
391 stars 81 forks source link

Can't open charge port of Ioniq 5 #822

Open Tehral opened 5 months ago

Tehral commented 5 months ago

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 EU - Hyundai Ioniq 5 Version of the integration latest

Describe the bug A clear and concise description of what the bug is.

I call a script which checks the status of the charge port and if closed, opens it and vice versa. Also tried it from DEV Tools

Debug logs if an error occurred

Debug lines: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 675, in _async_run_long_action return long_task.result() ^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2149, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2186, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/kia_uvo/services.py", line 110, in async_handle_open_charge_port await coordinator.async_open_charge_port(vehicle_id) File "/config/custom_components/kia_uvo/coordinator.py", line 182, in async_open_charge_port await self.hass.async_add_executor_job( File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 201, in open_charge_port return self.api.charge_port_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 1085, in charge_port_action _check_response_for_errors(response) File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 115, in _check_response_for_errors raise InvalidAPIResponseError() hyundai_kia_connect_api.exceptions.InvalidAPIResponseError

Outlined here: https://github.com/fuatakgun/kia_uvo/blob/master/README.md

To Reproduce Call open charge port

Expected behavior charge port is opened

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

Bubo08 commented 5 months ago

In the EU cc2 implemenation it is not supported yet.

cdnninja commented 5 months ago

It doesn't work. This is mentioned in the docs on the front page. We haven't removed it since it helps us test but maybe should at this point. One day someone may figure it out!