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.

[Home Assistant]Can't passthrough

Featured Replies

Hi!

 

I am a newbie user to Unraid. Was running on Proxmox with Xpenology and a seperate VM in Proxmox for Home Assistant. After trying a bit I decided to switch to Unraid and use Nextcloud for my file management. 

 

This is running fine after being busy all day with restoring backups and such. I also created a VM with Home Assistant using this tutorial; 

 

 


I have 3 USB devices connected to my server. 

- A watermeter

- A zigbee2mqtt stick

- A usb-rj11 connector that goes to my smart electricity meter.

 

I need all 3 of them to connect with Home Assistant. Biggest issue for me now is the Zigbee2mqtt stick.

When I create the VM I can see the device attached;

KhmP447.png

 

When i start the VM with this settings I can start the zigbee2mqtt addon but can't handle anything. Several devices are offline and trying to turn on a smartplug or lightbulb will result in a timeout. I also can't add new devices.

 

When I plug in the watermeter this is also seen as a ch340 serial converter and get's the same id. I figured from this post 

that i can change the xml file to read multiple devices with the same ID. I tried this with the zigbee usb stick but no luck for that because still getting time outs and errors in HA.
 

As a lot of my home is connected with HA so solving this matter is kind of urgent. Can anyone help me out here?

Solved by SimonF

  • Community Expert
14 minutes ago, DutchTee86 said:

Hi!

 

I am a newbie user to Unraid. Was running on Proxmox with Xpenology and a seperate VM in Proxmox for Home Assistant. After trying a bit I decided to switch to Unraid and use Nextcloud for my file management. 

 

This is running fine after being busy all day with restoring backups and such. I also created a VM with Home Assistant using this tutorial; 

 

 


I have 3 USB devices connected to my server. 

- A watermeter

- A zigbee2mqtt stick

- A usb-rj11 connector that goes to my smart electricity meter.

 

I need all 3 of them to connect with Home Assistant. Biggest issue for me now is the Zigbee2mqtt stick.

When I create the VM I can see the device attached;

KhmP447.png

 

When i start the VM with this settings I can start the zigbee2mqtt addon but can't handle anything. Several devices are offline and trying to turn on a smartplug or lightbulb will result in a timeout. I also can't add new devices.

 

When I plug in the watermeter this is also seen as a ch340 serial converter and get's the same id. I figured from this post 

that i can change the xml file to read multiple devices with the same ID. I tried this with the zigbee usb stick but no luck for that because still getting time outs and errors in HA.
 

As a lot of my home is connected with HA so solving this matter is kind of urgent. Can anyone help me out here?

You need to attach as a serial USB connection which you cannot do via the form. Have a look at this thread. My usb manager plugin may help or you can edit the xml.

 

 

  • Author

@SimonF Thank you for the response. I have installed the USB Manager plugin and currently having this as a setting;

J8Hry3j.png

 

On the front it looks like this;

auTAqww.png

 

However I am still getting the same erros in HA.

  • Community Expert
18 minutes ago, DutchTee86 said:

@SimonF Thank you for the response. I have installed the USB Manager plugin and currently having this as a setting;

J8Hry3j.png

 

On the front it looks like this;

auTAqww.png

 

However I am still getting the same erros in HA.

Have you update the dev path  Will be in a similar format as below.

image.pngcontent://com.android.chrome.FileProvider/images/screenshot/17076070866121794045008.jpg

image.pngcontent://com.android.chrome.FileProvider/images/screenshot/170760704725525851731.jpg

  • Author

@SimonF Yes. This is the zigbee2mqtt config;

xhxQVy8.png

 

and this is in hardware section of ha

image.thumb.png.831b80bc07ce3f722b319db39fe4ff18.png

 

 

  • Community Expert
  • Solution
8 hours ago, DutchTee86 said:

@SimonF Thank you for the response. I have installed the USB Manager plugin and currently having this as a setting;

J8Hry3j.png

 

On the front it looks like this;

auTAqww.png

 

However I am still getting the same erros in HA.

The state of the connections should be as below so looks like it is not connected as serial. Are you able to unplug and reconnect the device?

 

image.png

  • Author

Owh man! After getting a good night rest I woke up this morning. Tried another USB port (again) and looked at the settings one more time. And then all of a sudden; my light when on. Bam! 

 

Thank you thank you thank you!

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.