Open pgattu opened 5 years ago
I discovered that if I open the Tesla app on my phone, the Tesla node server error disappears. The mobile app woke up the car and Polyglot was able to connect to the Tesla. I would like to create a ISY program that checks the charge status of the Tesla at 9 pm every day... if the charge is below 100 mile range, then I would like Alexa to announce that the car needs to be charged. If charge is over 100 mile range, then I would like Alexa to announce that the car has over 100 miles in charge. If the node server cannot connect to the car unless the Tesla mobile app is open, what benefit does the Tesla node server provide?
In your program, you can use the Wake command, then query the node.
I have the latest version 2.0.0 of the Tesla node server. I am using WAKE command first and then QUERY. I am still seeing error 408 in the log (see below).
2020-01-04 20:59:58 info: NS: WAKE (630853741)
2020-01-04 20:59:58 info: NS: Tesla API: /api/1/vehicles/4301663931289042/wake_up
2020-01-04 20:59:58 info: NS: Reusing existing tokens
2020-01-04 20:59:58 info: NS: Tesla API: /api/1/vehicles/4301663931289042/vehicle_data
2020-01-04 20:59:58 info: NS: Reusing existing tokens
2020-01-04 20:59:59 info: NS: Tesla sleeping and returned error code 408 - use WAKE cmd to wake it up
2020-01-04 20:59:59 info: NS: API ERROR CAUGHT: 408
2020-01-04 20:59:59 info: NS: LET SLEEP (630853741)
2020-01-04 21:03:57 info: NS: LET SLEEP (630853741)
I installed Tesla node server on Polyglot Cloud. I see the following error in the log file. Please help.