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

sync_wake_up Works Fine With One Car But Sometimes Times Out On Another #117

Closed
Haselmaier opened this issue Jan 1, 2023 · 3 comments
Closed

Comments

@Haselmaier
Copy link

Haselmaier commented Jan 1, 2023

One car (mine - 2022 Model Y) tends to handle the sync_wake_up() call just fine. Another Tesla owner who is running my code (another Model Y - pre-2022) and it times out relatively frequently on the sync_wake_up() call.

I believe the timeout can be changed - although I haven't looked into it closely or how to use it.

I'm really more interested in understanding why the difference in behavior. Are there car differences that can cause this? Maybe usage differences (my friend's car doesn't get a ton of use so....for example.....is the longer it's asleep does it take longer to wake it up?).

I'm mostly just curious as to why....although any guidance from someone who has messed with changing timeout would also be of interest.

Thanks.

This is what happened after I added a 'timeout=300' to sync_wake_up. Prior to doing that it would exit with a timeout error.

sc

@Haselmaier Haselmaier changed the title sync_wake_up Works Fine With One Car But (Frequently) Times Out On Another sync_wake_up Works Fine With One Car But Sometimes Times Out On Another Jan 1, 2023
@tdorssers
Copy link
Owner

The exception you are getting is passed from the owner API to TeslaPy, so there is nothing that TeslaPy can do about this: the car has no connection to Hermes, which is a Tesla server or service. This can be caused by bad Wifi/cellular reception. Maybe you can simply retry your connection after 10 minutes or so and see what happens?

@gbizeau
Copy link

gbizeau commented Jan 3, 2023 via email

@Haselmaier
Copy link
Author

Thanks!

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

3 participants