-
Notifications
You must be signed in to change notification settings - Fork 22
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
Operations waiting for MQTT completion events never time out #512
Comments
MQTT is currently down (or Skoda has changed something and it just doesn't work in our integration) so we should not wait for the operation to complete if MQTT is not connected.. |
This has worked, I have seen the debug logs notifiying the completed event, probably around 1.15 |
Is this related to the following log entry?
|
See the same problem: Startup of HA is extremely slow due to SkodaConnect timing out. Logger: homeassistant.bootstrap Setup timed out for bootstrap waiting on {<Task pending name='Task-213' coro=<MySkodaDataUpdateCoordinator._mqtt_connect() running at /config/custom_components/myskoda/coordinator.py:180> wait_for= cb=[set.remove()]>} - moving forward |
What version are you running? If not v1.18.1, please update :-) |
Interesting, it is an older version 1.17.2 - but the update mechanism does not show any newer version. How can I update manually? |
Searching for Updates in HACS forced the new version to appear - will test 1.18.1 |
At least there are no startup problems anymore with 1.18.1. Thanks for the advice :-) |
Describe the bug
Most (probably all) operations (e.g. start/stop charging) will POST the request to the API and then wait for the relevant completion event to be received by MQTT.
However it looks like the API sometimes accepts the POST but then either never completes the operation, or completes it but there is no MQTT event
Is this working in MySkoda app?*
Yes
Latest working release
Never worked
Debug logs
https://github.com/skodaconnect/myskoda/blob/9a02ef84dba1a0cf79e392fe524095cc86fd00b3/myskoda/myskoda.py#L149
https://github.com/skodaconnect/myskoda/blob/9a02ef84dba1a0cf79e392fe524095cc86fd00b3/myskoda/myskoda.py#L122
https://github.com/skodaconnect/myskoda/blob/9a02ef84dba1a0cf79e392fe524095cc86fd00b3/myskoda/mqtt.py#L128
The text was updated successfully, but these errors were encountered: