architektur23 Posted July 21, 2023 Share Posted July 21, 2023 Hey guys i have a zigbee stick running in home assistant VM and since a week i have a 3D printer which is running in octoprint docker, but both devices switch from day to day from ttyusb0 and ttyusb1 back and forth... is there some way to map one usb device to exactly ttyusb0 so that no other device can use this port? Quote Link to comment
Solution SimonF Posted July 21, 2023 Solution Share Posted July 21, 2023 56 minutes ago, architektur23 said: Hey guys i have a zigbee stick running in home assistant VM and since a week i have a 3D printer which is running in octoprint docker, but both devices switch from day to day from ttyusb0 and ttyusb1 back and forth... is there some way to map one usb device to exactly ttyusb0 so that no other device can use this port? can you provide a bit more info on how they used, i.e. do you pass into a VM/Docker. can you not use by-id as the path? root@computenode:/dev/serial/by-id# ls usb-0658_0200-if00@ usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_ 1 Quote Link to comment
architektur23 Posted July 21, 2023 Author Share Posted July 21, 2023 That magically solves my problem, thank you! So zigbee2mqtt now has always the same device... and octoprint doesnt really care if its usb0 or 1 it just connects anyway Quote Link to comment
Recommended Posts
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.