hudsongraeme / tapp-tesla-macos Goto Github PK
View Code? Open in Web Editor NEWMacOS application which allows communication between Tesla vehicles and drivers.
Home Page: http://apps.carspotter.ca
License: MIT License
MacOS application which allows communication between Tesla vehicles and drivers.
Home Page: http://apps.carspotter.ca
License: MIT License
Hi Hudson, yesterday I was trying to get vehicles with my own code (the authentication is ok) and I get this error, today I found you and I tried with your code but I got the same error, do you know why?... I mean, I think the problem is in the API but maybe you know more about this issue... Thanks a lot, I hope you can help me:
Note: the email and password are correct because I enter with this data in https://my.teslamotors.com/user/login
[Request]: GET https://owner-api.teslamotors.com/api/1/vehicles
[Response]: <NSHTTPURLResponse: 0x6000002229e0> { URL: https://owner-api.teslamotors.com/api/1/vehicles } { status code: 401, headers {
"Cache-Control" = "no-store";
Connection = "keep-alive";
"Content-Type" = "application/json";
Date = "Thu, 23 Mar 2017 15:16:23 GMT";
Pragma = "no-cache";
Server = nginx;
Status = "401 Unauthorized";
"Transfer-Encoding" = Identity;
"Www-Authenticate" = "Bearer realm="Doorkeeper", error="invalid_token", error_description="The access token is invalid"";
"X-Content-Type-Options" = nosniff;
"X-Frame-Options" = SAMEORIGIN;
"X-Request-Id" = "263be08b-2a66-487f-a9ae-024bb05cd43b";
"X-Runtime" = "0.012536";
"X-XSS-Protection" = "1; mode=block";
} }
[Data]: 0 bytes
[Result]: FAILURE: responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.inputDataNilOrZeroLength)
[Timeline]: Timeline: { "Request Start Time": 511974983.442, "Initial Response Time": 511974983.660, "Request Completed Time": 511974983.660, "Serialization Completed Time": 511974983.660, "Latency": 0.217 secs, "Request Duration": 0.217 secs, "Serialization Duration": 0.000 secs, "Total Duration": 0.218 secs }
Currently fiddling with userDefaults - going to focus on this for the next release
Due to API changes and general application logic, Version 1.5 is now deprecated. 2.0 is in the making, however it is going to take lots of time to finish because of it's insanity.
One may track 2.0 progress here
I will be releasing a 1.6 build soon, which will incorporate bug fixes related to the API changes.
For some reason, after climate state and charge state updates are reloaded several times each, the app seems to randomly start sending many requests to the Tesla servers. If this happens to you then close the app immediately because this can result in the loss of mobile access to your vehicle.
I'm working on it currently.
only thing is if i install 1,2 it works but if i install r 1,5 is doesn't start ad all.
What am i doing wrong? can you help me ? I have macos 10.13
regards,
Arthur
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.