Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enyaq climatisation #79

Closed
jmkraan74 opened this issue Oct 12, 2021 · 5 comments
Closed

Enyaq climatisation #79

jmkraan74 opened this issue Oct 12, 2021 · 5 comments
Assignees

Comments

@jmkraan74
Copy link

Having a bit of a struggle with switching the Enyaq's climitasation on (or off)
it starts with a "bad requst" and then I get an error "invalid or no response"
after that when I switch it off again HA says "air conditioning action is already in progress" and the Skoda app on my phone tells me "core_push_body_result_19" as a notification

Bad request:
`Logger: skodaconnect.connection
Source: /usr/local/lib/python3.9/site-packages/skodaconnect/connection.py:581
First occurred: 12:10:31 (1 occurrences)
Last logged: 12:10:31

Bad request`

Invalid or no return:

`Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/skodaconnect/switch.py:57
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:10:31 (1 occurrences)
Last logged: 12:10:31

[547540829760] Invalid or no response
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 830, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, 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.9/site-packages/skodaconnect/dashboard.py", line 480, in turn_on
await self.vehicle.set_climatisation(mode = 'electric')
File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 780, in set_climatisation
return await self._set_aircon(data)
File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 845, in _set_aircon
response = await self._connection.setAirConditioning(self.vin, data)
File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1462, in setAirConditioning
return await self._setSkodaAPI('air-conditioning', vin, json = data)
File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1450, in _setSkodaAPI
raise SkodaException('Invalid or no response')
skodaconnect.exceptions.SkodaException: Invalid or no response
`

@Farfar Farfar self-assigned this Oct 12, 2021
@daranto
Copy link

daranto commented Oct 14, 2021

The new version is still not working. Here is the error message:

'airConditioningSettings' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service await handler.job.target(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service await self.hass.helpers.service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 830, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, 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.9/site-packages/skodaconnect/dashboard.py", line 478, in turn_on await self.vehicle.set_climatisation(mode = 'electric') File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 798, in set_climatisation data['airConditioningSettings']['targetTemperatureInKelvin'] = temp + 273.15 KeyError: 'airConditioningSettings'

@Farfar
Copy link
Collaborator

Farfar commented Oct 14, 2021

The new version is still not working. Here is the error message:

'airConditioningSettings' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service await handler.job.target(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service await self.hass.helpers.service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 830, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, 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.9/site-packages/skodaconnect/dashboard.py", line 478, in turn_on await self.vehicle.set_climatisation(mode = 'electric') File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 798, in set_climatisation data['airConditioningSettings']['targetTemperatureInKelvin'] = temp + 273.15 KeyError: 'airConditioningSettings'

Can you provide full debug logs?
I would need the log entries leading up to this error. Looks like the data structure for the climatisation settings might have changed.

@vBrolin
Copy link

vBrolin commented Oct 14, 2021

There was a new app version released 2 days ago, there are probably changes to the heating in that version.
From what I've read, since this version users have been able to turn in seat heating (individual seats) and window heating, with some claiming that has worked before. Have also seen people reporting that the could reduce the charge speed from the app now.

@hkraal
Copy link

hkraal commented Oct 15, 2021

Have also seen people reporting that the could reduce the charge speed from the app now.

This was already possible in the app but hidden in a top right ... menu which was kind of hard to find

@Farfar
Copy link
Collaborator

Farfar commented Oct 15, 2021

There was a new app version released 2 days ago, there are probably changes to the heating in that version. From what I've read, since this version users have been able to turn in seat heating (individual seats) and window heating, with some claiming that has worked before. Have also seen people reporting that the could reduce the charge speed from the app now.

Set charge current should have been working in the integration for quite some time now, as well as window heating.
The latest release should also have solved the issues with starting climatisation.
I will look into enabling seat heating support.

@Farfar Farfar closed this as completed Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants