Skip to content

Update deCONZ manually

Manuel Pietschmann edited this page Sep 5, 2019 · 11 revisions

As this question came up recently, this one should come in handy for some people having trouble to update deCONZ and the firmware via Phoscon App.

Supported platforms

  • RaspBee, ConBee and ConBee II
  • Raspbian Jessie, Stretch and Buster
  • Ubuntu 16.04 LTS 64-Bit PC (AMD64)
  • Ubuntu 18.04 LTS 64-Bit PC (AMD64)
  • Windows 7 and 10

Update in Docker

If you are using marthoc's deCONZ Docker image the steps in this guide won't work.
Please refer to the following guide, which describes how to update the firmware inside Docker.

https://github.com/marthoc/docker-deconz#updating-conbeeraspbee-firmware

Update in Raspbian

Important On Raspberry Pi 4B with a RaspBee you need to update the WiringPi package manually to version 2.52, otherwise the update will fail.

cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
  1. Login to your machine and stop the deCONZ service.

    sudo systemctl stop deconz (Headless version), or
    sudo systemctl stop deconz-gui (GUI version)

  2. Download latest deCONZ firmware. Check https://www.dresden-elektronik.de/rpi/deconz-firmware for the latest release and replace the filename accordingly.

    RaspBee and ConBee
    wget https://www.dresden-elektronik.de/rpi/deconz-firmware/deCONZ_Rpi_0x26330500.bin.GCF

    ConBee II
    wget https://www.dresden-elektronik.de/rpi/deconz-firmware/deCONZ_ConBeeII_0x26490700.bin.GCF

  3. Flash deCONZ firmware. Change the filename according to your download in step 2.

    RaspBee
    sudo GCFFlasher_internal -f deCONZ_Rpi_0x26330500.bin.GCF

    ConBee
    sudo GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26330500.bin.GCF

    ConBee II
    sudo GCFFlasher_internal -d /dev/ttyACM0 -f deCONZ_ConBeeII_0x26490700.bin.GCF

  4. [Optional] Update the deCONZ package as well.

    wget https://www.dresden-elektronik.de/rpi/deconz/beta/deconz-latest-beta.deb
    sudo dpkg -i deconz-latest-beta.deb

  5. Have deCONZ up and running again.

    sudo systemctl start deconz (Headless version), or
    sudo systemctl start deconz-gui (GUI version)

Update in Ubuntu

  1. Login to your machine and stop the deCONZ service.

    sudo systemctl stop deconz (Headless version), or
    sudo systemctl stop deconz-gui (GUI version)

  2. Download latest deCONZ firmware. Check https://www.dresden-elektronik.de/rpi/deconz-firmware for the latest release and replace the filename accordingly.

    ConBee
    wget https://www.dresden-elektronik.de/rpi/deconz-firmware/deCONZ_Rpi_0x26330500.bin.GCF

    ConBee II
    wget https://www.dresden-elektronik.de/rpi/deconz-firmware/deCONZ_ConBeeII_0x26490700.bin.GCF

  3. Flash deCONZ firmware. Change the filename according to your download in step 2.

    ConBee
    sudo GCFFlasher_internal -d 0 -f deCONZ_Rpi_0x26330500.bin.GCF

    ConBee II
    sudo GCFFlasher_internal -d /dev/ttyACM0 -f deCONZ_ConBeeII_0x26490700.bin.GCF

  4. Start deCONZ again.

    sudo systemctl start deconz (Headless version), or
    sudo systemctl start deconz-gui (GUI version)

Update in Windows

  1. Close deCONZ if it is running

  2. Open the deCONZ installation folder in Windows Explorer

    If deCONZ is installed in your user profile, like C:\Users\bob\AppData\Local\deCONZ, you can quickly open the folder with the command prompt:

    • Windows+R

    • %APPDATA%\..\local\deconz\bin

    • press enter

    If the folder doesn't exist deCONZ is probably installed in: C:\Program Files (x86)\deCONZ\bin, navigate here in Windows Explorer.

  3. Open a command prompt in the deCONZ/bin folder In Windows Explorer Shift+Right Click in a free area of the bin folder and select "Open command window here" from the context menu.

  4. Unplug the ConBee or ConBee II for 10 seconds

  5. Plug the ConBee or ConBee II in again and wait 10 seconds

  6. List all available devices and their COM ports GCFFlasher -l

  7. Update the firmware , use the COM port from previous command

    ConBee
    GCFFlasher -d COM9 -f ../firmware/deCONZ_Rpi_0x26330500.bin.GCF

    ConBee II
    GCFFlasher -d COM7 -f ../firmware/deCONZ_ConBeeII_0x26490700.bin.GCF

You can’t perform that action at this time.