Comments (2)
Did a little investigation. When you go to tesla.com and look at your vehicle, it gets a different list of options by calling
https://www.tesla.com/teslaaccount/ownership-api/vehicle-details?rn=RN#########&locale=en_US
That gives me the following specs:
[
{
"code": "$MTS07",
"name": "Model S Long Range Plus",
"long_name": "Long Range Plus All-Wheel Drive"
},
{
"code": "$PPSB",
"name": "Deep Blue Metallic",
"long_name": "Deep Blue Metallic"
},
{
"code": "$WTMS",
"name": "19'' Tempest Wheels",
"long_name": "19'' Tempest Wheels"
},
{
"code": "$INB3C",
"name": "Cream Premium Interior with Oak Wood Décor",
"long_name": "Cream Premium Interior with Oak Wood Décor"
},
{
"code": "$APBS",
"name": "Autopilot",
"long_name": "Autopilot"
},
{
"id": "SC04",
"code": "$SC04",
"name": "Pay Per Use Supercharging",
"long_name": "Pay-as-you-go Supercharging"
}
]
If I take those options, and plug them into the compositor, then I get a good image.
Haven't yet figured out how to get it to call the vehicle-details endpoint, since it has a different root URL. Also not sure if the auth token will work with that endpoint.
from teslapy.
This is a known issue, the option codes returned by the owner API are not valid anymore.
The Dutch tesla.com site doesn't show my vehicle. And it doesn't give me the RN, so I can't reproduce this.
You can try to use the access_token of sso_token.
from teslapy.
Related Issues (20)
- 429 on every sync_wake_up() call HOT 3
- last_seen() raises "Timestamp is in the future" error HOT 3
- No longer able to set Powerwall to self_consumption mode HOT 6
- Percentage Charged not updating on get_battery_data()
- Preconditioning Battery
- Authorization broken -> Always getting "Access Denied" HOT 1
- Solar panel power only updates sporadically HOT 2
- Fails to work when run in a daemon process. HOT 2
- 410 error on get_battery_data HOT 15
- 400 Client Error: time_of_use_settings
- latitude and longitude are not in drive_state HOT 3
- Selenium blocked by Tesla HOT 2
- Move to Fleet API and Tesla Vehicle Command SDK HOT 5
- I get an InvalidSchema("No connection adapters were found for 'https://owner-api.teslamotors.com/api/1/vehicles/) Exception when using vehicle.get_vehicle_data() HOT 1
- Powerwall function get_battery_data not working HOT 1
- Not able to login HOT 6
- It seems get_charge_history() API URI is no longer working? Returns 400 HOT 2
- Seems like the teslapy is no longer working with the new Tesla APIs HOT 58
- drive_state does not have latitude and longitude
- shift_state and speed stay None even during driving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslapy.