Für eine deutsche Übersetzung Klicken Sie hier 


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


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


Requirements:

  • POPP ZB-Shield
  • 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.
    • Disable the connection between your software (e.g. Home Assistant) and the ZB-Shiled.
  2. When using a newly installed Raspberry Pi
    • Disable Bluetooth as described below


Disable Bluetooth

  1. Log in to your Raspberry Pi via SSH.
  2. Enter the following command to edit the configuration.
    sudo nano/boot/config.txt
    1. Scroll down with the keys and enter the following below the last text.
      1. Raspberry Pi 4

        #Diasble Bluetooth

        dtoverlay=disable-bt

        enable_uart=1

        1. Save with Strg+X
        2. Confirm with Y
        3. Confirm with Return
      2. Raspberry Pi 3

        #Diasble Bluetooth

        dtoverlay=pi3-disable-bt

        enable_uart=1

        1. Save with Strg+X
        2. Confirm with Y
        3. Confirm with Return
  3. Deactivate the shell mode on the serial interface. Enter the following command.
    sudo raspi-config
    1. Choose Interface Option
    2. Choose P6 Serieal Port
    3. Choose NO
    4. Choose YES
    5. Close the menu
  4. Restart the Raspberry Pi to activate the changes. Enter the following command.
    sudo reboot


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 of Update Tool


  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
     python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyAMA0

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.
    python3 Elelabs_EzspFwUtility.py flash -f fw.gbl -p /dev/ttyAMA0

  2. Check if the update was successful. To do this, enter the following command.
     sudo python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyAMA0