You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
Currently in development for TeslaLogger but not ready for public beta yet.
first time I read about Teslalogger, is it better then Teslamate?
Depends ;-)is it better then Teslamate
Thanks, helpt me really quick and easy! Created a Postman collection if anyone is interested, I can consider to share the Postman JSON data so you can Import into your Postman.
/wake_up is the only such endpoint.
The trick is to just keep trying.
Thanks @goRt!
I appreciate your response and support.
I thought Telsa managed the connection from the car but wasn't sure if the change from wifi to cellular impacted the stream. When I'm in my garage, I'm connected to wifi. By the time I'm at the end of my driveway, the car has switched to cellular. I can imagine some delay in reconnecting with Tesla.
It appears that my app never gets connected again when there is a switch from wifi to cellular; that is what I'm attempting to understand/solve.
I usually see the subscribe sent, one data set is streamed (perhaps more depending on what the car is doing), and a disconnect. In my app, I see that pattern while the car sits in the garage. The pattern stops when there is a switch from wifi to cellular. Perhaps I need to wait longer (I'm happy to be patient) but I wondered if other had seen this and had solutions.
Joe
I have not even once gotten the wake_up command to work. How often are people posting to it, and for how long, in order to get this working? Has anyone sniffed the app traffic to verify it's using the exact same thing and what it's frequency is? I've been using postman and just manually mashing the send button for a few minutes with no results. But, if I open my phone app, it wakes up in a few seconds, so I know it's not in "deep" sleep.
When I get a 408 back, I just wait for 15s and then loop back round - take 2-3 attempts
POST https://owner-api.teslamotors.com/api/1/vehicles/61123815190767109/command/wake_up
408
117 ms
Network
Request Headers
User-Agent: Autocharger
Authorization: Bearer !!!!!
Accept: */*
Postman-Token: 2b342346-8ed0-42a4-a5ca-043eebad8875
Host: owner-api.teslamotors.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Request Body
Response Headers
Date: Thu, 07 Jan 2021 05:43:58 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 106
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-cache
X-Request-Id: c37e51be1550b18b9a226a132b7ec050c37e51be1550b18b9a226a132b7ec050
X-Runtime: 0.035559
Strict-Transport-Security: max-age=15724800; includeSubDomains
Response Body
{"response":null,"error":"vehicle unavailable: {:error=>\"vehicle unavailable:\"}","error_description":""}
Can I ask for the exact contents (minus token of course) of your headers? what are you using to send the command? Do you have a basic case using curl or similar that is not implemented inside a larger app?
Here is my command, for reference (copied from Postman Console):
Code:POST https://owner-api.teslamotors.com/api/1/vehicles/61123815190767109/command/wake_up 408 117 ms Network Request Headers User-Agent: Autocharger Authorization: Bearer !!!!! Accept: */* Postman-Token: 2b342346-8ed0-42a4-a5ca-043eebad8875 Host: owner-api.teslamotors.com Accept-Encoding: gzip, deflate, br Connection: keep-alive Request Body Response Headers Date: Thu, 07 Jan 2021 05:43:58 GMT Content-Type: application/json; charset=utf-8 Content-Length: 106 Connection: keep-alive X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Cache-Control: no-cache X-Request-Id: c37e51be1550b18b9a226a132b7ec050c37e51be1550b18b9a226a132b7ec050 X-Runtime: 0.035559 Strict-Transport-Security: max-age=15724800; includeSubDomains Response Body {"response":null,"error":"vehicle unavailable: {:error=>\"vehicle unavailable:\"}","error_description":""}
None of the ones I've tried (both GET and POST) will do so, although they will keep my car awake as seems to be the norm. I just can't wake up my car. Do the other endpoints in fact wake up anyone else's?Don't all the other endpoints wake up the car? (The exceptions are the vehicle list and the streaming API.)
The dev of teslaJS also made a windows app; it asks for "Username" and "Password (or token)". I tried a freshly generated access_token returned from https://owner-api.teslamotors.com/oauth/token, but it just sat there with a loading circle of dots forever. Is there a way to get teslaJS or the Tesla Control Windows app running without supplying the password?I'm not using postman, I'm using teslaJS as the base hacked about by myself and called from node-red
mseminatore/TeslaJS
The dev of teslaJS also made a windows app; it asks for "Username" and "Password (or token)". I tried a freshly generated access_token returned from https://owner-api.teslamotors.com/oauth/token, but it just sat there with a loading circle of dots forever. Is there a way to get teslaJS or the Tesla Control Windows app running without supplying the password?
node
> var token = JSON.stringify({copy and paste entire oauth/token response body here, including curly braces});
undefined [output]
> var fs = require('fs');
undefined [output]
> fs.writeFileSync('.token',token, 'utf8');
undefined [output]
INFO -- request: POST https://owner-api.teslamotors.com/oauth/token
INFO -- response: {"response":"endpoint_deprecated:_please_update_your_app."}
What is the alternative?Bad news bears: The auth endpoint on the Owner API has been deprecated and deactivated:
Thanks for doing this.update the docs for the new auth.tesla.com server
Thanks for doing this.