tdorssers / TeslaPy

A Python module to use the Tesla Motors Owner API
MIT License
374 stars 84 forks source link

looks like tesla have changed battery data #161

Open doubledrat opened 8 months ago

doubledrat commented 8 months ago

as of last night, it seems that tesla is not returning the following battery data (in the UK anyway)

total_pack_energy energy_left

I've tested the new fleet API response, and the information is not in there either

sigh

there is "nameplate_energy" and "percent_charged", so you can sort of calculate the missing information from there, but total_pack_energy was never the same as nameplate_energy

timhawker commented 7 months ago

Yep the change is the same here in New Zealand. Looks like I can no longer calculate battery SoH.

I used to do this, which no longer works:

total_pack_energy = battery['total_pack_energy']
nameplate_energy = battery['nameplate_energy']
pack_soh = (100 / nameplate_energy) * total_pack_energy

If anyone is able to find an API command to get total pack energy, please do share.