Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register
  • Want to remove ads? Register an account and login to see fewer ads, and become a Supporting Member to remove almost all ads.
  • Tesla's Supercharger Team was recently laid off. We discuss what this means for the company on today's TMC Podcast streaming live at 1PM PDT. You can watch on X or on YouTube where you can participate in the live chat.

VisibleTesla

This site may earn commission on affiliate links.
How does VT handle the auto lock feature? I don't press the lock button on the fob, but just walk away. VT shows the lock icon in the unlocked position but the car is locked and asleep.

It should show that the car is locked whether it was done manually or automatically. I'll have to check into this on my car when I get back in town. Does anyone else see this behavior?
 
Help for a new user on Windows

Hi All,

A user has contacted me about problems logging in with VisibleTesla. He's on Windows. He can log into the Tesla web site and the mobile app using his email address and password. He confirmed to me that neither his email address nor password contain odd characters that might be causing problems. [Both are now URL encoded by VT, so that shouldn't be a problem anyway.]

The next thing I was going to recommend was executing a few curl commands to try logging in "manually" to see what's going on. However, it does not appear that Windows comes with curl.

Any advice on how a windows user who doesn't use the CMD prompt much can test his ability to login to the site and see the error messages that are returned? I could send him a special version of VT that dumps this, but I'm getting on a plane overseas soon and won't have a chance to do that for a while.

Thanks in advance for any ideas.
 
Hi All,

A user has contacted me about problems logging in with VisibleTesla. He's on Windows. He can log into the Tesla web site and the mobile app using his email address and password. He confirmed to me that neither his email address nor password contain odd characters that might be causing problems. [Both are now URL encoded by VT, so that shouldn't be a problem anyway.]

The next thing I was going to recommend was executing a few curl commands to try logging in "manually" to see what's going on. However, it does not appear that Windows comes with curl.

Any advice on how a windows user who doesn't use the CMD prompt much can test his ability to login to the site and see the error messages that are returned? I could send him a special version of VT that dumps this, but I'm getting on a plane overseas soon and won't have a chance to do that for a while.

Thanks in advance for any ideas.

How about one of the many browser plug-ins for REST testing like Postman and Dev HTTP Client for Chrome or Poster for Firefox? They won't help with advanced stuff that needs cookies but you can test a basic login.

Alternatively another Java app like RESTClient.
 
Last edited:
Anyone running VT in Linux?

I am trying to get it running on a Raspberry Pi.

Loaded Oracle Java 7
sudo apt-get install oracle-java7-jdk

then tried to run VT
java -jar VisibleTesla.Jar

The update popup comes up then I get a bunch of errors...

- - - Updated - - -

Here is what I am up to...

10218702766_322c2424fc_z.jpg


10218586364_7f2e3893a2_z.jpg
 
Hi Chris,

I've done minimal testing with Linux Mint v15. I think others have also. It worked fine last time I tried it. I haven't tried it on my RPi yet and can't read any of the output in your images so I'm afraid I can't help.

Honestly I would be shocked if it worked well. JavaFX (which I'm using) uses resources (CPU and memory) like there is no tomorrow. I'd be happy to be wrong and see it work well. It could be a cool demo. I won't be trying this for a while. I'm on the road for a few weeks and have some other issues to deal with when I get free cycles after work. I would be happy to look at any logs you can send in test form.

Joe
 
contacting car...

Hi, all

I have problems contacting the car, have tried VT on both Mac and Windows in addition to Android app. App is stuck on "Contacting car... May take a few minutes" until it times out, while VT just sits there (no timeout). Been trying for over a week now, so getting desperate! :)

I have tried numerous times to dis- and enable mobile access from within the car and also tried rebooting the screen. Have tried wifi, too, and laptop inside the car to ensure it isn't sleeping. Oh, and charging cable connected and disconnected, but same problem.

When I run VT from command line, after login there are INFO messages about throttling, which I guess is just to inform that VT does not hammer Teslas servers.

How can I confirm where the error is? I'd be happy to try curl calls (I recommend Cygwin on Windows for curl support), or give more details from a verbose run of VT. Or ask Tesla to fix, if so what? I'm in Norway, and as of yet there is no official app for Europe, dunno how/if Tesla will give support? (My DS claimed on delivery that Tesla still "owned" the car for app purposes, and that it could take a couple days for ownership transfer. He has later confirmed this has been done.)

Here's some output from running on command line: VisibleTesla
 
Hello smalahove,

