Yeah, you're right. TeslaFi gives the car a 15 minute window to fall asleep. if the other service is still polling the car it won't sleep and when teslaFi checks it will find it still awake and resume polling.
I've got teslaFi and my own polling/logging running so I can synchronise leaving it alone to sleep.
geek -> There are two main parts to the api.
:1: A header/user level which doesn't contact the car(s), but does store the last summary status of each car. This is what TeslaFi queries after the 15 minute period when it's leaving the car to sleep. From this you can tell if the car last said it was asleep, without contacting the car directly
{
"count": 1,
"response": [
{
"id": 123456,
"vin": "123456abcdef",
"id_s": "123456",
"color": null,
"state": "asleep",
"tokens": [
"thisone",
"thatone"
],
"in_service": false,
"vehicle_id": 234567,
"api_version": 6,
"display_name": "Ernie",
"option_codes": "AD15,MDL3,PBSB,RENA,BT37,ID3W,RF3G,S3PB,DRLH,DV2W,W39B,APF0,COUS,BC3B,CH07,PC30,FC3P,FG31,GLFR,HL31,HM31,IL31,LTPB,MR31,FM3B,RS3H,SA3P,STCP,SC04,SU3C,T3CA,TW00,TM00,UT3P,WR00,AU3P,APH3,AF00,ZCST,MI00,CDM0",
"backseat_token": null,
"calendar_enabled": true,
"backseat_token_updated_at": null
}
]
}