mercenaruss / zigstar_addons

Home Assistant add-ons for Flashing ZigStar Devices
Apache License 2.0
55 stars 3 forks source link

Docker Image #11

Closed boehser-enkel closed 4 months ago

boehser-enkel commented 8 months ago

Hi,

looks very promising. Is it possible that you publish a docker image? I'm running docker and can't use the addon

greetings

alexdelprete commented 8 months ago

It would be useful to have a docker image with relevant options through env vars. I'm thinking to HA Core users, which can't use HA addons, and they manage things in docker, externally to HA.

mercenaruss commented 8 months ago

Hi @alexdelprete @boehser-enkel images are available on github: docker pull ghcr.io/mercenaruss/aarch64-addon-zigstar-cc2652-flasher:0.3.0

https://github.com/mercenaruss/zigstar_addons/pkgs/container/amd64-addon-zigstar-cc2652-flasher

alexdelprete commented 8 months ago

Thanks @mercenaruss. I thought those were specific to HA, that's why I asked.

How would we use that without the HA UI? How do we set options etc., env vars? If you could give an example I would really appreciate it.

mercenaruss commented 8 months ago

Ohhh, i didn't think about this. They are specific to HA Addons,they are build from addon template. Unfortunately dont have any knowledge what will help you on this.

alexdelprete commented 8 months ago

No problem, I found out the flasher utility is easier than setting up the docker image etc. :)

universal-silabs-flasher --device socket://10.1.10.161:6638  --bootloader-baudrate 115200 --ezsp-baudrate 115200 flash --firmware ./20230219_MGM12ncp-uart-sw_7.2.1_2021.gbl --force