Comments (3)
While the quick fix of 38ff7da probably works, it will show the location icon in the car whenever TeslaPy requests VEHICLE_DATA. IMHO it would be better to create a separate endpoint to specifically retrieve location data.
from teslapy.
The is already a patch for the Elixir library: teslamate-org/teslamate@5058a6f
(so in fact you need to add "?endpoints=location_data" to the url)
from teslapy.
While the quick fix of 38ff7da probably works, it will show the location icon in the car whenever TeslaPy requests VEHICLE_DATA. IMHO it would be better to create a separate endpoint to specifically retrieve location data.
Submitted #153 to implement this suggestion, as well as adding another endpoint/method to get only basic vehicle data without location and config, or the other endpoints as I often find myself needing only the basics. If there's enough need for it, happy to create something more extensible that would allow selective additional endpoints to be queried through another method.
Though, maybe updating the default get_vehicle_data()
may be a better idea. Set it to default to all endpoints, but if options are requested only query basic data and those endpoints perhaps?
Closing for additional testing, will resubmit and update comment.
from teslapy.
Related Issues (20)
- 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
- 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
- looks like tesla have changed battery data HOT 1
- I get "Tesla Vehicle Command Protocol required" when using the command set_charging_amps since today
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.