Skip to content

Latest commit

 

History

History
83 lines (75 loc) · 3.48 KB

File metadata and controls

83 lines (75 loc) · 3.48 KB

CarConnectivity Connector for Seat and Cupra Vehicles

GitHub sourcecode GitHub release (latest by date) GitHub GitHub issues PyPI - Downloads PyPI - Python Version Donate at PayPal Sponsor at Github

Due to lack of access to a Cupra car the development of this conenctor is currently stuck. If you want to help me with access to your account, please contact me!

CarConnectivity is a python API to connect to various car services. This connector enables the integration of seat and cupra vehicles through the MyCupra API. Look at CarConnectivity for other supported brands.

Configuration

In your carconnectivity.json configuration add a section for the seatcupra connector like this:

{
    "carConnectivity": {
        "connectors": [
            {
                "type": "seatcupra",
                "config": {
                    "brand": "cupra",
                    "username": "test@test.de",
                    "password": "testpassword123"
                }
            }
        ]
    }
}

brand (seat or cupra) defines what login is used. MyCupra or MySeat account. Your credentials will work with both, but you may need to consent again to the terms and conditions when you use the "wrong" brand.

Credentials

If you do not want to provide your username or password inside the configuration you have to create a ".netrc" file at the appropriate location (usually this is your home folder):

# For MyCupra
machine seatcupra
login test@test.de
password testpassword123

In this case the configuration needs to look like this:

{
    "carConnectivity": {
        "connectors": [
            {
                "type": "seatcupra",
                "config": {
                }
            }
        ]
    }
}

You can also provide the location of the netrc file in the configuration.

{
    "carConnectivity": {
        "connectors": [
            {
                "type": "seatcupra",
                "config": {
                    "netrc": "/some/path/on/your/filesystem"
                }
            }
        ]
    }
}

The optional S-PIN needed for some commands can be provided in the account section of the netrc:

# For MyCupra
machine seatcupra
login test@test.de
password testpassword123
account 1234