This is unofficial documentation of the Tesla JSON API used by their iOS and Android apps. It features functionality to monitor and control their vehicle (Models S, 3, X, Y) and power (Powerwall) products. We currently have documentation for their vehicles, but always accept pull requests for improvements and additions. The API for vehicles is organized into 3 primary surfaces. This gem provides a basic wrapper around the API to easily query and command the car remotely. It also provides access to the streaming API and a means to process data coming from it. Gives point-in-time data about the state of the vehicle and basic controls over certain functions of the vehicle. The state and command APIs loosely adhere to the REST standard, but differ in some crucial ways. As a result, you may not be able to use it with many REST tools and libraries out of the box.
Features
- State and commands
- Streaming telemetry
- Autopark ("Summon")
- The underlying protocol is a streaming HTTP API
- Provides JSON objects at regular intervals
- The API for vehicles is organized into 3 primary surfaces