Can't get Davis to communicate

Newbie to OpenHab (installed on Raspberry Pi). I have a Davis Vantage Vue. I have installed and configured the binding, but the log file shows “[ERROR] [.b.davis.internal.DavisBinding] - Serial port ’ /dev/ttyUSB0’ could not be found. Available ports are:” (no ports shown).
I have Weewx installed and the Davis works fine with that (using /dev/ttyUSB0). I wondered if maybe I couldn’t access the Davis from Weewx and OpenHab at the same time, but it makes no difference if I stop Weewx.

have you checked the device file permissions for the user running OpenHAB?

That is, if you are running OpenHAB as the user ‘pi’ then that user needs to be in the group that allows access to the serial port device.

on my Pi, an ls -l /etc/ttyUSB* gives this:

crw-rw---T 1 root dialout 188, 0 Sep  1 18:28 /dev/ttyUSB0

so add pi to the dialout group to access the port. also make sure that the second rw is there. If not, issue the sudo chmod g+w /dev/ttyUSB0 to give group read/write permissions.

Thanks. pi was in dialout but it seems that openhab starts in user openhab, so I added that. That fixes the reported problem, but now I get multiple “wakeup failed” messages.

Hello,

I have the same error messages. Were you able to resolve them please?

Thank you in advance for your help.

Flavien