Tesla Solar API (Unofficial)
GitHubTeslatimdorr
  • Introduction
  • Local Solar System API
    • Authentication
    • Config
    • Customer
    • Generators
    • Installer
    • Meters
    • Networks
    • Operation
    • Powerwalls
    • Site Info
    • Site Master
    • Solars
    • Status
    • System Status
    • System Update Status
    • Troubleshooting
  • Owner Solar System API
    • Authentication
    • Energy Sites
      • Backup Reserve
      • Backup Time Remaining
      • Calendar History
      • History
      • Live Status
      • Rate Tariffs
      • Site Info
      • Site Name
      • Tariff Rate
      • Telemetry History
    • Powerwalls
      • Data
      • History
      • Status
    • More Coming Soon
Powered by GitBook
On this page
  • Contributing
  • Getting Started - Local API
  • Testing
  • Getting Started - Tesla Owner API
  • Coming Soon
  • Thanks

Introduction

NextAuthentication

Last updated 1 year ago

This is an unofficial documentation of the Tesla Solar Local and Tesla Owner REST API.

Contributing

We welcome your contributions! Please feel free to submit with any changes or additions you'd like to make. Your assistance is highly appreciated!

Getting Started - Local API

To begin, set up your Gateway on your local WiFi network by following Tesla's instructions available at:

After successfully connecting the Gateway to your local network, you can retrieve its local IP Address by checking the list of connected devices on your WiFi router.

Once you have obtained the Gateway's local IP Address, try accessing it from your computer's web browser. You should be able to log in just as you did during Tesla's documentation.

Testing

Use the local IP Address and endpoint to get a token that will be used as the Bearer Token for all future requests.

GET https://<local-ip-address>/api/login/Basic

Getting Started - Tesla Owner API

Get a Tesla Owner Access Token () and begin making requests.

Coming Soon

More coming soon.

  • Tesla Solar CLI

  • Additional documentation

Thanks

We are immensely grateful to the dedicated individuals in the community whose work has been instrumental in our journey. Their contributions have proven invaluable, and we extend our deepest appreciation to:

pull requests
Connecting to Tesla Gateway and Powerwall
login
authentication
https://tesla-api.timdorr.com/
https://github.com/vloschiavo/powerwall2