tronity / homeassistant

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.
https://www.tronity.io
MIT License
25 stars 4 forks source link

Installation instructions #14

Open lubosramo opened 1 year ago

lubosramo commented 1 year ago

Hi, if I unzip downloaded github file, it will create folder homeassistant-main and put all files into it. It is not correct, so all files from that folder need to be moved up one folder. I would recommend either to change zip file content or change instructions for installing.

Also would be nice to update instructions about Client Secret, as is written in this closed issue: https://github.com/tronity/homeassistant/issues/2#issuecomment-1521247958

Thanks for the integration!

viking2010 commented 1 year ago

I have also noticed that Tronity is available in the main Devices and Services\Add Integration section now. When you search for Tronity it appears in the listing as it should, but after it's prompted for the API Client/Secret and Car ID, the integration doesn't load. The files in Github should be populating the custom_components folder with a Tronity directory. It shouldn't have to rely on people downloading the files from here and manually installing. Hopefully this is something that will change soon.

Many thanks

xammmue commented 1 year ago

I installed it using HACS, so if that is available for your home assistant installation that should be an easier way. You just have to add the tronity repository to the custom repositories (HACS -> Integrations -> Custom Repositories), add tronity: to your Home Assistant configuration file, and restart Home Assistant. It should then be possible to add a car by going to Integrations => Add Integration and entering all the required details.

dellock6 commented 1 year ago

I can totally confirm the procedure explained by @xammmue , even more when HACS detects a new commit into the main branch of the code it offers you to update the installation, i just did it yesterday. You see "abdd03ee version is available" or similar as it reads the commit id, instead of a fancy numbering like 0.1 or 0.2 but the effect is the same.

neosdaeh commented 1 year ago

I installed it using HACS, so if that is available for your home assistant installation that should be an easier way. You just have to add the tronity repository to the custom repositories (HACS -> Integrations -> Custom Repositories), add tronity: to your Home Assistant configuration file, and restart Home Assistant. It should then be possible to add a car by going to Integrations => Add Integration and entering all the required details.

Small addition, as not everyone might be familair with adding custom repo's to HACS. You need to add the actual github link. Then everything works as described. And add tronity: to your config yaml file. Reboot HA and then you can add the integration.

pantsmanuk commented 1 year ago

Just to pass along, I was able to switch from "hand install" to HACS by adding the repository and changing configuration.yaml. All the settings from the hand install remained intact after the restart.

gjhill6100 commented 8 months ago

I am not able to get the API Client/Secret and Car ID from: https://app.tronity.tech/apps

The existing TRONITY email and password is not accepted. Not sure how to proceed.