That's really a bummer! VT was able to connect to Tesla and get basic info, but it is stuck trying to get the GUI settings and the vehicle state. After logging in, that's the first thing it does. You're right about the rate limiting. It's trying and retrying to get the data. I see that you have ensured that the car isn't sleeping. That's what I would have guessed.

Looking through your vehicle options I see that it is a European model and is MS02. Everything I've seen to date is MS01. You also have several options I haven't seen before:
  • PK01
  • CW01
  • LP01
  • SP01
VT ignores options it doesn't understand so that shouldn't be the problem. One or more of these may be related to parking sensors. Would you mind positing a complete list of the options on your vehicle so that we might be able to figure out what the four settings above might refer to?

You can try the following curl commands to login and try to get some basic information if you want to do more sleuthing:
Code:
curl  https://portal.vn.teslamotors.com/login
# In the next command, replace foo with your email address and bar with your password
curl -c cStore.txt -b cStore.txt -d "user_session%5Bemail%5D=foo&user_session%5Bpassword%5D=bar" https://portal.vn.teslamotors.com/login
#In the next command, replace 14XXX with the vehicle ID from the previous output.
curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/14XXX/command/gui_settings
# If that hangs, try this:
curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/14XXX/command/vehicle_state

I would say that if you can't log in using the official Tesla app, you should contact ownership and get them to look into this. Until you can login with the Android app, I don't expect VT to succeed.

Please post your results or PM me if you prefer.

Good Luck!
 
Hello smalahove,

That's really a bummer! VT was able to connect to Tesla and get basic info, but it is stuck trying to get the GUI settings and the vehicle state. After logging in, that's the first thing it does. You're right about the rate limiting. It's trying and retrying to get the data. I see that you have ensured that the car isn't sleeping. That's what I would have guessed.

Looking through your vehicle options I see that it is a European model and is MS02. Everything I've seen to date is MS01. You also have several options I haven't seen before:
  • PK01
  • CW01
  • LP01
  • SP01
VT ignores options it doesn't understand so that shouldn't be the problem. One or more of these may be related to parking sensors. Would you mind positing a complete list of the options on your vehicle so that we might be able to figure out what the four settings above might refer to?

The car is a non-plus P85 with all extras except Cold Weather Package and Rear-facing Jump Seats. So yes, European extras like Parking Sensors is included, together with Lighting and Security packages.

You can try the following curl commands to login and try to get some basic information if you want to do more sleuthing:
Code:
curl  https://portal.vn.teslamotors.com/login
# In the next command, replace foo with your email address and bar with your password
curl -c cStore.txt -b cStore.txt -d "user_session%5Bemail%5D=foo&user_session%5Bpassword%5D=bar" https://portal.vn.teslamotors.com/login
#In the next command, replace 14XXX with the vehicle ID from the previous output.
curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/14XXX/command/gui_settings
# If that hangs, try this:
curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/14XXX/command/vehicle_state

Here are my curl calls:
Code:
$ curl  https://portal.vn.teslamotors.com/login      # This gives no feedback on command line
$ curl -c cStore.txt -b cStore.txt -d "user_session%5Bemail%[email protected]&user_session%5Bpassword%5D=mypassword" https://portal.vn.teslamotors.com/login
# Gives the following output:
<html><body>You are being <a href="https://portal.vn.teslamotors.com/">redirected</a>.</body></html>

$ curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/1491xxxxx/command/gui_settings  # ID is vehicle_id returned on successful login
HTTP/1.1 302 Found
Date: Mon, 14 Oct 2013 12:04:03 GMT
Status: 302 Found
Location: https://portal.vn.teslamotors.com/
Content-Type: text/html; charset=utf-8
X-UA-Compatible: IE=Edge,chrome=1
Cache-Control: no-cache, private
Set-Cookie: _s_portal_session=BAh7CUkiFXVzZX<snip>dc2c69fa638f89166b67fda6a; path=/; secure; HttpOnly
X-Request-Id: 4a58e54f<snip>8b3d7
X-Runtime: 0.127983
X-Rack-Cache: miss
Transfer-Encoding: chunked
Server: lighttpd/1.4.30


<html><body>You are being <a href="https://portal.vn.teslamotors.com/">redirected</a>.</body></html>

I would say that if you can't log in using the official Tesla app, you should contact ownership and get them to look into this. Until you can login with the Android app, I don't expect VT to succeed.

Please post your results or PM me if you prefer.

