-
Notifications
You must be signed in to change notification settings - Fork 100
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
No sleep at all since start of scapping ? is there anything to setup ? #52
Comments
I had the same issue after installing. Merging #48 into my local code has helped - for some reason it's not yet merged into master. Very rarely my car still remains awake for longer periods of time, but mostly it goes into sleep as it should. |
Will be merged when I get time to review it. Few days from now... |
Great ! Thank you. |
Yes merging #48 does now allow me to sleep. But now I don't get any data while it is asleep, which I guess is expected. Maybe we can configure to allow to wake up every once in a while to get some data? |
@CptanPanic Maybe I miss the point, but what's the use case of having data for a sleeping car ? (real question since I did not use the apiscraper a lot yet). |
To check for battery drain, cabin temps, etc. |
When the car goes to sleep, the vehicle_data call is not available (cause your car is asleep and you get a 408 request timeout), so you wouldn't get that data until your car wakes up anyways. The only data available is from the base vehicles call as found here: https://tesla-api.timdorr.com/api-basics/vehicles |
I just installed this 2 days ago. And it seems like this issue is still present on version 2019.5 |
Here to verify that the referred code that @rtega posted is all you need, resolved my issue last night. |
Hi,
Thank you for the nice personal scrapper you write !
I've something that I should have missed, how to let the car sleep ?
The car is parked for more than 17h, but it sis not has gone to sleep and the battery is going low pretty fast (for not doing anything)(up to 1% per hour, but more often 1% per 2 hours)
The logs show always the same loop:
The version running is 2019.5
Any advice ? Thank you
The text was updated successfully, but these errors were encountered: