homeassistant icon indicating copy to clipboard operation
homeassistant copied to clipboard

Installation instructions

Open lubosramo opened this issue 2 years ago • 6 comments

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!

lubosramo avatar May 14 '23 11:05 lubosramo

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

viking2010 avatar May 14 '23 20:05 viking2010

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.

xammmue avatar May 15 '23 06:05 xammmue

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.

dellock6 avatar May 15 '23 07:05 dellock6

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.

neosdaeh avatar May 15 '23 08:05 neosdaeh

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.

pantsmanuk avatar May 17 '23 17:05 pantsmanuk

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.

gjhill6100 avatar Dec 30 '23 18:12 gjhill6100