The Tronity Integration is a custom integration developed for Home Assistant, designed to enable you to monitor and utilize the data provided by Tronity. By integrating Tronity with Home Assistant, you can easily monitor your vehicle's data and create automations based on it.
- Open HACS
- Select Integrations, then select the 3-dots in the upper-right corner, then select Custom Repositories.
- Put the Reposity URL in the Repository field, then select Integration in the Category dropdown list and click Add.
- Now you can search for Tronity in HACS and install it
- After the installation you need to restart Home Assistent
- Now you can skip Configuration and proceed with Usage
- Download or clone the Tronity Integration to your local machine.
- Navigate to the custom_components directory in your Home Assistant installation directory.
- Create a new directory called tronity.
- Copy the files from the downloaded Tronity Integration to the tronity directory.
- Restart Home Assistant.
- Open your configuration.yaml file in your Home Assistant installation directory.
- Add the following code to the file:
tronity:
- Save the configuration file.
- Restart Home Assistant.
- Navigate to the Setting section and click on Devices & Services.
- Click on the Add Integration button.
- Search for Tronity and select it.
- In order to complete the integration setup, you will need to provide your Tronity client ID, Client Secret, and Vehicle ID. You can find this information on the Tronity Platform website: https://app.tronity.tech/.
- Once the integration is set up, you can add Tronity sensors to your Home Assistant dashboard to monitor your vehicle's data.
To monitor data for multiple vehicles, you can set up multiple instances of Tronity in Home Assistant. Follow the same steps as above for each vehicle you want to monitor. Once you have set up the integrations for all your vehicles, you can add the corresponding Tronity sensors to your dashboard to view the data for each vehicle.
- Navigate to the Setting section and click on Dashboards.
- Click on the Add Dashboard.
- Select your newly created Dashboard.
- Press the three dots on the top right, click on Edit Dashboard and select "Start with an empty dashboard".
- Click the Add Card button and select "Manual Card" from the list of card types and paste the example_dashboard YAML file into the card's configuration text box.
- Customize the configuration for your specific sensors by following the comments in the YAML file.
- Optionally, replace the friendly names and icons in the YAML file with your own preferences.
- Click Save to save the changes to the dashboard.
If you would like to contribute to this custom integration, feel free to submit a pull request with your changes.
If you encounter any issues or have any feedback on this custom integration, please raise an issue on the GitHub repository for this integration.