You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to use the "php-api-tesla". When I run token.php I get the message "Done. Tokens written to file: token..Our servers are waiting for a supercharger spot..". After that I run vehicle.php, and get the message "Tokens are valid 3 months. Yours has expired. You need to generate a new token. Run token.php and vehicle.php now". Probably I need the headers what is stated in the "issues.
I am not familiar with php. Where to put these headers, is it in init.php? Can you show me where to put these header in the files.
Regards Robin
These headers are needed since last week:
User-Agent: Mozilla/5.0 (Linux; Android 9.0.0; VS985 4G Build/LRX21Y; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/58.0.3029.83 Mobile Safari/537.36
X-Tesla-User-Agent: TeslaApp/3.4.4-350/fad4a582e/android/9.0.0
The text was updated successfully, but these errors were encountered: