Could someone please give a simply layperson's explanation of this thread?
Here's a video tutorial that explains fairly well.
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.
Could someone please give a simply layperson's explanation of this thread?
Could someone please give a simply layperson's explanation of this thread? I last programmed a computer using Fortran 4 and punch cards about 40 years ago. Have you folks invented a new app that non programmers can use or do you have to be able to write code to do these things? Not even sure what these things are. I looked up several of the terms, like REST API, in wikipedia, but I can't make heads or tails of what they are.
Thanks from a senior citizen Model S owner.
Has anyone noticed a high frequency of server error responses?
curl -b cookies.txt http:// portal.vn.teslamotors.com/vehicles
Sorry, I know we covered the auth stuff a long time ago, but I just started playing with this. I am able to use /login to get back a cookie file, cookies.txt, with _s_portal_session set. Everything seems successful. But when I try to use it with:
curl -b cookies.txt http://portal.vn.teslamotors.com/vehicles
Then all I get back from the server is a redirection to /login. Anyone have any quesses as to what I'm doing wrong?
curl -b https://portal.vn.teslamotors.com/vehicles
Sorry, I know we covered the auth stuff a long time ago, but I just started playing with this. I am able to use /login to get back a cookie file, cookies.txt, with _s_portal_session set. Everything seems successful. But when I try to use it with:
Then all I get back from the server is a redirection to /login. Anyone have any quesses as to what I'm doing wrong?
https?
Sorry, was using https in the curl command. Just accidentally left it out here. Still having the problem.
Have you looked at your cookie file and made sure that both the session and the _s_portal_session and the user_credentials are being set?
It looks like only _s_portal_session is set. I don't see any reference to user_credentials.
I'm trying the curl commands out and it works fine, but I can't make it start charging.
After sitting a couple of nights in the cold, with only one short errand, it's down from from the standard 241ish charge to 216.
But trying this...
curl -b cookies.txt Portal
...gives me "reason":"charging","result":false}.
So I check the charging state:
{"charging_state":"Complete", [...] "charge_rate":-1.0,"charge_port_door_open":true}
Once the car completes a charge, there is no way (that I know of) to get it to start charging again other than physically unplugging and plugging it in again. I tried to switch to max_range from standard and every combination of stop_charge and start_charge to get mine to top off after a complete standard charge but it wouldn't go.
I think the car is drawing power for maintaining the battery (charge_rate is -1.0) so perhaps it cannot distinguish between charging and charge_complete.
The only work around I can think of is to monitor SOC and stop charging before it completes. Then you can start charging again later if needed.
Try toggling some seemingly unrelated things like climate control, range mode, units (miles <-> km), and active driver profile. Or whichever of those you can change.Once the car completes a charge, there is no way (that I know of) to get it to start charging again other than physically unplugging and plugging it in again.
Try toggling some seemingly unrelated things like climate control, range mode, units (miles <-> km), and active driver profile. Or whichever of those you can change.
Maybe something will trigger what you want.
Sidenote: I don't recommend you toggle the 3G off.
Once the car completes a charge, there is no way (that I know of) to get it to start charging again other than physically unplugging and plugging it in again.
However, if instead of calling /vehicles I change the url to make a command call for a specific vehicle such as /vehicles/my_vehicle_id/commands/charge_state passing the cookies just as I did for /vehicles I get redirected to the sign in.