giuseppecastaldo / ha-addons

Home Assistant Whatsapp Add-on
Apache License 2.0
49 stars 18 forks source link

Use on HA Docker install #8

Closed Chief-T1 closed 1 year ago

Chief-T1 commented 1 year ago

Hi,

I use the HA docker installation and don't have the addon store. Your addon looks really amazing and I would be really keen to use it. Is there a method in which I can install this on the docker install or would this be difficult to implement?

Thanks

chinedu40 commented 1 year ago

I spent some time fixing the error.

I forked @swinster repo, made the change to src/Defaults/baileys-version.json and changed it to "version": [2, 2323, 4]. I then downloaded the zip file and unpacked it on my synology nas drive. I edited the dockerfile to include ghcr.io/home-assistant/amd64-base architecture. I ran "sudo docker build -t whatsapp-ha ." It was built successfully. I then didn't exactly know where the image was stored but turns out running docker on synology 6.2 listed my image on the docker app and i made a container from there. I had to stop swinters/image so i could use the same settings as before but i hope the above helps someone else to fix the issue.

swinster commented 1 year ago

Hey @chinedu40 . I love this comment, "I don’t have the expertise to update".... There is a queue 🤣

I have recently broken my HA, and have just been fixing it tonight. Maybe I can look at this at the weekend.

phit42 commented 5 months ago

Hello, is anybody keeping a how-to on this install somewhere, I am not sure I would be able to re-create it from all the comments? Also, do you think we could keep swinster's fork up-to-date on the recent castaldo commits (including the required standalone docker install changes of course)?