deCONZ - Official thread

In terms of updating the firmware, I’m slowly putting the pieces together, but making progress.

  • I downloaded the latest deCONZ… .GCF firmware file.
  • I downloaded the latest GCFFlasher and unzipped.
  • I downloaded version 2.12.28 (32 bit that they link to) of the VCP DDriver , however there is no .dll file.
  • I downloaded the latest 32 bit version (2.12.36.4 ) and there is a .dll file in the i386 folder (I just guessed and downloaded this version since the original didnt contain a file called ftd2xx.dll).
  • I copied this ftd2xx.dll into the GCFFlasher folder and replaced the original.
  • I Shift-Clicked inside this folder to click the option of opening the powershell (but not sure how to open as admin).
  • I took out the conbee ii stick for 10 seconds, then inserted and waited 10 seconds.
  • I ran the command .\GCFFlasher -l which requires the extra .\.
  • It prints info on the Conbee.
  • I noticed the instructions online for the firmware reference the “COM” part of the print. Mine says COM3 (instead of COM7 like in the example).
  • I use paste the code from the instructions into a note editor

GCFFlasher -d COM7 -t 60 -f ../firmware/deCONZ_ConBeeII_0x26720700.bin.GCF

I change the COM7 to COM3, and I also add the .\ before the command, so I have
.\GCFFlasher -d COM3 -t 60 -f ../firmware/deCONZ_ConBeeII_0x26720700.bin.GCF

I paste that into the powershell and hit enter and get these results:

PS C:\Users\grays\Downloads\GCFFlasher_Win_V3_17\GCFFlasher_V3_17> .\GCFFlasher -d COM3 -t 60 -f ../firmware/deCONZ_ConBeeII_0x26720700.bin.GCF
GCFFlasher V3_17 (c) dresden elektronik ingenieurtechnik gmbh
error opening firmware file ../firmware/deCONZ_ConBeeII_0x26720700.bin.GCF
PS C:\Users\grays\Downloads\GCFFlasher_Win_V3_17\GCFFlasher_V3_17>

The two things that could be possible is that the .dll file isnt working (since it did not exist in the zip file they recommended, I had to guess and try another one).
OR I am not in admin mode in the powershell, because I did not see an option to run it in that mode when I Shift-Clicked.


UPDATE: I figured out that if you download the link to the 2.12.28 file in the instructions, it does not come with a ftd2xx.dll file, but if you manually find that file in the VCP drivers, the zip file you download DOES include the ftd2xx.dll file.

However, replacing with this version of .dll file did not change the outcome error when I tried the steps again.


UPDATE 2:

I am now thinking that it is having a problem finding this deconz…GCF file. It is just sitting in my downloads folder and isnt in any “/firmware/” directory.
How is the powershell supposed to know where to find this GCF File? Do I have to place it somewhere manually first?

Remove the …/firmware/ in the command

During the night my deconz integration decided to enter a boot loop, and from what i can gather, it seems to think it wants to upgrade the firmware, but the firmware is upgraded, so it errors out and gets restarted by watchdog. How do i resolve this?
Here’s the lines i managed to extract from the docker log:
10:10:54:001 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26660700.bin.GCF
10:10:54:001 GW firmware version: 0x26680700
10:10:54:001 GW firmware version is up to date: 0x26680700
10:10:55:191 ZCL attribute report 0x0017880106490F58 for cluster: 0x0402, ep: 0x02, frame control: 0x08, mfcode: 0x0000
[10:10:59] INFO: Starting VNC server (local/yes)…
2021/11/27 10:10:59 [notice] 314#314: signal 15 (SIGTERM) received from 306, exiting
2021/11/27 10:10:59 [notice] 1441#1441: exiting
2021/11/27 10:10:59 [notice] 1441#1441: exit
In exit
Closing socket listening at 127.0.0.1:5901
2021/11/27 10:10:59 [notice] 314#314: signal 17 (SIGCHLD) received from 1441
2021/11/27 10:10:59 [notice] 314#314: worker process 1441 exited with code 0
2021/11/27 10:10:59 [notice] 314#314: exit

1 Like

Same for me

WebSocket server settings:
  - Listen on 127.0.0.1:5901
  - Flash security policy server
  - Web server. Web root: /usr/share/novnc
  - No SSL/TLS support (no cert file)
  - proxying from 127.0.0.1:5901 to 127.0.0.1:5900
