Commandline script to interact with volkswagencarnet library

Overview

volkswagencarnet-client

command line script to interact with volkswagencarnet library

Table of Contents

General Information

The volkswagencarnet library retrieves statistics about your Volkswagen car from the Volkswagen Carnet online service. Also some actions can be requested via this library. This simple python script allows to use the library via command line and parameters list. In that way it can be used in an easy way e.g. in nodered with the exec node.

Setup

  • Just install the volkswagencarnet library
  • copy/download the script and put it whereever you want to use it from the command line
  • edit the credentials (user email, user password, SPIN) for your myvolkswagen account in the script

Usage

start from command line:

python3 carnet_cli.py 
    
     
     
      
e.g.
python3 carnet_cli.py 
      
        update
python3 carnet_cli.py 
       
         setrefresh python3 carnet_cli.py 
        
          setcharger 
         
           python3 carnet_cli.py 
          
            setchargercurrent <#ampere> python3 carnet_cli.py 
           
             setclimatisationtemp <#temperature> python3 carnet_cli.py 
            
              setclimatisation 
             
               <#temperature> 
              
                python3 carnet_cli.py 
               
                 setwindowheating 
                
                  python3 carnet_cli.py 
                 
                   setlock 
                  
                   " 
                  
                 
                
               
              
             
            
           
          
         
        
       
      
     
    
   

(vin: Vehicle ID, true: without external power; false: with charging cable only)

All output data are printed out in json format

Features

Currently the following actions are implemented:

  • update - get all available data of the car identified by the VIN (from VW backend only)
  • setrefresh - force the vehicle data update directly from the car
  • setcharger - start or stop charging
  • setchargercurrent - set the chargingcurrent
  • setclimatisationtemp - set the targettemperature for climatisation
  • setclimatisation - start or stop climatisation (for auxiliary heater SPIN needed)
  • setwindowheating - start or stop the window heating
  • setlock - lock or unlock your car (only when activated, SPIN needed)

In addition to the volkswagencarnet library the script gets the newest longtermtripstatistics.

Example for usage

Nodered example of course you have to do something in nodered to get such a dashboard ;-)

Acknowledgements

Project Status

It was developed to use the volkswagencarnet library in nodered. All basic (from my point of view) functions are implemented. However I have tested it only with an eGolf. Feel free to use it or improve it for combustion cars or other functionalities available in the volkswagencarnet library. No licence, public domain, no guarantees.

Powerful yet easy command line calculator.

Powerful yet easy command line calculator.

Cruisen 1 Jul 22, 2022
A Tempmail Tool for Terminal and Termux.

A Tempmail Tool for Terminal and Termux.

MAO-COMMUNITY 8 Oct 19, 2022
Textual: a TUI (Text User Interface) framework for Python inspired by modern web development

Textual Textual is a TUI (Text User Interface) framework for Python inspired by

17.1k Jan 04, 2023
inklayers is a command line program that exports layers from an SVG file.

inklayers is a command line program that exports layers from an SVG file. It can be used to create slide shows by editing a single SVG file.

11 Mar 29, 2022
A Python module and command-line utility for converting .ANS format ANSI art to HTML

ansipants A Python module and command-line utility for converting .ANS format ANSI art to HTML. Installation pip install ansipants Command-line usage

4 Oct 16, 2022
A new kind of Progress Bar, with real time throughput, eta and very cool animations!

A new kind of Progress Bar, with real time throughput, eta and very cool animations!

Rogério Sampaio de Almeida 4.1k Jan 08, 2023
Quo is a Python based toolkit for writing Command-Line Interface(CLI) applications.

Quo is a Python based toolkit for writing Command-Line Interface(CLI) applications. Quo is making headway towards composing speedy and orderly CLI applications while forestalling any disappointments

Secretum Inc. 16 Oct 15, 2022
💻VIEN is a command-line tool for managing Python Virtual Environments.

vien VIEN is a command-line tool for managing Python Virtual Environments. It provides one-line shortcuts for: creating and deleting environments runn

Artёm IG 5 Mar 19, 2022
ddgr is a cmdline utility to search DuckDuckGo (html version) from the terminal

ddgr is a cmdline utility to search DuckDuckGo (html version) from the terminal. While googler is extremely popular among cmdline users, in many forums the need of a similar utility for privacy-aware

Piña Colada 2.5k Dec 25, 2022
Trans is a dependency-free CLI for Google Translate

Trans is a dependency-free CLI for Google Translate

11 Jan 04, 2022
Plumbum: Shell Combinators

Plumbum: Shell Combinators Ever wished the compactness of shell scripts be put into a real programming language? Say hello to Plumbum Shell Combinator

Tomer Filiba 2.5k Dec 28, 2022
Python library & console tool for controlling Xiaomi smart appliances

python-miio This library (and its accompanying cli tool) can be used to interface with devices using Xiaomi's miIO and MIoT protocols. Getting started

Teemu R. 2.4k Jan 02, 2023
A Command Line Calculator With Python

CalculadoraPY Usando no Termux apt install python3 apt install git pip3 install termcolor git clone https://github.com/kayke981/CalculadoraPY.git

kayake 5 Jan 30, 2022
Python Command Line Application (CLI) using Typer, SQLModel, Async-PostgrSQL, and FastAPI

pyflycli is a command-line interface application built with Typer that allows you to view flights above your location.

Kevin Zehnder 14 Oct 01, 2022
Helicopter animation in terminal

helicopter-helicopter Helicopter animation in terminal (scroll down for instructions) Why does this exist? It's because of a meme Click for details Se

Wasi Master 7 Mar 14, 2022
A Bot Which Send Automatically Commands To Karuta Hub to Gain it's Currency

A Bot Which Send Automatically Commands To Karuta Hub to Gain it's Currency

HarshalWaykole 1 Feb 09, 2022
stonky is a simple command line dashboard for monitoring stocks.

stonky is a simple command line dashboard for monitoring stocks.

Jessy Williams 228 Dec 14, 2022
A Yahtzee-solving python package and command line tool.

yahtzee A Yahtzee-solving python package and command line tool. The algorithm is mathematically guaranteed to have the best strategy. That is, it maxi

David Merrell 0 Aug 19, 2022
An ZFS administration tool inspired on Midnight commander

ZC - ZFS Commander An ZFS administration tool inspired on Midnight commander Work in Progress Description ZFS Commander is a simple front-end for the

34 Dec 07, 2022
A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

mycli A command line client for MySQL that can do auto-completion and syntax highlighting. HomePage: http://mycli.net Documentation: http://mycli.net/

dbcli 10.7k Jan 07, 2023