Container used to update a 700-series Z-Wave controller's firmware
Potentially used in conjunction with the Portainer add-on for HAOS to update a remote or hard-to-reach device, or the Advanced SSH & Web Terminal addon if you like the docker cli better.
Inspired by https://github.com/kpine/zwave-js-server-docker/wiki/700-series-Controller-Firmware-Updates-(Linux)
For Z-Wave at least, this is a whole lot simpler.
docker run -it --rm --privileged kevinpdavid/zwave-update-container:main
Run as root. Double check ttyUSB
first:
ls -la /dev/serial/by-id/usb-*
Then run the actual update:
docker run --rm --device /dev/ttyUSB1:/dev/ttyUSB1 -e FIRMWARE_URL=https://raw.githubusercontent.com/kevin-david/zwave-update-container/main/CC1352P2_CC2652P_launchpad_coordinator_20230507.hex ckware/ti-cc-tool -ewv -p /dev/ttyUSB1 --bootloader-sonoff-usb
Credit:
- https://github.com/git-developer/ti-cc-tool/ (which doesn't work properly downloading files on HAOS)
https://github.com/kpine/zwave-js-server-docker/wiki/USB-Reset