[13:10:51] INFO: deCONZ waiting for VNC to start
[13:10:51] INFO: Starting the deCONZ gateway...
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[13:10:54] INFO: Starting Nginx...
2021/11/27 13:10:54 [notice] 319#319: using the "epoll" event method
2021/11/27 13:10:54 [notice] 319#319: nginx/1.14.2
2021/11/27 13:10:54 [notice] 319#319: OS: Linux 5.10.17-v8
2021/11/27 13:10:54 [notice] 319#319: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2021/11/27 13:10:54 [notice] 319#319: start worker processes
2021/11/27 13:10:54 [notice] 319#319: start worker process 1339
13:10:53:528 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
13:10:53:691 COM: use stable device path /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2421262-if00
13:10:53:752 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2421262-if00 / serialno: DE2421262, ConBee II
13:10:53:753 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
13:10:53:915 parent process s6-supervise
13:10:53:915 gw run mode: docker/hassio
13:10:53:915 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
13:10:53:916 DB sqlite version 3.27.2
13:10:53:918 DB PRAGMA page_count: 53
13:10:53:918 DB PRAGMA page_size: 4096
13:10:53:918 DB PRAGMA freelist_count: 0
13:10:53:918 DB file size 217088 bytes, free pages 0
13:10:53:918 DB PRAGMA user_version: 8
13:10:53:918 DB cleanup
13:10:53:918 DB create temporary views
13:10:53:935 started websocket server at port 8081
13:10:53:938 [INFO] - Found file containing button maps. Parsing data...
13:10:53:948 [INFO] - Button maps loaded.
13:10:53:950 dlg action: Read binding table
13:10:53:950 found node plugin: libde_rest_plugin.so - REST API Plugin
13:10:53:953 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
13:10:59:382 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
13:10:59:512 LightNode 1: Configuration tool 1 added
13:10:59:517 LightNode 18: Soggiorno-Angolo added
13:10:59:523 LightNode 17: Ingresso-secondario added
13:10:59:525 LightNode 8: Cucina-prolunga added
13:10:59:527 LightNode 16: Ingresso-principale added
13:10:59:528 SensorNode 100 set node 0x00158d000678e307
13:10:59:529 SensorNode 101 set node 0x00158d000678e307
13:10:59:529 SensorNode 102 set node 0x00158d000678e307
13:10:59:531 LightNode 3: Soggiorno-principale added
13:10:59:532 SensorNode 92 set node 0x00158d0006c58c56
13:10:59:532 SensorNode 93 set node 0x00158d0006c58c56
13:10:59:535 LightNode 2: Bagnetto-principale added
13:10:59:536 LightNode 15: Consumption awareness device 15 added
13:10:59:536 SensorNode 68 set node 0x0004740000a16612
13:10:59:537 SensorNode 69 set node 0x0004740000a16612
13:10:59:539 LightNode 7: Bagno-specchio added
13:10:59:540 LightNode 11: Camera-principale added
13:10:59:542 SensorNode 112 set node 0x00158d0006694e53
13:10:59:542 SensorNode 113 set node 0x00158d0006694e53
13:10:59:542 SensorNode 114 set node 0x00158d0006694e53
13:10:59:544 LightNode 5: Cucina-principale added
13:10:59:545 SensorNode 106 set node 0x00158d00068b398a
13:10:59:545 SensorNode 107 set node 0x00158d00068b398a
13:10:59:545 SensorNode 108 set node 0x00158d00068b398a
13:10:59:547 LightNode 14: Terrazzo added
13:10:59:549 LightNode 6: Bagno-principale added
13:10:59:550 LightNode 12: Camera-comodino1 added
13:10:59:552 SensorNode 87 set node 0x00158d00068b4074
13:10:59:552 SensorNode 88 set node 0x00158d00068b4074
13:10:59:552 SensorNode 89 set node 0x00158d00068b4074
13:10:59:906 New websocket 172.30.32.1:59950 (state: 3) 
13:11:00:624 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2421262-if00 / serialno: DE2421262, ConBee II
13:11:02:269 Device firmware version 0x26660700 ConBee II
13:11:02:271 unlocked max nodes: 512
13:11:02:289 Device protocol version: 0x010C
13:11:02:345 Current channel 11
13:11:02:349 CTRL got nwk update id 1
13:11:02:352 CTRL ANT_CTRL 0x03
13:11:02:365 Device protocol version: 0x010C
13:11:02:393 CTRL ANT_CTRL 0x03
13:11:02:406 ZCL attribute report 0x0004740000A16612 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 
13:11:02:409 ZCL attribute report 0x0004740000A16612 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 
13:11:02:412 ZCL attribute report 0x0004740000A16612 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 
[13:11:04] INFO: Successfully send discovery information to Home Assistant.
13:11:05:989 drop request to zombie (rx = 0)
13:11:09:765 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26660700.bin.GCF
13:11:09:766 GW firmware version: 0x26660700
13:11:09:766 GW firmware version is up to date: 0x26660700
[13:11:15] INFO: Starting VNC server (local/yes)...
In exit
Closing socket listening at 127.0.0.1:5901
2021/11/27 13:11:15 [notice] 319#319: signal 15 (SIGTERM) received from 309, exiting
2021/11/27 13:11:15 [notice] 1339#1339: exiting
2021/11/27 13:11:15 [notice] 1339#1339: exit
2021/11/27 13:11:15 [notice] 319#319: signal 17 (SIGCHLD) received from 1339
2021/11/27 13:11:15 [notice] 319#319: worker process 1339 exited with code 0
2021/11/27 13:11:15 [notice] 319#319: exit
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

