Conbee ZHA Firmware

I have problem to get Conbee stick work with ZHA integration. I get this message in homeassistant.log, see below.

I have found some posts that says i have to uppgade to latest firmware. When i look at Dresden supportpage for drivers https://www.dresden-elektronik.de/funktechnik/service/download/driver/?L=1#c3952 i only can find a firmware for the raspberry pi hardware.

Any idea where t find the correct firmware to get this to work with ZHA?

2019-03-09 14:18:34 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/root/.homeassistant/deps/lib/python3.6/site-packages/zigpy_deconz/zigbee/application.py”, line 35, in _reset_watchdog
await self._api.write_parameter(NETWORK_PARAMETER[‘watchdog_ttl’][0], 3600)
File “/root/.homeassistant/deps/lib/python3.6/site-packages/zigpy_deconz/api.py”, line 210, in write_parameter
timeout=COMMAND_TIMEOUT
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
Exception: write_parameter, status: 4

Download firmware at https://www.dresden-elektronik.de/rpi/deconz-firmware/deCONZ_Rpi_0x26230500.bin.GCF and flash it with GCFFlasher -d 0 -f deCONZ_Rpi_0x26300500.bin.GCF command. You can run GCFFlasher -l to see what devices are available for -d option. The Bootloader Flash Tool is here https://www.dresden-elektronik.de/funktechnik/service/download/driver/?L=1

Now i have installed the correct firmware, but i still get the same error on startup.

I tried to pair a switch (Ikea) with permit, and i got this message in the logfile.
Any suggestions whats wrong?

2019-03-09 16:34:11 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/root/.homeassistant/deps/lib/python3.6/site-packages/serial_asyncio/__init__.py", line 106, in _read_ready
    self._protocol.data_received(data)
  File "/root/.homeassistant/deps/lib/python3.6/site-packages/zigpy_deconz/uart.py", line 63, in data_received
    self._api.data_received(frame)
  File "/root/.homeassistant/deps/lib/python3.6/site-packages/zigpy_deconz/api.py", line 162, in data_received
    getattr(self, '_handle_%s' % (command, ))(data)
  File "/root/.homeassistant/deps/lib/python3.6/site-packages/zigpy_deconz/api.py", line 251, in _handle_aps_data_indication
    data[16])   # rssi
  File "/root/.homeassistant/deps/lib/python3.6/site-packages/zigpy_deconz/zigbee/application.py", line 138, in handle_rx
    raise Exception("Unsupported address mode in handle_rx: %s" % (src_addr.address_mode))
Exception: Unsupported address mode in handle_rx: 3
2019-03-09 16:34:11 WARNING (MainThread) [zigpy_deconz.zigbee.application] Unexpected transmit confirm for request id 6, Status: 0x00, 6

If you are on the latest HA Release and now that you have upgraded the Conbee it might be time to open an issue…

I made some digging to get enough information to open an issue, i found that my firmware wasńt the lates. When i download from https://www.dresden-elektronik.de/funktechnik/service/download/driver/?L=1 , get an old one.

So now it seems to work with the correct firmware.

Thanks for all help!

You have to download the firmware from https://www.dresden-elektronik.de/rpi/deconz-firmware/ and the latest is the one I specified in my post: deCONZ_Rpi_0x26300500.bin.GCF.

The link https://www.dresden-elektronik.de/funktechnik/service/download/driver/?L=1 is here to download the flasher.

Any idea should it work with this firmware with Raspbee?

image

Below is original write up I did on the Conbee. Phoscon does not always report the newest version… You need to go look for it.

This is the link to the folder where all versions are so save it in case you need it.

