Path to USB Dresden elektronik lost

Hi Guys,

Today I tried to install deconz, additional to ZHA.
It was a bad idea, because my ZHA is not working anymore… even when I uninstall deconz.
The problem is, that the path to the usb stick cannot be found.

Do you have any idea how to solve this problem?

image

All my lights are not available anymore and my wife wants to kill me. :smile:

When I installed deconz, I updated the Phoscon Gateway.
I think that is the reason why it is not working anymore.

Error from Logs:

Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
    self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2193335-if00'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 152, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/zigbee/application.py", line 66, in startup
    await self._api.connect()
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 253, in connect
    self._uart = await zigpy_deconz.uart.connect(self._config, self)
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/uart.py", line 142, in connect
    _, protocol = await serial_asyncio.create_serial_connection(
  File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 445, in create_serial_connection
    serial_instance = serial.serial_for_url(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
    instance.open()
  File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2193335-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2193335-if00'

I found out that in Hardware I cannot see my ttyACM0.
I assume that there might be a problem with my conbee 2 stick and not with HA.

Here you see a screenshot from my supervisor logs.
Am I understanding it correct, that HA is removing the device? Why??

dmesg:

lsusb:
image

ls -lha /dev/tty* (no ttyACM0 found)
+
ls /dev/serial/by-id (Dont know why, but suddenly conbee dresden stick appears)

After restart:

Adding ZHA as new integration:


image

solution found:

The firmware of the conbee 2 was corrupted.
I removed it from Raspy and added it to my Windows USB Slot.
Here the USB slot also lost the connection every 5 seconds.
I downloaded the latest version of Deconz and installed it through windows.

Topic can be closed