lrybak / hassio-owserver

Provides the owserver instance to read 1-Wire devices over DS2480B-based bus master serial device
MIT License
13 stars 10 forks source link

USB device path changes at reboot, udev rule doesn't help #30

Open tmo26 opened 2 weeks ago

tmo26 commented 2 weeks ago

HAOS running in a VM on proxmox

I have successfully set up owserver, but noticed that after a reboot, the path of the USB device (DS9490R) changes, making owserver inoperable.

Example: on HAOS, lsusb before reboot Bus 002 Device 019: ID 04fa:2490 <--- DS9490R -> #19

on HAOS, lsusb after reboot Bus 002 Device 021: ID 04fa:2490 <--- DS9490R -> #21

I have already created a udev rule on HAOS (imported via USB stick and rebooting HAOS): b374c7105ed657d4a290ff1a1c2ad7a223251a0f

Rule has been applied on HAOS: f50a4c266390cd7ab9ed92e6751e9243f0aff6ad

…but still: in homeassistant → owserver → configuration, no /dev/ds9490r is shown.

Why dos the selection box in owserver configuration not show /dev/ds9490r?

How can I make the DS9490R accessible for owserver, so that it does not change path after a reboot?

lrybak commented 2 weeks ago

Hi, Please try to select your device using /dev/serial/by-id/* This is working for me, not only for 1ire hub but for zigbee and zwave dongles as well

image
tmo26 commented 2 weeks ago

I really would like to select the DS9490R "by-id", but it is not listed there.