Good Luck!
Yep, I too suspect the problem is at Tesla or maybe firmware in the car. The app is not official for Europe yet (Android at least), but it seems most Norwegian Tesla owners are able to use both app and VT just fine, and any problems they might have had has normally been resolved by reinstalling app or rebooting Tesla screen.

I appreciate you all trying to help me here, would be cool to nail this!
 
There is no security package that I know of. Maybe Performance Seats, or Supercharger?
Model S Design Studio | Tesla Motors
Security Package

Protect your Model S with a motion-activated intrusion alarm backed by an independent battery. This secondary battery is separate from the car's electronics and will remain operational should thieves try to disable the normal 12 volt electrical system.

€ 375
 
It doesn't look good. I'll PM you some other curl commands you can try, but right off the bat you're getting some odd results.

Regarding features, it seems most likely that:

  • PK01 is Parking Sensors Present
  • CW01 is unknown - I would have guessed "Cold Weather Package Present" but that doesn't seemed to correspond.
  • LP01 is Lighting Package Present
  • SP01 is Security Package Present

Joe
 
Hello smalahove,

That's really a bummer! VT was able to connect to Tesla and get basic info, but it is stuck trying to get the GUI settings and the vehicle state. After logging in, that's the first thing it does. You're right about the rate limiting. It's trying and retrying to get the data. I see that you have ensured that the car isn't sleeping. That's what I would have guessed.

Looking through your vehicle options I see that it is a European model and is MS02. Everything I've seen to date is MS01. You also have several options I haven't seen before:
  • PK01
  • CW01
  • LP01
  • SP01
VT ignores options it doesn't understand so that shouldn't be the problem. One or more of these may be related to parking sensors. Would you mind positing a complete list of the options on your vehicle so that we might be able to figure out what the four settings above might refer to?

You can try the following curl commands to login and try to get some basic information if you want to do more sleuthing:
Code:
curl  https://portal.vn.teslamotors.com/login
# In the next command, replace foo with your email address and bar with your password
curl -c cStore.txt -b cStore.txt -d "user_session%5Bemail%5D=foo&user_session%5Bpassword%5D=bar" https://portal.vn.teslamotors.com/login
#In the next command, replace 14XXX with the vehicle ID from the previous output.
curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/14XXX/command/gui_settings
# If that hangs, try this:
curl -b cStore.txt  -i https://portal.vn.teslamotors.com/vehicles/14XXX/command/vehicle_state

I would say that if you can't log in using the official Tesla app, you should contact ownership and get them to look into this. Until you can login with the Android app, I don't expect VT to succeed.

Please post your results or PM me if you prefer.

Good Luck!

Use the three digit "id" NOT the longer "vehicle_id" in the REST commands.
 
Regarding features, it seems most likely that:
  • PK01 is Parking Sensors Present
  • CW01 is unknown - I would have guessed "Cold Weather Package Present" but that doesn't seemed to correspond.
  • LP01 is Lighting Package Present
  • SP01 is Security Package Present
I think that's what I said. ;)
VisibleTesla - Page 29

Can you elaborate on the "doesn't seem to correspond" aspect of CW01? Perhaps if we knew more of what you're seeing in the data we can assist.
 
brianman: Yes, I was summarizing what we (seem) to know.

Earlier in the thread the originator of the question said: "The car is a non-plus P85 with all extras except Cold Weather Package...". If the CW prefix represented the Cold Weather Package then if should be CW00, not CW01. That's what I was trying to say. CW01 doesn't correspond to the user's actual vehicle.

Is there anyone out there who has the Cold Weather Package that would be willing to send their options list? This can be found at the bottom of the Details dialog in VisibleTesla.
 
Earlier in the thread the originator of the question said: "The car is a non-plus P85 with all extras except Cold Weather Package...". If the CW prefix represented the Cold Weather Package then if should be CW00, not CW01. That's what I was trying to say. CW01 doesn't correspond to the user's actual vehicle.
Ah, thanks.

Given...
The car is a non-plus P85 with all extras except Cold Weather Package and Rear-facing Jump Seats. So yes, European extras like Parking Sensors is included, together with Lighting and Security packages.

... I suspect you are referring to smalahove's data linked here (to which you replied with a "CW01" bullet).
VisibleTesla - Page 29

If so, that data includes CW00 not CW01. Are you sure you didn't typo that when listing out the newly discovered values? Perhaps you were looking at CH01 when you typed it?


This seems like it would tidy up this mystery nicely. :)