OSError: Timeout on getting final answer from server. Current state: DELIVERED #190
-
I can't receive the VEHICLE_FINDER because of timeout. Every time I do bimmerconnected vehiclefinder [email protected] mypassword rest_of_world myvim I receive 36 time then DEBUG:bimmer_connected.remote_services:current state if remote service is: DELIVERED 8 time and then OSError: Timeout on getting final answer from server. Current state: DELIVERED and the command stops. Is there any way to change timeout? Thanks!! |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
changed _POLLING_TIMEOUT = 60 now I have an but no data received. |
Beta Was this translation helpful? Give feedback.
-
The timeout issue is a good point, maybe we need to increase it. Could you please measure how long it takes for your vehicle to find it's position (i.e. from starting the service until it is successfully executed)?
|
Beta Was this translation helpful? Give feedback.
-
So there is no way to get gps position? |
Beta Was this translation helpful? Give feedback.
-
The new GPS position is visible when you do If you're using HomeAssistant, the new GPS position will automatically be updated to your |
Beta Was this translation helpful? Give feedback.
-
No, I'm writing some script to tel Alexa where I parked my bmw last night 😊 ok in status response I have Vehicle status: I think this is because I have the 3km restriction and the VEHICLE_FINDER doesn't pass to bmw my current position. (with the BMW-Connect app on my iPhone I can find my car and it near me ). Thanks |
Beta Was this translation helpful? Give feedback.
-
To get the status including the position you need to give you current position (phone position in app context) to the cli status call (see the docs: https://bimmer-connected.readthedocs.io/en/latest/cli.html#status). |
Beta Was this translation helpful? Give feedback.
-
Great! Thank you!
Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Sorry to leave you hanging there for so long. This way you could:
To do so, just install The 120 second timeout will be merged so the released version soon. |
Beta Was this translation helpful? Give feedback.
Sorry to leave you hanging there for so long.
If you planning to build your own script to use with Alexa, I think it is best not to use the
bimmerconnected
commandline but to write your own little Python wrapper script.This way you could:
ExecutionState
dict
and format it in every way you like.To do so, just install
bimmer_connected
via pip and then import the relevant modules to your own script (cli.py
should be a good reference there).The 120 second timeout will be merged so the released version soon.