Giter Site home page Giter Site logo

Select Car about python-carnet-client HOT 6 CLOSED

reneboer avatar reneboer commented on June 16, 2024
Select Car

from python-carnet-client.

Comments (6)

reneboer avatar reneboer commented on June 16, 2024

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.

reneboer avatar reneboer commented on June 16, 2024

Hi @JimKnopf1503

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.

JimKnopf1503 avatar JimKnopf1503 commented on June 16, 2024

Hi René!

Thank you for your work! I will try it these weekend.
Burkhard

from python-carnet-client.

JimKnopf1503 avatar JimKnopf1503 commented on June 16, 2024

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.

reneboer avatar reneboer commented on June 16, 2024

Hi Jim,

Thanks for testing this. I will update the master branch later this week.

Cheers Rene

from python-carnet-client.

reneboer avatar reneboer commented on June 16, 2024

This now works. Closing issue.

from python-carnet-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.