You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ~4/8/2024 any request to calendar_history with a kind=energy does not return expected results. kind=power is working correctly. Is anyone else experiencing this too?
the result set has been changed!
You now get the values for all time intervals (15m) individually as a field. In addition, there are now also the fields:
total_home_usage
total_solar_generation
total_grid_energy_exported
total_battery_charge
total_battery_discharge
plus the global field 'raw_timestamp'
I have rebuilt my query and added up all field values!
Thank you for the reply, Wilkware. seem my main issue was I needed a new refresh token. (seems odd, since other services worked with that token) afterwards I was able to get the data in the new format you described.
Since ~4/8/2024 any request to calendar_history with a kind=energy does not return expected results. kind=power is working correctly. Is anyone else experiencing this too?
Ex:
Request:
https://owner-api.teslamotors.com/api/1/energy_sites/{{SITEID}}/calendar_history?kind=energy&period=day&end_date=....
Response:
{"response": {"serial_number": "","period": "day"}}
The text was updated successfully, but these errors were encountered: