jpasqua / VisibleTesla

Java App to monitor and Control the Tesla Model S
125 stars 41 forks source link

App doesn't work well when connecting to sleeping Firmware 5.0 vehicle #2

Closed jpasqua closed 10 years ago

jpasqua commented 11 years ago

When connecting to a sleeping vehicle with Firmware 5.0, the Overview tab and HVAC don't load properly.

I've been unable to verify this as yet. Others have not had the problem with 5.0.

jpasqua commented 11 years ago

Other reports now say it is working fine. Until there is more 5.0 in the field it will be hard to know.

sveip commented 11 years ago

App crashes/hangs when connecting to sleeping vehicle (after pressing Ok to wake it up.)

jpasqua commented 11 years ago

@petersvei: Would you please send me the tesla.log file from a crashed session? Also, which version of the app are you running? Depending on the version, the log file may contain your VIN towards the beginning of the file. Please remove that information.

sveip commented 11 years ago

Hi, I'm running the latest 20.02 version. There isn't much in the log file, I've pasted it beneath this comment (removed id's and vin.)

<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2013-10-11T15:09:58</date>
  <millis>1381496998488</millis>
  <sequence>0</sequence>
  <logger>org.noroomattheinn.tesla.Tesla</logger>
  <level>INFO</level>
  <class>org.noroomattheinn.visibletesla.MainController$DoLogin</class>
  <method>run</method>
  <thread>12</thread>
  <message>Vehicle Info: {"color":null,"display_name":null,"id":ID,"option_codes":"bunchOfOption","state":"asleep","tokens":[],"user_id":ID,"vehicle_id":ID,"vin":"VIN"}</message>
</record>
sveip commented 11 years ago

I've done some more investigation. No matter which button (there are two) I press on the "your car is sleeping"-dialog, java gets unresponsive and I'm prompted by windows to either close or look for a solution online.

jpasqua commented 11 years ago

Hello Peter,

I've created a test version for you to try if you're willing. It can be found here:

https://dl.dropboxusercontent.com/u/7045813/VisibleTesla/2013-10-18.01.zip

Because I don't have a car with more advanced firmware, it is difficult for me to test any of this. The behavior you should see in this version is as follows: If your car is awake it should function as usual If your car is asleep and you choose to let it sleep it should exit gracefully If your car is asleep and you choose to wake it up it will try to access your vehicle repeatedly. If the vehicle can't be awoken, it will display a dialog explaining the situation and exit gracefully. Please let me know your experience if you have a chance to try it.

Thank you, Joe

On Oct 17, 2013, at 11:51 PM, petersvei notifications@github.com wrote:

I've done some more investigation. No matter which button (there are two) I press on the "your car is sleeping"-dialog, java gets unresponsive and I'm prompted by windows to either close or look for a solution online.

— Reply to this email directly or view it on GitHub.

sveip commented 11 years ago

Hi,

Sorry for my late reply. I tried the file tou linked to, but it does not run because of a missing service. See attachements.

2013/10/18 Joe Pasqua notifications@github.com

Hello Peter,

I've created a test version for you to try if you're willing. It can be found here:

https://dl.dropboxusercontent.com/u/7045813/VisibleTesla/2013-10-18.01.zip

Because I don't have a car with more advanced firmware, it is difficult for me to test any of this. The behavior you should see in this version is as follows: If your car is awake it should function as usual If your car is asleep and you choose to let it sleep it should exit gracefully If your car is asleep and you choose to wake it up it will try to access your vehicle repeatedly. If the vehicle can't be awoken, it will display a dialog explaining the situation and exit gracefully. Please let me know your experience if you have a chance to try it.

Thank you, Joe

On Oct 17, 2013, at 11:51 PM, petersvei notifications@github.com wrote:

I've done some more investigation. No matter which button (there are two) I press on the "your car is sleeping"-dialog, java gets unresponsive and I'm prompted by windows to either close or look for a solution online.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/jpasqua/VisibleTesla/issues/2#issuecomment-26608990 .

sveip commented 11 years ago

I got another error, but it launches now, after clicking ok. :)

2013/11/1 Peter Sveistrup petersveistrup@gmail.com

Hi,

Sorry for my late reply. I tried the file tou linked to, but it does not run because of a missing service. See attachements.

2013/10/18 Joe Pasqua notifications@github.com

Hello Peter,

I've created a test version for you to try if you're willing. It can be found here:

https://dl.dropboxusercontent.com/u/7045813/VisibleTesla/2013-10-18.01.zip

Because I don't have a car with more advanced firmware, it is difficult for me to test any of this. The behavior you should see in this version is as follows: If your car is awake it should function as usual If your car is asleep and you choose to let it sleep it should exit gracefully If your car is asleep and you choose to wake it up it will try to access your vehicle repeatedly. If the vehicle can't be awoken, it will display a dialog explaining the situation and exit gracefully. Please let me know your experience if you have a chance to try it.

Thank you, Joe

On Oct 17, 2013, at 11:51 PM, petersvei notifications@github.com wrote:

I've done some more investigation. No matter which button (there are two) I press on the "your car is sleeping"-dialog, java gets unresponsive and I'm prompted by windows to either close or look for a solution online.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/jpasqua/VisibleTesla/issues/2#issuecomment-26608990 .

sveip commented 11 years ago

Sorry for all the spam, when I try to login, nothing happens.

2013/11/1 Peter Sveistrup petersveistrup@gmail.com

I got another error, but it launches now, after clicking ok. :)

2013/11/1 Peter Sveistrup petersveistrup@gmail.com

Hi,

Sorry for my late reply. I tried the file tou linked to, but it does not run because of a missing service. See attachements.

2013/10/18 Joe Pasqua notifications@github.com

Hello Peter,

I've created a test version for you to try if you're willing. It can be found here:

https://dl.dropboxusercontent.com/u/7045813/VisibleTesla/2013-10-18.01.zip

Because I don't have a car with more advanced firmware, it is difficult for me to test any of this. The behavior you should see in this version is as follows: If your car is awake it should function as usual If your car is asleep and you choose to let it sleep it should exit gracefully If your car is asleep and you choose to wake it up it will try to access your vehicle repeatedly. If the vehicle can't be awoken, it will display a dialog explaining the situation and exit gracefully. Please let me know your experience if you have a chance to try it.

Thank you, Joe

On Oct 17, 2013, at 11:51 PM, petersvei notifications@github.com wrote:

I've done some more investigation. No matter which button (there are two) I press on the "your car is sleeping"-dialog, java gets unresponsive and I'm prompted by windows to either close or look for a solution online.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/jpasqua/VisibleTesla/issues/2#issuecomment-26608990 .

jpasqua commented 11 years ago

OK, I finally got a newer firmware version on my car. I went from 4.5 to 5.8. As yet I've had no difficulty waking my car from sleep mode. I will continue to perform tests.

jpasqua commented 10 years ago

Peter: I can't recreate this problem with version 5.8. It takes almost exactly one minute to wake up my car using VisibleTesla and I've done it dozens of times now. I'm going to close this bug, but please let me know if you are still having problems.

sveip commented 10 years ago

Hi Joe,

Thanks for getting back to me. It behaves the same way here, about a minute to react, and no errors (v.23)

However, there is a new version of the iPhone app (first release in Norway) that wakes the car in no time, maybe looking into the communication there might reveal some new calls.

Regards, Peter

2013/11/30 Joe Pasqua notifications@github.com

Peter: I can't recreate this problem with version 5.8. It takes almost exactly one minute to wake up my car using VisibleTesla and I've done it dozens of times now. I'm going to close this bug, but please let me know if you are still having problems.

— Reply to this email directly or view it on GitHubhttps://github.com/jpasqua/VisibleTesla/issues/2#issuecomment-29542402 .

jpasqua commented 10 years ago

Hi Peter,

I want to be sure I’m reading this properly. It sounds like VisibleTesla is able to wake up your sleeping car, and it takes about a minute to do so. On the other hand, the new iPhone app can wake it up immediately (or very quickly). Is that right?

thanks for your help, Joe

On Nov 30, 2013, at 12:15 AM, petersvei notifications@github.com wrote:

Hi Joe,

Thanks for getting back to me. It behaves the same way here, about a minute to react, and no errors (v.23)

However, there is a new version of the iPhone app (first release in Norway) that wakes the car in no time, maybe looking into the communication there might reveal some new calls.

Regards, Peter

2013/11/30 Joe Pasqua notifications@github.com

Peter: I can't recreate this problem with version 5.8. It takes almost exactly one minute to wake up my car using VisibleTesla and I've done it dozens of times now. I'm going to close this bug, but please let me know if you are still having problems.

— Reply to this email directly or view it on GitHubhttps://github.com/jpasqua/VisibleTesla/issues/2#issuecomment-29542402 .

— Reply to this email directly or view it on GitHub.