I've been building a python script to allow me to schedule charging to begin based on a target completion time. It usually works but cannot be relied on. My flow is to issue the wake_up command, wait 30 seconds, check if car is asleep or online, re-issue the wake_up if it's asleep. Loop until it comes back as online then proceed with other API calls. The car usually wakes up within 2-3 loops, especially when testing.
At night, when I'm in bed and it HAS to work in order to start charging it sometimes works but often fails. My logging shows me 20+ iterations with the API returning "asleep" every time. I've tried building in periods of longer wait times between iterations (5 min.) Last night I started trying to wake the car at 3:12am and it tried until 4:31am when the car's scheduled charging function woke it up (not the API call). Model 3 just wouldn't wake up by API.
Since my code works most of the time I'm unsure what else I can do to wake the car. Question for anybody using anything to automate some API calls (doesn't have to be Python, it could be automate, tasker, Dashboard for Tesla etc) is whether or not you've experienced difficulty waking Model 3 and more importantly did you resolve it?
At night, when I'm in bed and it HAS to work in order to start charging it sometimes works but often fails. My logging shows me 20+ iterations with the API returning "asleep" every time. I've tried building in periods of longer wait times between iterations (5 min.) Last night I started trying to wake the car at 3:12am and it tried until 4:31am when the car's scheduled charging function woke it up (not the API call). Model 3 just wouldn't wake up by API.
Since my code works most of the time I'm unsure what else I can do to wake the car. Question for anybody using anything to automate some API calls (doesn't have to be Python, it could be automate, tasker, Dashboard for Tesla etc) is whether or not you've experienced difficulty waking Model 3 and more importantly did you resolve it?