-
Notifications
You must be signed in to change notification settings - Fork 28
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 iv "Set charger max current" feature not working #67
Comments
Update to latest stable release. |
ändrad: README.md ändrad: custom_components/skodaconnect/manifest.json ändrad: requirements.txt
@allhq Try the latest release: 1.0.56 |
Not working :( Logger: homeassistant.components.websocket_api.http.connection [139662516765312] Error handling message: Unknown error |
Well now it seems the request is sent. But the API doesn't respond back. |
Where do I look for the bug? |
Does it work to change in MySkoda app? |
It does not allow this. :( |
Then it will probably not work for your car. Yet. |
Thank you very much! And where I can I want to help with this project. |
I suspect that only a handful of Enyaq iVs have beta functions enabled in the API, don't know how to till yet though. You could also download the example.py from the library, edit the credentials, enable response logs and then run it. |
Hi
I can't set max current amps. (I use lastest beta release)
Many many thanks
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/skodaconnect/init.py:365
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 16:20:33 (4 occurrences)
Last logged: 16:33:02
[140196606859920] Error handling message: Unknown error
[140196611750832] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 423, in set_charger
response = await self._connection.setCharging(self.vin, data)
File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1454, in setCharging
return await self._setSkodaAPI('charging', vin, data)
TypeError: _setSkodaAPI() takes 3 positional arguments but 4 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 25, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 525, in handle_execute_script
await script_obj.async_run(msg.get("variables"), context=context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1219, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 353, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 371, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 571, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1492, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1527, in _execute_service
await handler.job.target(service_call)
File "/config/custom_components/skodaconnect/init.py", line 365, in set_current
if await car.set_charger_current(current) is True:
File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 373, in set_charger_current
return await self.set_charger(data)
File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 449, in set_charger
raise SkodaException(f'Failed to execute set charger - {error}')
skodaconnect.exceptions.SkodaException: Failed to execute set charger - _setSkodaAPI() takes 3 positional arguments but 4 were given
The text was updated successfully, but these errors were encountered: