jonnmsft / teslapsmodule Goto Github PK
View Code? Open in Web Editor NEWControl your Tesla vehicle from PowerShell
License: GNU General Public License v2.0
Control your Tesla vehicle from PowerShell
License: GNU General Public License v2.0
When I try to "Connect-Tesla"
I enter my credentials and receive
Where-Object : The input name "id" cannot be resolved to a property. At C:\Program Files\WindowsPowerShell\Modules\Tesla\1.0.2\Tesla.psm1:227 char:35 + $vehicle = $vehicle | Where-Object id -eq $vehicleId + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (@{response=System.Object[]; count=1}:PSObject) [Where-Object], PSArgum entException + FullyQualifiedErrorId : PropertyNotFound,Microsoft.PowerShell.Commands.WhereObjectCommand
Hi
Seems like Tesla have change the authentication for Tesla API.
This is already been discussed here:
https://tesla-api.timdorr.com/api-basics/authentication#get-https-auth-tesla-com-oauth-2-v-3-authorize
Tesla has deprecated the /oauth/token endpoint in favor of using auth.tesla.com
There is something strange going on in this repo because en-us\about_Tesla.help.txt
appears as a file with embedded backslash but on Windows that can't be cloned.
Did you intend for en-us to be a directory with file about_Tesla.help.txt within that?
Hi
Thanks for the script but I see it has been long time since the module have been updated.
Do you have plans to implement the last missing feature like set charging level, roof setting etc.?
Invoke-RestMethod : {"response":null,"error":"Endpoint deprecated: Please update your App.","error_description":""}
At C:\users\bryan\repo\TeslaPSModule\Tesla.psm1:162 char:10
Need to cleanup all the instances of Where-Object usage not doing comparisons in script blocks. This blows up older versions of PoSH:
Starting in Windows PowerShell 3.0, Where-Object adds comparison operators as parameters in a Where-Object command. Unless specified, all operators are case-insensitive. Prior to Windows PowerShell 3.0, the comparison operators in the PowerShell language could be used only in script blocks.
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.