I have my own data pulling python script running. But the car still takes over 2 hours to go to sleep if I turn off the script.
Also even with script running, the car goes to sleep every time in about 2 minutes when away from home.
Yes the car has strong wifi connection when at home. Attached garage. And that answers the other question, the phone is awayal within 20 feet of the car. Maybe the phone Bluetooth connection is keeping the car from sleeping?
I don't really think that is the cause, one the car finally goes to sleep and I wake it up using the phone app or any other method, it goes back to sleep in about 2 minutes.
The issue only happens when the car is out of the house and returns. I already tried both plugged in and unplugged from the charger.. no difference.