That’s actually the deConz (add-on I presume) application

Thank you!
I was finally able to update the firmware. I’ll need to see if that fixed my deconz situation tomorrow :crossed_fingers:

And to anyone finding this bc they had issues knowing what to do for these steps, you remove that firmware part of the path but you also have to put the GCF file in the GCFFlasher directory.

And you may also need to use the .\ at the start of the shell lines you paste, along some other details I wrote above.

1 Like

Hi,
my HA is sometimes not showing the real value from Deconz.
Here is an example: look at the line Current Temperature Setpoint in Deconz Thermostat Cluster Attributes
Capture d’écran du 2021-12-01 14-07-44
and in HA near Auto in bold Capture d’écran du 2021-12-01 14-07-07
Any Idea ?

The integration reports what is sent from the rest api plugin. Have you looked what is sent from deconz over websocket?

I don’t know what is a websocket ! How can I do that ?

You can enable debug in hass for the deConz integration and then view the logs

When I look in the integration page, there is no debug option for Deconz.
In the Supervisor page, there are some in the Deconz setup page, like dbg_apps=1, dbg_info=1, dbg_zcl=0 and dbg_zdp=0. Should I change all the values to 1 ?
I suppose the log are in Deconz plugin logs, not in Hass log ?
I don’t see somthing interesting in Deconz plugin logs

I found that and add it to my configuration file:

logger:
  default: info
  logs:
    pydeconz: debug
    homeassistant.components.deconz: debug

Somehow my DeCONZ application add-on stopped rebooting itself some hours after my post last saturday. Well… this evening it decided to start rebootlooping again… Is there any way to FIX THIS?!

Best recommended action here would be to post an issue on hass addon githun

I have the same issue as mentioned in another thread (I loose my lights in deconz - #2 by flotteemse), but I thought this might be the best thread to post in.

So I am running HA OS on a Pi 4 with a Conbee II stick and using Deconz. Whenever there is an update to HA (or my Pi loses power by accident) I lose the connection to everything under “Lights” in Phoscon (my lightbulbs and smart plugs). Then I have to search for them again, and add the names for each device again, which is quite annoying. The strange thing is that everything else in Phoscon is still connected - all sensors immediately show up and with the correct names and all. So it is only the devices under “Lights”. I have tried waiting for a couple of hours to see if they would reconnect by themselves, but that didn’t work.

I do not have any logs for it at the moment, but I will of course try to get them when I experience the issue the next time.
But has anyone seen any fix posted for this issue anywhere?
Oh, and by the way the firmware is of course updated :slight_smile:

Iirc this is that when both hass and deconz restart lights take longer to load for deconz and hass requests data before loading is complete. I haven’t noticed this for a long time and I think deconz improved the loading as well. When this happens first thing to try is to see if a reload of the deConz integration solves the issue. Then you can report back

Since the newest Hassio-Update (12.21 / .1) most of my zigbee devices are deactivated. Reloading deconz did not work.
Any ideas?

Too little information to make any asumptions. You need to share more details.

Most of Zigbee devices deactivated; does that mean that some work?
You’re running hassio does that mean that you utilise the Deconz add-on?

What does your log look like?

Yes some work, like the Xiaomi Magic Cube, but none of the Xioami Sensors.
Hue lights do work too.

I’m using the deconz integration in hassio. Nothing (errors or warnings) in the logs.

Ok. Do you have your conbee on an extension cord? That’s typically the most common issue with devices behaving badly is when you don’t have an extension cord