acon96 / home-llm

A Home Assistant integration & Model to control your smart home using a Local LLM
631 stars 64 forks source link

Addon does not appear in HA addon store #89

Closed Erudition closed 6 months ago

Erudition commented 6 months ago

Describe the bug
After adding the repo, the addon does not appear in the Home assistant addon store.

Expected behavior
Going to Addon Store -> Menu -> Repositories and adding "https://github.com/acon96/home-llm/" should be enough for the addon to appear (I see this repo has a repository.yaml). I have made an addon before (though not without the automated Docker builds) so everything kinda looks okay in this repo, not sure why it won't show up.

Erudition commented 6 months ago

Update: After adding the addon locally, it showed up... in its actual repo in the store, not locally. Weird. However, when I tried to build it, it loaded forever and eventually froze my poor HA device. I had to hard reset it, which unfortunately cost me my data.

Erudition commented 6 months ago

Can we get this addon building docker images with CI, like the HA Addon starter template does automatically?

acon96 commented 6 months ago

The wiped data is concerning and I'm sorry about that. Not sure how that happened. Home Assistant should just be running docker build under the covers. And yeah I can look into setting up github actions to build the image.

Erudition commented 6 months ago

The data missing is probably because of my hard reboot due to the system hanging. I now realize the image takes 20 minutes to build, but when I first hit "install" it spun for so long that I left the page and came back - at which point it wasn't spinning, just an "install" button again. So I hit again. Maybe HA unwisely started a second, parallel build at that point, and with the two of them running it clogged up all system resources and stopped responding. At that point I had to hold the power button down, and maybe the system didn't get a chance to save some database entries or something before power was cut.

Amusingly, when the system came back up, the addon was installed...

Erudition commented 6 months ago

As far as the github actions, you can copy these: https://github.com/home-assistant/addons-example/tree/main/.github/workflows

acon96 commented 6 months ago

closing this issue and moving to the feature request one for pre-built docker images: #93