About the stick

Upgrade slae.sh firmware on Linux

  • Take a screenshot or write down the devices in z2m/zha.
  • Stop z2m service in HA
  • Disconnect from host
  • Plug into linux host

Locate serial interface: ls -al /dev/usb/by-id/usb-Silicon*

export ZIGDEVICE=/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_11_22_33_44_55_66_77_88-if00-port0

mkdir zigbee-upgrade && cd zigbee-upgrade
python3 -m venv --upgrade-deps venv && source ./venv/bin/activate
pip install pyserial intelhex zigpy-znp
wget https://raw.githubusercontent.com/JelmerT/cc2538-bsl/master/cc2538-bsl.py
chmod +x cc2538-bsl.py
wget https://github.com/Koenkk/Z-Stack-firmware/raw/master/coordinator/Z-Stack_3.x.0/bin/CC2652RB_coordinator_20220219.zip
unzip CC2652RB_coordinator_20220219.zip
rm CC2652RB_coordinator_20220219.zip
# Backup nvram
python -m zigpy_znp.tools.nvram_read -o nvram.json $ZIGDEVICE
./cc2538-bsl.py -p $ZIGDEVICE -evw CC2652RB_coordinator_20220219.hex
python -m zigpy_znp.tools.nvram_write -i nvram.json $ZIGDEVICE