Comments (6)
Hi @JimKnopf1503, I have this on my to-do list. Give me a week or two and I'll ask you to test.
from python-carnet-client.
Can you try the new script in the development branch? To support additional command line options like the vin, the script arguments have changed:
pi@raspberry:~ $ python3 we_connect_client.py -h
usage: we_connect_client.py [-h] -u USER -p PASSWORD [-v VIN]
[-c {startCharge,stopCharge,getCharge,startClimate,stopClimate,getClimate,startWindowMelt,stopWindowMelt,getWindowMelt,getVIN,remoteLock,remoteUnlock}]
[-s SPIN] [-i {0,1,2,3,4,5,6,7,8}] [-d]
Control your Connected VW.
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER Your WE-Connect user id.
-p PASSWORD, --password PASSWORD
Your WE-Connect password.
-v VIN, --vin VIN Your car VIN if more cars on account.
-c {startCharge,stopCharge,getCharge,startClimate,stopClimate,getClimate,startWindowMelt,stopWindowMelt,getWindowMelt,getVIN,remoteLock,remoteUnlock}, --command {startCharge,stopCharge,getCharge,startClimate,stopClimate,getClimate,startWindowMelt,stopWindowMelt,getWindowMelt,getVIN,remoteLock,remoteUnlock}
Command to send.
-s SPIN, --spin SPIN Your WE-Connect s-pin needed for some commands.
-i {0,1,2,3,4,5,6,7,8}, --index {0,1,2,3,4,5,6,7,8}
To get the VIN for the N-th car.
-d, --debug Show debug commands.
if you could try this to get the VIN of the second car:
python we_connect_client.py -u [userID] -p [passwd] -c getVIN -i 1
You should be able to use that VIN value for future requests:
python we_connect_client.py -u [userID] -p [passwd] -v [VIN] -c getCharge
and let me know what you get. I do not have more than one car so I had to assume a few things.
from python-carnet-client.
Hi René!
Thank you for your work! I will try it these weekend.
Burkhard
from python-carnet-client.
Hi René!
I tested the script and it worked fine!
Thank you verry much.
In the dark time of the year I will look, if I can make a C++ version of it.
Thanks a lot!
Burkhard
from python-carnet-client.
Hi Jim,
Thanks for testing this. I will update the master branch later this week.
Cheers Rene
from python-carnet-client.
This now works. Closing issue.
from python-carnet-client.
Related Issues (20)
- Change "climat" to "climate" HOT 3
- Actions with SPIN for combustion engines not authorized HOT 35
- Adding new maintainers to the project HOT 1
- Issue: Unable to get past error: Failed to post portlet page. HOT 3
- Login not working anymore? HOT 1
- External temperature HOT 7
- Add mqtt command for better home automation integration HOT 1
- A way to login via App method is found under JavaScript for ioBroker: https://github.com/TA2k/ioBroker.vw-weconnect/ HOT 2
- SSLError raised recently HOT 5
- I'm getting "Failed to login Failed to post portlet page" with latest version HOT 5
- Sending startRemoteVentilation does not switch the mode from heating to ventilation HOT 3
- InsecureRequestWarning HOT 1
- Login fails at step 6: "code" and "state" cannot be extraced from response HOT 2
- Help to get it work in c++ HOT 4
- Continue when not logged out
- Featur Request: Getting battery State Of Charge (SoC) for eGolf and other EVs HOT 2
- WeConnect ID support? HOT 1
- Changes to Portal HOT 7
- Hi rene, HOT 1
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 python-carnet-client.