Firmware Update ZB-Stick with Raspberry PI

Modified on Fri, 14 Apr, 2023 at 10:19 AM

Für eine deutsche Übersetzung Klicken Sie hier 


This manual shows you how to update the firmware of the ZB-Stick.


A firmware update of the ZB-Stick is always at your own risk. We assume no liability for any loss of data due to damage of the ZB-Stick during or by the update. Please use only the firmware file provided here. This has been tested and approved by us. 


Requirements:

  • POPP ZB-Stick
  • Raspberry Pi 3 or 4
  • Operating system Raspian Buster
  • Putty or similar software for SSH access


Preparation of the Raspberrry Pi

  1. For existing system with current usage.
    • Deactivate the connection between your software (e.g. Home Assistant) and the ZB-Stick


Determine USB port

  1. Determine the USB port to which your ZB-Stick is connected. Use the following command
    dmesg | grep tty

    In diesem Beispiel ist es ttyUSB0


Installation of Python 3


  1. Log in to your Raspberry Pi via SSH.
  2. Update your system to the current state with the following command
    sudo apt update
  3. Now start the installation of Python 3 with the following command
    sudo apt install python3 idle3
    1. Confirm with Y when prompted


Installation des Update Tools

  1. Use the following command to download the latest tool and firmware to your Raspberry PI
    git clone https://github.com/Elelabs/elelabs-zigbee-ezsp-utility.git
    1. Change to the directory
      cd elelabs-zigbee-ezsp-utility
    2. Install the additionally required tools with the following command
      sudo pip3 install -r requirements.txt
    3. Download the firmware with the following command
      sudo wget https://z-wave.freshdesk.com/helpdesk/attachments/80067968923 -O fw.gbl
  2. Test the connection to the ZB-Shield with the following command: (Adjust the COM port) 
     python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyUSB0

Note: If an error is displayed, please check if all programs accessing the ZB-Shield have been closed. Disable Bluetooth and check the interface settings. 


Perform Update 


  1. Start the update with the following command: (Adjust the COM port )
    python3 Elelabs_EzspFwUtility.py flash -f fw.gbl -p /dev/ttyUSB0
    CAUTION! Do not remove the stick before the process is complete. This will damage the ZB-Stick.
  2. Check if the update was successful. To do this, enter the following command 
    (Adjust the COM port )
     sudo python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyUSB0

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article