Hi
I’ve just bought Z-PI7 HAT for Raspberry Pi 4. It states that I need to upgrade the firmware.
I have some struggles with the firmware upgrade:
-
I cannot disable the protection mode of the SSH, I need to do this to run the firmware upgrade, I’ve addressed that issue here:
Home Assistant Community Add-on: SSH & Web Terminal - #546 by Haraldhj1970 -
When 1 is solved, I believe I miss information about how to run the script on the HA OS.
What the firmware upgrade instruction says is the following:
(700 series Controller Firmware Updates (Linux) · kpine/zwave-js-server-docker Wiki · GitHub)
-Run the `zfw-update.sh` script with the appropriate options. Use `bash zfw-update.sh -h` for help.
update /dev/ttyUSB0 with upload path /tmp/fw
bash zfw-update.sh
update /dev/ttyACM0 with upload path $HOME/fw
bash zfw-update.sh -d /dev/ttyACM0 -f $HOME/fw
In my case the option -d should be:
-d /dev/ttyAMA0
Since this is the serial port where the z-pi7 is setup.
My question is what should I put on the -f option?
When I run the bash zfw-update.sh with -f $HOME/fw I get the error ‘minicom must be installed’.
The upgrade script says the following:
-f Optional default upload directory for minicom. Also set
with environment variable ZFWU_FW_DIR.
[default: ${DEFAULT_FW_DIR}]