FreeBSD and aeon labs' Z-Wave usb stick

508 views
Skip to first unread message

Samppa Kytömäki

unread,
Feb 22, 2014, 2:35:28 PM2/22/14
to ope...@googlegroups.com
Hello,

I'm trying to run openhab on freebsd with aeon labs' usb zwave stick. Has anyone made it work? I assume that the correct port to use is /dev/cuaU0.

21:23:27.699 INFO  o.o.b.z.i.ZWaveActiveBinding[:198] - Update config, port = /dev/cuaU0
21:23:28.060 INFO  o.o.c.s.AbstractActiveService[:169] - ZWave Refresh Service has been started
21:23:28.078 INFO  o.o.b.z.i.p.ZWaveController[:109] - Starting Z-Wave controller
21:23:28.078 INFO  o.o.b.z.i.p.ZWaveController[:765] - Connecting to serial port /dev/cuaU0
java.lang.ExceptionInInitializerError thrown while loading gnu.io.RXTXCommDriver
java.lang.NoClassDefFoundError: Could not initialize class gnu.io.RXTXCommDriver thrown while loading gnu.io.RXTXCommDriver
21:23:28.092 ERROR o.o.b.z.i.p.ZWaveController[:780] - Port /dev/cuaU0 does not exist


Chris Jackson

unread,
Feb 22, 2014, 2:51:01 PM2/22/14
to ope...@googlegroups.com
I’m not sure about freebsd, but can’t you do ls /dev and see what port is added when you plug in the USB stick?

Chris

pieter...@gmail.com

unread,
Sep 1, 2014, 4:57:18 AM9/1/14
to ope...@googlegroups.com
Hi Samppa

Were you able to get things going. I'm facing a similar problem on my freenas... I also think this is the right port, as it is the one added when I put the stick into the USB port.

Thx!

Pieter

Op zaterdag 22 februari 2014 20:35:28 UTC+1 schreef Samppa Kytömäki:

Jürgen Langwost

unread,
Sep 2, 2014, 12:01:04 PM9/2/14
to ope...@googlegroups.com
Another hint: please double-check if the openhab user is member of the group of the device.

Jürgen

Paul Hampson

unread,
Sep 3, 2014, 11:18:25 AM9/3/14
to ope...@googlegroups.com
You might also need to do the following:

"You will also need to add the property to the Java command line by adding the following (device names delimited by ":" ) to the file /etc/init.d/openhab in the JAVA_ARGS section with your device names substituted.

-gnu.io.rxtx.SerialPorts=/dev/rfxcomUSB:/dev/zwaveUSB"

I don't know what openhab 'expects' for serial ports, but i suspect it's ttyUSB0. So you would need to add /dev/cuaU0 (or whatever your device enumerates as).

See https://github.com/openhab/openhab/wiki/Hardware-FAQ

Hope that helps,

Paul

Kyle Ramsey

unread,
Feb 7, 2015, 2:32:10 PM2/7/15
to ope...@googlegroups.com
Has this been resolved? I'm dealing with the same issue and have been unable to find any information about a fix. I would appreciate any help the group could provide. Thank you.
Reply all
Reply to author
Forward
0 new messages