Trainer
(Hannes)
1
Hello,
i try to connect from my rpi3 via UART to my ebus adapter.
openhab log file show me
Unable to connect to serial port /dev/ttyUSB0
But with the command
ebusctl info
, everything works file, so it should be a openhab problem.
How can i solve the problem?
H102
(CM6.5 H102)
2
Have you added the openhab user to the dialout and tty group?
Trainer
(Hannes)
3
pi@raspberrypi : /etc/openhab2/services $ ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Okt 14 17:59 /dev/ttyUSB0
how can i add openhab user to the dialout and tty group?
H102
(CM6.5 H102)
4
Try sudo adduser openhab dialout and change user name to what you need if not openhab. Then do the same for tty.
Trainer
(Hannes)
5
Thank you.
after i use this commands
sudo adduser openhab dialout
sudo adduser openhab tty
everything works fine
H102
(CM6.5 H102)
6
Glad to help and please mark the post as solved.