LineofSight
Member
Just did it again and can confirm via Postman that it was successful POST request (response -> result: true). However the app does show 50%.
What does your car show?
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.
Just did it again and can confirm via Postman that it was successful POST request (response -> result: true). However the app does show 50%.
What does your car show?
Well both apps I use are dead on so ... but I did check just in case the car as well. After the API call regardless of the limit set as a parameter the car charge % went to 50 instead of the provided by me 86 etc. Tried 80 etc.
I have never played with these API tokens before, but perhaps the POST command is wrong?
POST https://owner-api.teslamotors.com/api/1/vehicles/XXXXXXXXXXXXXX/command/set_charge_limit?percent=60
This is the current command. The "XXX" is my s_id #. That "?" after "set_charge_limit" does not look right to me. Maybe that is supposed to be a "/" like the other delimiters?
Computers aren't smart. If we make one small input error they cannot figure out what went wrong. GIGO Garbage In, Garbage Out
OK I got it. You ware in the right direction
The API for the set_charge_limit should have a body of:
{
"percent": <YOUR DESIRED % VALUE AS A NUMBER>
}
so the actual POST url looks like this:
https://owner-api.teslamotors.com/api/1/vehicles/20465486075957809/command/set_charge_limit
Thanks @LineofSight and @Akrion for validating that its not just me. Wonder how the Remote S app does it... I tried to set proxy and capture the iPhone traffic but because of SSL pinning, these apps will not work with an SSL proxy...Just did it again and can confirm via Postman that it was successful POST request (response -> result: true). However the app does show 50%.
Doesn't work either unfortunately...OK I got it. You ware in the right direction
The API for the set_charge_limit should have a body of:
{
"percent": <YOUR DESIRED % VALUE AS A NUMBER>
}
so the actual POST url looks like this:
https://owner-api.teslamotors.com/api/1/vehicles/20465486075957809/command/set_charge_limit
Doesn't work either unfortunately...
Works! I forgot to set the content type for body to json in Postman.
Doesn't work either unfortunately...
Edit: Works! I forgot to set the content type for body to json in Postman.
Ask them (nicely) to show you the diagnostics screen so you can verify the uncork took. Based on the data we have so far, the API will only tell you part of the story. But even so, any car with "P3", as far as we can tell, is not uncorked:
JDeck has collected some more data from his Teslafi platform here that does seem to validate that P3 = corked for 75Ds: http://firmware.teslafi.com/uncorked.php
View attachment 256637
Hi Akrion, great video and explanation, thanks!hehe np. Glad I was able to help.
I have a 90D from 2016 facelift.
My API perf_config says P1
Does this mean my car is uncorked, but what does it mean for a 90D?