Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Passthrough of ConBee II Zigbee USB Gateway to Home Assistant Virtual Machine

Featured Replies

On 10/19/2023 at 12:28 AM, Belcraig said:

For anyone else running though this and struggling like i did, here are the Basic errors i made spelt out. in the hope it will help someone, or me if i ever need to go though this again in the future.

After spending several hours going through this forum and some home assistant ones - i undid everyting and restarted from scrach and found a basic error/assumption i had made on unraid that solved my issue.

 

I updated the conbee 2 firmware folling this - Conbee Firmware update

(this is the only change i didn't roll back.)

 

i plugged the conbee stick into a USB extension cable (2m) and moved it away from other elecrtical devices.

UNRAID:

image.png.2c65145288eaa2861af2472ac54e15df.png

in USB Manager - this is were my basic mistake happened...

 

image.thumb.png.2283eabf2b09af0ba2687ba68b8a54cf.png

 

i mapped the device NOT the port by clicking on the monitor not the usb symbol. -previously i was mapping the port instead of the device.

image.png.8fe6ac08d43e917d8b5da0fcd749e1c2.png

Made sure connect as serial only was selected, powered up the VM. USB manager showed "connected(Serial).

 

in HA: Version 2023.10.3 latest at time of writing.

HA Did not detect the conbee stick as being connected - attaching the via the port It was detecting it. - but failing

 

Settings --> System --> Hardware -->all Harware.

 

the stick now shows as

image.png.32026ff9ba65b30c640a3b2a50818965.png

dont exactly know why but hey ho..

image.thumb.png.0feb5e4982091616f4881a5e3c9e08c0.png

 

going back to device and services and adding the integration Zigbee home automation, and follwoing the promts set a new network up for me without any problems.

 

Hope this helps someone or future me...

 

 

 

 

 

I think I have followed your instructions to the letter. This is the result in HA
image.thumb.png.94c8c7c572ce8f1566598332cdeb715a.png

 

But when I try to reconfigure my antenna
image.png.a07d3d1efbfe9d4aafc3ba22636758a6.png

path:

/dev/serial/by-id/usb-QEMU_QEMU_USB_SERIAL_1-0000:00:07.7-4-if00-port0

 

And this is the usb manger:
image.thumb.png.e071c4cd373b3bd4cd1f0a3a35a4ff93.png

 

Anything I could be missing? I would hate to have to reset the entire network.

 

 

Errors when trying to setup:
 

2024-04-12 08:56:33.369 DEBUG (MainThread) [zigpy.application] Failed to probe with config {'path': '/dev/serial/by-id/usb-QEMU_QEMU_USB_SERIAL_1-0000:00:07.7-4-if00-port0', 'baudrate': 38400, 'flow_control': 'hardware'}
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 589, in _command
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 631, in probe
    await app.connect()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 97, in connect
    await api.connect()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 466, in connect
    await self.version()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 813, in version
    self._protocol_version = await self.read_parameter(
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 832, in read_parameter
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 588, in _command
    async with asyncio_timeout(COMMAND_TIMEOUT):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

 

Edited by Todilo

  • Replies 106
  • Views 60.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • The latest release of my USB Manager plugin now supports Serial USB mappings when the VM Starts. I am still working on hotplug when the device is connected.   See this post for screen shots.

  • chris_netsmart
    chris_netsmart

    @SimonF  it looks to be OK, I haven't tested any of my devices at the moment, as I have few that are in some interesting places,  but one I had removed that the <hostdev> code and added the Zigb

  • After reverting back to 6.9.2 and using the "USB Manager" plugin, mine has been really stable even through HASS VM reboots.  Make sure the VM config itself is not set to auto mount the USB though and

Posted Images

  • Community Expert
7 hours ago, Todilo said:

I think I have followed your instructions to the letter. This is the result in HA
image.thumb.png.94c8c7c572ce8f1566598332cdeb715a.png

 

But when I try to reconfigure my antenna
image.png.a07d3d1efbfe9d4aafc3ba22636758a6.png

path:

/dev/serial/by-id/usb-QEMU_QEMU_USB_SERIAL_1-0000:00:07.7-4-if00-port0

 

And this is the usb manger:
image.thumb.png.e071c4cd373b3bd4cd1f0a3a35a4ff93.png

 

Anything I could be missing? I would hate to have to reset the entire network.

 

 

Errors when trying to setup:
 

2024-04-12 08:56:33.369 DEBUG (MainThread) [zigpy.application] Failed to probe with config {'path': '/dev/serial/by-id/usb-QEMU_QEMU_USB_SERIAL_1-0000:00:07.7-4-if00-port0', 'baudrate': 38400, 'flow_control': 'hardware'}
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 589, in _command
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 631, in probe
    await app.connect()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 97, in connect
    await api.connect()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 466, in connect
    await self.version()
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 813, in version
    self._protocol_version = await self.read_parameter(
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 832, in read_parameter
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 588, in _command
    async with asyncio_timeout(COMMAND_TIMEOUT):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

 

Looks to be ok to me. I would turn of start/resume VM as you will be unlikely to need it.

 

Which USB model are you using in the VM

16 hours ago, SimonF said:

Looks to be ok to me. I would turn of start/resume VM as you will be unlikely to need it.

 

Which USB model are you using in the VM

USB model. The stick. It is a conbee II stick. I am beginning to wonder if the stick itself is non-functional. 

  • Community Expert
6 minutes ago, Todilo said:

USB model. The stick. It is a conbee II stick. I am beginning to wonder if the stick itself is non-functional. 

No the usb controller in the VM Template. I think it only works with USB2.

 

image.png

is it plugged directly into the computer? i know mine didnt work until i put it on a 2m extension cord some distance away.

Any news on that one? having the exact same Situation as you @Todilo

 

1 hour ago, Maki said:

Any news on that one? having the exact same Situation as you @Todilo

 

Unfortunately I gave up. I don't know if I accidently bricked it while trying to update firmware but I just could not get it to work. Instead I bought a new stick. A skyconnect and did similar procedure as above and it worked straight away! 
 

Don't know if it is the ZHA improvement during the last year or the new stick but including devices was faster and smoother than I had previously experienced.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.