Zigbee2mqtt container does not show usb passthrough #1388
Replies: 38 comments 7 replies
-
I do not believe it is an issue with the script. I performed a clean installation, and everything appears to be functioning correctly.
Proxmox Shell
Zigbee2mqtt LXC Console
|
Beta Was this translation helpful? Give feedback.
-
Run this command |
Beta Was this translation helpful? Give feedback.
-
root@zigbee2mqtt:~# dpkg -s usbutils Not installed so I installed them ... root@zigbee2mqtt: Then ran lsusb: root@zigbee2mqtt: |
Beta Was this translation helpful? Give feedback.
-
I wanted the command run in the Proxmox shell. |
Beta Was this translation helpful? Give feedback.
-
What does |
Beta Was this translation helpful? Give feedback.
-
Ok sorry ... here you go ... root@nucpve: |
Beta Was this translation helpful? Give feedback.
-
sorry about the strikethrough ???? |
Beta Was this translation helpful? Give feedback.
-
In proxmox pve: root@nucpve: In the lxc : |
Beta Was this translation helpful? Give feedback.
-
This directory is typically created when you have USB serial devices connected to your system. If the USB serial device is recognized using the command |
Beta Was this translation helpful? Give feedback.
-
Ok, did that and rebooted the lxc. Result: THANK YOU for helping me sort this out. I saw I am not the only one with this issue btw ... |
Beta Was this translation helpful? Give feedback.
-
Did you run |
Beta Was this translation helpful? Give feedback.
-
Lxc console …
On 3 May 2023, at 19:31, tteckster ***@***.***> wrote:
Did you run mkdir -p /dev/serial/by-id in the Proxmox Shell or LXC console?
—
Reply to this email directly, view it on GitHub<#1385 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACGJZ76RI77LPVGTZYFFKKLXEKI6JANCNFSM6AAAAAAXUU77RA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Run it in the Proxmox Shell |
Beta Was this translation helpful? Give feedback.
-
Just did ... and rebooted the lxc as well. Same result though ... root@zigbee2mqtt: |
Beta Was this translation helpful? Give feedback.
-
Unplug and plug back in the USB stick, and run |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This is my current config : But still : |
Beta Was this translation helpful? Give feedback.
-
Your
|
Beta Was this translation helpful? Give feedback.
-
Corrected (pasted your file and changed with my data). Still get the same error. Checked the Zigbee2mqtt documentation for the specific error "Error: Resource temporarily unavailable Cannot lock port So did : ls -l /proc/[0-9]/fd/ |grep /dev/ttyACM1 No processes or programs shown though ... |
Beta Was this translation helpful? Give feedback.
-
did you uncomment |
Beta Was this translation helpful? Give feedback.
-
Also did a reboot to make sure nothing is occupying the port ... |
Beta Was this translation helpful? Give feedback.
-
Have you used this device before? |
Beta Was this translation helpful? Give feedback.
-
No it's brand new. AFAIK it is not the ezsp model but the Sonoff Zigbee 3.0 USB Dongle Plus My HASS is using a Conbee II but my goal was to move Zigbee2mqtt out of HASS and use the better Sonoff stick. |
Beta Was this translation helpful? Give feedback.
-
Check for a It states |
Beta Was this translation helpful? Give feedback.
-
Just wanted to let you know that there's nothing wrong with your script. The issue lies with the FW of the dongle in combination with the version of Zigbee2mqtt apparently and/or the passthrough of the USB port(s) to the LXC. I have upgraded the firmware of the dongle (ncp-uart-sw_6.10.3_115200.gbl) and created a new wm with the latest build of HASS OS and the latest version of Zigbee2mqtt ( 1.30.4-1) and here it works perfectly. So ... what is still the issue with the lxc created by the script ? Again thanks for all your support ! |
Beta Was this translation helpful? Give feedback.
-
Ok so now you have 3 options ....
First of all there was a real issue with the USB pass through. Solved by what I described above. Secondly last status was I always got this error "Connection not initialized" right ? Here we go .... (RED CHEEKS) THAT WAS BECAUSE ZIGBEE2MQTT WAS ALREADY RUNNING SUCCESSFULLY !!!!!!! I never though of checking via the URL as I saw this error and assumed (oh dear) it was failing to start ! Could you possibly forgive me ? |
Beta Was this translation helpful? Give feedback.
-
Sorry to re-open a closed discussion, but im getting a similar issue. Related to exactly the same dongle (ZBDongle-E). I was having the issue that it could not lock the port. However this has been fixed, but instead now i get: Any ideas? BTW, @tteck great scripts! Any help very much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Yeah. I had to reflash the sonoff in windows and then it just appeared when
connecting it back to the proxmox host.
…On Mon, 17 Jul 2023 at 20:26, ViRouF ***@***.***> wrote:
did you solve this issue finally? Got the same
—
Reply to this email directly, view it on GitHub
<#1388 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZJ5OTQNZJCUPE7FGS7JB3XQWGU5ANCNFSM6AAAAAAXWVUXZ4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A clear and concise description of the issue.
In pve the command lsusb reveals :
Bus 001 Device 013: ID 1a86:55d4 QinHeng Electronics SONOFF Zigbee 3.0 USB Dongle Plus V2
In the container (Zigbee2mqtt - debian 11) the command ls -l /dev/serial/by-id :
Container is privileged. Already did reboot etc ..
Any idea whats's wrong ? Thank You !!!!
If relevant, including screenshots or a code block can be helpful in clarifying the issue.
No response
Please provide detailed steps to reproduce the issue.
No response
Beta Was this translation helpful? Give feedback.
All reactions