tesla-apiscraper icon indicating copy to clipboard operation
tesla-apiscraper copied to clipboard

"offline" status not handled

Open wishbone1138 opened this issue 5 years ago • 2 comments

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?

wishbone1138 avatar Apr 10 '19 23:04 wishbone1138

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.

lephisto avatar Apr 13 '19 13:04 lephisto

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.

wishbone1138 avatar Apr 14 '19 23:04 wishbone1138