WZWave
WZWave copied to clipboard
Learning ZWave Devices
Hi,
I have just found your Github project and I need a help from your side. Please could you explain how to use you lib (a tutorial example). I found an example on your bitbucket but I get this error: Something bad happened: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path @Brimstedt @Ziver @rdehuyss @whizzosoftware thanks in advance.
Did you install rxtx?
# apt install librxtx-java
(In some cases you must also specify serial device, but i think the error is another one in that case -Dgnu.io.rxtx.SerialPorts=/dev/zwave
)
thanks @Brimstedt for your answer. yes I didn't install it as am new for such issue. I installed it now I get this msg: Stable Library
Native lib Version = RXTX-2.2pre2 Java lib Version = RXTX-2.1-7 WARNING: RXTX Version mismatch Jar version = RXTX-2.1-7 native lib Version = RXTX-2.2pre2 Something bad happened: gnu.io.NoSuchPortException
I Plug Zwave controller into usb port but I dont know the name of such port I tried to use find /dev/bus/ and catch the name of serial port from the output but I still find no such port error @Brimstedt @Ziver @rdehuyss @whizzosoftware
Look for a port named something like /dev/ttyUSB0. The port should go away when you unplug the USB dongle.
I used it but I get the same thing and when I type ls under /dev I get many tty* ports but I dont which one I pluged zwave dongle to.
Did you try /dev/ttyUSB0?
@whizzosoftware I used all possible values of serial ports in ubuntu but unfortunately I still get the same error