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.
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.
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
Not all items that are presented in the data from the server are already implemented by the connector. Feel free to report interesting findings in your log data in the Discussions section or as an Issue (Enhancement). My time is very limited, so usually new features take some time to get into the library, also because I need to align functionallity between the connectors of all brands.