timdorr / tesla-api

🚘 A Ruby gem and unofficial documentation of Tesla's JSON API for the Model S, 3, X, and Y.
https://tesla-api.timdorr.com/
MIT License
1.98k stars 532 forks source link

Document toggling Powerwall Storm Watch mode #780

Closed mikecardwell closed 5 days ago

mikecardwell commented 1 week ago

I MITM'd the Tesla app using a custom CA that I loaded onto my iPhone and saw that this is the format of the request that was sent. I then tested it out on my Powerwall 2 by updating the golang lib I'm using to interact with the Tesla API. I have a separate open PR for that here: https://github.com/bogosj/tesla/pull/140

I am likely to make more PR's for other undocumented Powerwall functionality if this PR is accepted.

purcell-lab commented 1 week ago

Also documented here: https://developer.tesla.com/docs/fleet-api#storm_mode

timdorr commented 5 days ago

Thanks!