carconnectivity-connector-volvo 0.1a2
CarConnectivity connector for Volvo services
Requires Python: >=3.9



# CarConnectivity Connector for Volvo Vehicles
[![GitHub sourcecode](https://img.shields.io/badge/Source-GitHub-green)](https://github.com/tillsteinbach/CarConnectivity-connector-volvo/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/tillsteinbach/CarConnectivity-connector-volvo)](https://github.com/tillsteinbach/CarConnectivity-connector-volvo/releases/latest)
[![GitHub](https://img.shields.io/github/license/tillsteinbach/CarConnectivity-connector-volvo)](https://github.com/tillsteinbach/CarConnectivity-connector-volvo/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/tillsteinbach/CarConnectivity-connector-volvo)](https://github.com/tillsteinbach/CarConnectivity-connector-volvo/issues)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/carconnectivity-connector-volvo?label=PyPI%20Downloads)](https://pypi.org/project/carconnectivity-connector-volvo/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/carconnectivity-connector-volvo)](https://pypi.org/project/carconnectivity-connector-volvo/)
[![Donate at PayPal](https://img.shields.io/badge/Donate-PayPal-2997d8)](https://www.paypal.com/donate?hosted_button_id=2BVFF5GJ9SXAJ)
[![Sponsor at Github](https://img.shields.io/badge/Sponsor-GitHub-28a745)](https://github.com/sponsors/tillsteinbach)

[CarConnectivity](https://github.com/tillsteinbach/CarConnectivity) is a python API to connect to various car services. This connector enables the integration of Volvo vehicles through the WeConnect API. Look at [CarConnectivity](https://github.com/tillsteinbach/CarConnectivity) for other supported brands.

## Configuration
In your carconnectivity.json configuration add a section for the volvo connector like this:
```
{
    "carConnectivity": {
        "connectors": [
            {
                "type": "volvo",
                "config": {
                    "vcc_api_key_primary": "d64b33a7067a4c428def9474964", // API Key primary
                    "vcc_api_key_secondary": "de0c63a885ffdac4ccc92d8744905611caf", // API Key secondary
                    "connected_vehicle_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6InhqTzF5SDVmM29WendVeWRVNDJwSzZ0c2d4OF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aS5zcmkiOiJHRl8tN0ZscXhEOEFnSnoxdlRncG1wTi1TTkUuLnZmQ2IuZkRjSkllM0U0c0N4dWxWWWxSWDhrMFhVMSIsInVzZXJOYW1lIjoiZGV2ZWxvcGVydm9sdm9jYXJzY29tQGdtYWlsLmNvbSIsImVtYWlsIjoiZGV2ZWxvcGVydm9sdm9jYXJzY29tQGdtYWlsLmNvbSIsImV4cCI6MTc0MjY1NzQ2MX0.FpiSQ21r_IayMW4OOuGtwaRjeqqfxptnYOHqxQO7lwOJjwlBnefDEeit2BkJg75rOLDrd8sd8sdsdnqC-uL1FnalrctNRfN0tsxtWn-8RmzmhcqbC6ukgRo-LtWUjbkYmeF1KS_JDnJOrTWOKcdiH9594rardL1DtozVNp9EvsVfOf6HK-MAy8FD5ocf1wpoVsUxvvKHyv1FHzNlMP2Qy-iq_qhaTzxs6m5UxhgZVWReqxWvOmAeyPSV5GMD8i_0724x2uAHDPI342yVpyorTKPGX-qKOPTRoMu8o92li5Ea0cigmK7RYiqgb0fm9k4gvf9WTiVX4EgbMiw", //Access token for the location endpoint
                }
            }
        ]
    }
}
```