This project can no longer obtain tokens as Tesla transitioned to a new OAuth 2.0 gateway a few weeks ago, and token.php now outputs this:
Done. Tokens written to file: token{"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}
The update has been documented here. If anyone is watching this project, it would be terrific to have a fix implemented - this is a great PHP implementation of the API otherwise.
This project can no longer obtain tokens as Tesla transitioned to a new OAuth 2.0 gateway a few weeks ago, and token.php now outputs this:
Done. Tokens written to file: token{"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}The update has been documented here. If anyone is watching this project, it would be terrific to have a fix implemented - this is a great PHP implementation of the API otherwise.