[https://www.dresden-elektronik.de/rpi/deconz-firmware/](https://www.dresden-elektronik.de/rpi/deconz-firmware/

The link below points to the specific file.

" I have my Conbee running, integrated with no issue at all. I put in the port and chose deconz for the protocol on the integrations page. Be sure you have the latest firmware by looking in Phoscon. Also Phoscon may not be presenting the most current version available to flash. I am running firmware 0x26300500 and it’s been fine but had to flash manually.
Download firmware at https://www.dresden-elektronik.de/rpi/deconz-firmware/deCONZ_Rpi_0x26230500.bin.GCF and flash it with GCFFlasher -d 0 -f deCONZ_Rpi_0x26300500.bin.GCF command. You can run GCFFlasher -l to see what devices are available for -d option. The Bootloader Flash Tool is here https://www.dresden-elektronik.de/funktechnik/service/download/driver/?L=1

My experience to date which is minimal is my Samsung Motion Sensors did not work in deCONZ but work with the native integration and my Cree Bulbs which did work now do not. There have been some updates and I have not tried the Cree again yet I have them connected to my OSRAM Hub. I have found no device support list for the native ZHA so it’s all a try and see at this time.

Shouldn’t make a difference but probably should have added…
Using Intel NUC, Ubuntu 18.04, Docker and HA 0.88.2

Another edit… should have added I did the flashing on my Windows PC."

Thanks!

I think I am not so comfortable with my skill set :wink: to start this flashing with my RaspBee/Hass.IO.

Maybe I have to be just patient and wait until these things will work with “basic settings” …

Hi @MarVin and thanks for sharing your experience.

I see that the links you shared start with “deCONZ rpi…”, what does it mean rpi (I know Raspberry)?

I have the Conbee stick installed on an Intel NUC with Ubuntu and I use Hassio installed in Docker.
I use the Deconz addon dor Hassio.

My actual firmware is 262F0500 and on this page I see that there should be a new version 26300500.

So, can I use this version and the Bootloader FlashTool for Ubuntu Linux?

Thanks

I’m not sure what the rpi means but you can and should flash 26300500 that I linked to using the proper Bootloader Flashtool. I have not done it in Linux but the instructions for Windows were spot on so I assume the Linux ones are as well.

You can also get help right from the manufacturer if you need it.

The issues I was having were due to not having the most current firmware so unless you upgrade your firmware your issues may never go away and as the code matures may get worse and you end up with a small expensive paperweight. Worse yet if you don’t upgrade you may not get support as the first thing you will usually hear from support is “Upgrade Your Firmware”. I know it can be intimidating but you need to conquer your fear :astonished: I just posted a link to the manufacturer’s GitHub I am sure someone can assist you in how to perform the flash. I am far from any command prompt guru and did it with no issue at all, and I too was somewhat intimidated at first.

Thanks for encouragement!

Actually I am really not in hurry. My main ZHA is running very well with Elelabs Zigbee Shield. I have few test RPIs running on side - one is having this RaspBee for a test.

I just bet one day Conbee and Raspbee will be a great choice for ZHA. I just quickly tested ZHA with my RaspBee but returned back to Deconz addon after bad results with my test.

But Yes, you are absolutely right, I am also a lot intimidated. On the other hand I think I am doing OK as I am just learning to walk here with great support from this amazing community.

I try to hang on anyway. :wink:

One more stupid question about this flashing. As I have a Raspbee running in Hass.IO/HassOS. I wonder is there a way to flash, I see flashing tool is meant to Rasbian - would it work on HassOS?

Maybe I really have to ask help from manufacturer …

I have no experience with anything other than the way I flashed mine that’s why I provided the link to the manufacturer. My understanding is they are very responsive. For me it was easier to install deCONZ on my Windows machine so I could see what version I had and then do the flashing from there.

1 Like

First time I did the same as @MarVin, just plug it in a windows PC to update the firmware.

FYI - I have been working on issues with Conbee using native ZHA Integration not deCONZ. They have me back on firmware 262F0500. If you are not having issues on HA version 0.91.0 and above I say leave well enough alone. If you are try using this firmware.

Ok, so the correct firmware to use with native ZHA is 262F0500?

Yes for Conbee native ZHA the zigpy-deconz library is looking for that version on the original Conbee, that was what I was asked to used by the developers while we have been working on issues with Cree Connected bulbs which the Conbee just does not seem to like. But again if you have the later version and no issues don’t fix what isn’t broken IMHO. I only have my Samsung motion detectors running on it now but it has been flawless.

I will try that firmware and some later ones. I have some Ikea Tradfri devices that i hope will work with ZHA. I will post my results here as soon as i can.