Yesterday, I installed a new openHABian. I am using the new dsmr binding with manual configuration and specify the serial port in a .things file. Previously, I used a persistent device name through a udev rule without issues. Now this does not seem to work with openHABian. Using the device /dev/ttyUSB1
fortunately is working, but I’d like to use persistent /dev/dsmr
.
What could be wrong?
$ cat /etc/udev/rules.d/50-usb-serial.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A5Z5VJCX", SYMLINK+="dsmr"
$ ls -la /dev
lrwxrwxrwx 1 root root 7 Apr 3 10:39 dsmr -> ttyUSB1
crw-rw---- 1 root dialout 188, 1 Apr 3 10:39 ttyUSB1
$ cat /etc/group | grep 'dialout'
dialout:x:20:openhabian,openhab
Update: it has nothing to do with the binding. The same applies for the rfxcom binding that is working with /dev/ttyUSB0
and not with /dev/rfxcom
.