-
Notifications
You must be signed in to change notification settings - Fork 40
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
Updates stop after exception to Volvo servers #265
Comments
I made some progress debuging the problem. I have found that when it stops the mqtt will is activated (availability turns false) I have enabled logging on paho-mqtt and found that it stops comunicating with MQTT server without any volvo server related exception, the volvo data still being updated, just not sent to mqtt. Before it stops I can see the MQTT ping messages. I have added some extra debugs to see if I can find what happens, but apparently the mqtt loop Thread stopped.
|
Found two places where the Exception kills Thread, I will leave my instance running for a week and send a PR if the problem is solved. |
Hello, From 02:44:11 am, logs are stopped. |
@jlpower68 if you want to test my changes they are here : and the docker image here : https://hub.docker.com/repository/docker/ivanfm/volvo2mqtt_testing/tags for now they are working fine, I got some exceptions and the volvo2mqtt keeps running |
Thanks! Please create a PR i will merge! |
@Dielee I'm just testing a bit more to check if it will stay alive without problems and then I will do the PR in few days. |
I have the same like you described in the first post. What I also have is that this happens after a manual "force update". |
Hello, I have it under test for few days and it works fine. Thanks |
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I had a similar problem, I uploaded the package from "ivanf*" and everything works. Communication does not collapse. But when trying to force the air conditioning, this error appears. Dec 04 07:24:12 volvo2mqtt [105] - INFO: Success! Battery Charge Level is supported by your vehicle. |
Describe the bug
In last days sometimes the entities became unavailable sometimes, after checking the logs I found that this happen after connection exceptions .
When I restart the docker container it updates again.
Apparently there are some times when there are exceptions and it keeps updating.
I have started now the container with CONF_debug: true and will update with more logs when happen again
To Reproduce:
Steps to reproduce the behavior:
Unable to reproduce manually, apparently it happens when there is a connection error to the volvo servers
Expected behavior:
The volvo2mqtt should retry and keep updating status
Version info:
Running v1.10.5 on docker with mosquitto server
Logs:
The text was updated successfully, but these errors were encountered: