I tried to diagnose it a bit more.
I disabled Teslamate and the hourly HV clicking stopped. Also the Tesla iOS widget stopped updating the state every 90 minutes (which it did when Teslamate was connected).
Now as soon as I start up Teslamate, the same issue comes back. Hourly clicking noise, the iOS widget updating every ±90 minutes and Teslamate keeps saying my car comes back online after 57 minutes.
Now,
I disabled Teslamate again and tried to monitor what the API did (by using Postman).
So if I do a get on api/1/vehicles, I get a list of vehicles (which is only my Model S). The response also states if my car is online or offline.
Now every hour, my vehicle seems to come into the state 'online'
{
"response": [
{
"id": XXXXX,
"vehicle_id": XXXX,
"vin": "XXXXX",
"display_name": "Charles",
"option_codes": "XXXXX",
"color": null,
"access_type": "OWNER",
"tokens": [
"XXXXX",
"XXXXX"
],
"state": "offline",
"in_service": false,
"id_s": "---",
"calendar_enabled": true,
"api_version": 42,
"backseat_token": null,
"backseat_token_updated_at": null
}
],
"count": 1
}
So the state is 'online' for a maximum of 2 minutes and is offline again.
But.. the car doesn't do the HV clicking and my iOS widget doesn't update as it seems not to retrieve any information from my car (for 'really' waking up the car).
So the problem is, that any connected application, just like Teslamate, sees the online state and immediately starts polling the car for a bit.
But this will actually cycle the car to be online and stream data, which triggers the HV battery again and so on.
Now I don't know what really can be a fix, other than that Teslamate maybe ignore the online state within <120 seconds and if possible only for the cars <2018 with the MCU upgrade, because I think it only affects those cars.
Other note, if I manually trigger the API to wake the car, you hear the click and the car stays in the state online for more than 120 seconds (about 3 minutes at the time I tested it).
Seems like some kind of bug/result in de Tesla API, but if the connected app can ignore the online state for let's say 120 sec, I have the idea that it will behave with less vampire drain.
I also posted it to the Teslamate github.
Car constantly cycles sleep and wake. · Issue #2556 · adriankumpf/teslamate