skodaconnect / homeassistant-skodaconnect

Skoda Connect - A home assistant plugin to add integration with your car
Apache License 2.0
232 stars 28 forks source link

Unable to start climate #135

Closed haraldpaulsen closed 2 years ago

haraldpaulsen commented 2 years ago

Describe the bug I am unable to start climatization from home assistant. I can start the climate from the Skoda App, and home assistant will show the correct status of the climate, but I am unable to turn on or turn off from home assistant.

Failed to call service switch/turn_on. Invalid or no response for endpoint fs-car/bs/climatisation/v1/skoda/CZ/vehicles/(my VIN here)/climater/actions

Latest working release Does not know when it stopped working.

Debug logs VIN sensored, unsensored logs can be sent in private

2022-09-13 22:26:12.203 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "fs-car/bs/climatisation/v1/skoda/CZ/vehicles/VIN/climater/actions" 2022-09-13 22:26:12.204 ERROR (MainThread) [skodaconnect.connection] Failure to execute: fs-car/bs/climatisation/v1/skoda/CZ/vehicles/VIN/climater/actions 2022-09-13 22:26:12.211 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139845517764560] Invalid or no response for endpoint fs-car/bs/climatisation/v1/skoda/CZ/vehicles/VIN/climater/actions Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 676, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, in _handle_entity_call await result File "/config/custom_components/skodaconnect/switch.py", line 57, in async_turn_on await self.instrument.turn_on() File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 494, in turn_on await self.vehicle.set_climatisation(mode = 'electric') File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 803, in set_climatisation return await self._set_climater(data, spin) File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 854, in _set_climater response = await self._connection.setClimater(self.vin, data, spin) File "/usr/local/lib/python3.10/site-packages/skodaconnect/connection.py", line 1334, in setClimater return await self._setVWAPI(f'fs-car/bs/climatisation/v1/{BRAND}/{COUNTRY}/vehicles/{vin}/climater/actions', json = data) File "/usr/local/lib/python3.10/site-packages/skodaconnect/connection.py", line 1292, in _setVWAPI raise SkodaException(f'Invalid or no response for endpoint {url}') skodaconnect.exceptions.SkodaException: Invalid or no response for endpoint fs-car/bs/climatisation/v1/skoda/CZ/vehicles/VIN/climater/actions

Installation:

Additional context Add any other context about the problem here.

Freddy315pk commented 2 years ago

Same issue here. I'm using integration 1.0.70. Window heater and electric climatisation doesn't work from HA, but I can use force data refresh. It stopped working about a week ago, after my Skoda got updated with an OTA update.

Farfar commented 2 years ago

I have found the issue and a fix will be released soon

Freddy315pk commented 2 years ago

It's back to working order, thank you for fixing it!