tesla-apiscraper
tesla-apiscraper copied to clipboard
"offline" status not handled
Offline status is something that some of the newer firmwares are reporting when in asleep mode (not sure how widespread at the moment). The returned status is "offline", but still respond to wake messages and status polling exactly like it's asleep. For now I've added some basic code that handles this just like sleep, but it seems like this should probably be it's own status handled accordingly. I'm new to the API so maybe others have ideas on what this has meant in the past?
Make a PR, i'll review. From my Understanding "offline" is like deepsleep. To get the car responding again you have to use the wake_up function of the Owner API.
I definitely have to run the "wake_up" function to get it back online. The question is to modify the code to catch and treat it like sleep. Seems to make sense to me if it really is nothing more than a deep sleep mode. I can put in a PR, but I guess the question is should it be tracking completely desperately or just added to the existing sleep checks.