Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

Backup history detail?

This site may earn commission on affiliate links.
I’ve had my Powerwall about 3 weeks now, and it’s recorded two “events,” one the first day, of 5 seconds (I know when that one was) and one last night of 5 minutes. Is there any more detail (like time) available? I know the APIs seem to be an issue now with the 1.20 software update...

It’s not a big deal, just curious...
 
This would probably come from the server API, rather than the local Powerwall API. I have a back-burner to-do item to spend some time trying to reverse engineer the Powerwall server API. There are definitely calls to retrieve both Backup history and usage history, but it's not clear from the code I'm looking at what data is returned.
 
I’ve had my Powerwall about 3 weeks now, and it’s recorded two “events,” one the first day, of 5 seconds (I know when that one was) and one last night of 5 minutes. Is there any more detail (like time) available? I know the APIs seem to be an issue now with the 1.20 software update...

It’s not a big deal, just curious...
I came upon this post while trying to answer the very same question. I too, would like more detail about the Backup History, like the time of the outage, not just duration. I found api references for the Energy Sites Historical Data on both getpostman and Teslaapi.io, they recommend using this url 'https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/history?kind=energy&period=week', but this only returns the cumulative energy for each day. I GUESSED and tried the undocumented 'kind=backup', and lo and behold, I got this:

{'events': [{'timestamp': '2021-06-01T00:59:35-04:00', 'duration': 305207}, {'timestamp': '2021-05-17T14:33:59-04:00', 'duration': 416379}, {'timestamp': '2021-05-15T19:47:15-04:00', 'duration': 621934}, {'timestamp': '2021-05-05T19:36:19-04:00', 'duration': 335000}, {'timestamp': '2021-04-10T17:41:07-04:00', 'duration': 29792767}, {'timestamp': '2021-03-26T09:33:29-04:00', 'duration': 321139}, {'timestamp': '2021-03-19T08:52:44-04:00', 'duration': 306256}, {'timestamp': '2021-03-17T18:59:09-04:00', 'duration': 329347}, {'timestamp': '2021-02-04T09:12:44-05:00', 'duration': 4862266}, {'timestamp': '2021-01-26T10:57:02-05:00', 'duration': 335096}, {'timestamp': '2021-01-15T18:11:17-05:00', 'duration': 305186}]}

(note: duration is in MILLISECONDS) and the data comports with what I see on my phone app, just better detail.

Hope this helps.