rogro82 / hass-variables

Home Assistant variables component
236 stars 59 forks source link

Unable to import add-on from repository #33

Open jmartnav opened 5 years ago

jmartnav commented 5 years ago

I´m adding repository URL to a new card in hassio/add-on store/Repositories, but the new card adden is not shown. The card shows "unknown" title and I cant´t see the addon. The system log show:

19-09-15 10:08:23 INFO (MainThread) [hassio.store] Load add-ons from store: 60 all - 0 new - 0 remove 19-09-15 10:08:28 INFO (MainThread) [hassio.store.git] Clone add-on https://github.com/rogro82/hass-variables repository 19-09-15 10:08:33 ERROR (MainThread) [hassio.utils.json] Can't read json from /data/addons/git/c6142703/repository.json: [Errno 2] No such file or directory: '/data/addons/git/c6142703/repository.json' 19-09-15 10:08:33 WARNING (MainThread) [hassio.store.data] Can't read repository information from /data/addons/git/c6142703/repository.json 19-09-15 10:08:33 INFO (MainThread) [hassio.store] Load add-ons from store: 60 all - 0 new - 0 remove

I think I´m doing samething wrong. Can you help me?

Thenk you.

ryaske commented 4 years ago

@jmartnav After >2hrs of my time trying to get this working, I found that HACS has to be installed, or so I think. And all we have by default, at least on hass.io (hope you are running the same), is just "add-on store". Which is not HACS.

https://hacs.xyz/docs/installation/prerequisites

=== EDIT Finally got HACS working. There was a commit that applied 2hrs after I downloaded the HACS.zip. I had to redownload, and then it worked. Be patient during the stage after turning on the HACS integration, it will sit there spinning for something like 10 minutes before you are presented with the form to put in your personal github token.

After clicking the new community button on my left sidebar, now I can enable VARIABLE through there without having to add in any custom repository information.

Clearly the documentation for VARIABLE needs to be updated.