OS: Raspbian GNU/Linux 9 (stretch), Linux 4.14.98-v7+
Java Runtime Environment: openjdk version “1.8.0_152”
openHAB version: 2.4.0
I’m actually trying to connect this beautiful small Fibaro smoke detectors to my openhab system.
First, I tried to get the Razberry board up and running and did not succeed and now switched to ZME UZB1.
Installation worked fine, I can have a look both at Z-Wave Smart Home and at Expert UI. But I cannot get this inclusion mode started to get a smoke sensor connected to the Z-Wave Platform.
Do I need that platform or can I directly connect to openhab?
Which binding do I have to use, Zway or zwave? The topic at Zwave or ZWay binding? did not state that clear for me. Do both interfere with each other or with the zwave-me-platform?
Any help is really appreciated.
Thanks a lot in advance,
Not sure what the Z-Wave Platform is you are talking about, but you can include the devices by first installing and setting up the Z-Wave binding, and subsequently including your devices via the inbox of Paper UI, or via Habmin if you prefer that.
Hej Rolf, hi all,
thanks, I know added a Z-Wave Serial Controller via the Z-Wave binding. After that, the state of the controller is “offline - Bridge_offline”. It does not matter if I choose /dev/ttyACM0 or /dev/ttyAMA0.
That makes me think that something with the UZB-Stick is not working correctly yet.
DO you have any other idea?
Thanks so far,
you installed serial binding right?
Things to make sure you do:
add openhab user to tty and dialup
edit /etc/default/openhab2 to add EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyUSB1"
SSH in or open terminal and run
run dmesg | grep tty
try restart system & openHAB
This is not necessary, but it helps when manually installing the binding, as you do not need to manually install the openhab-transpoirt-serial feature (and resinatll after every update). Note, xstream is also required when manually installing the latest version of the binding…
I’m not sure if the bindings interfere with each other, but the zway server component interferes with the zwave binding because they are competing for use of the controller. I’m not very familiar with the issue, but others have reported it in the forum. Follow Andrew’s advice, but you should also take a look in openhab.log after starting the binding.
That is the OH1 serial binding (I’m guess because 1.13.0) I use the OH 2 version of the serial binding with the zwave binding, sorry for not being more explicit.
Although Scott said the serial binding should not be needed.
not 100% sure but I think there is your zwave stick
there is your usb port
sorry, I don’t know anything about it. I use the zwave binding and the OH2 serial binding to do my zwave and it works a treat. Here is a link to the documentation which will have the minimum info needed to get started and examples
sorry, sometimes I feel being really stupid regarding openhab things. It’s always like at the very interesting and unclear point, in the descriptions happens some magic.
Again, my questions, hopefully as precise as possible:
Where do I find the serial binding for 2.4.0? I only find these:
What to do next? Following the Z-Wave-binding-doc, I first have to add a serial adapter. Where do I have to do that and why is that not explained in the doc? What I got managed to do with some trial and error was the following thing:
Does the UZB Stick have any light flashing when it is in inclusion mode? The Razberry board had a red led, that was never lit in my system, thats why I returned it back and why I am testing now with the UZB Stick. If that does not work either, I will turn back all the stuff and go with KNX. Zwave fees actually like real pain, with or without openhab.
Zwave.me: Do I have configured the Z-Wave Network Access correct:
It is offline because you have other software that has locked the serial port. As I have already said, you cannot use Zway/Zwave.me and the Zwave binding at the same time. There are ther posts in the forum discussing the conflict.
thanks so far, @5iver . Ok, I uninstalled the serial binding and the zway-binding and disabled the zwave.me-software. Still the same: BRIDGE_OFFLINE
Deleted the serial controller and added it again => the same.
Any hints how I get it ONLINE?
Thanks a lot,
To be more precise: I stopped the z-wave server and disabled its autostart. After that, I rebooted the raspberryPi and the z-wave UIs were not reachable.
Thus, I assume, there can be no ressource conflict be the cause any longer.
Any other ideas?
Sorry, i’ve just quickly read the posts here and must have missed that part.
I think you just have the wrong port. On my system ttyAMA0 is being used by the Rarzberry board.
Since you’ve changed to UZB, I think the port is different (i think it should be /dev/ttyACM0)
Can you use puTTY to connect to your raspberry?
I now installed HABmin and tried to connect the smoke detector there, but again no success.
But after clicking the + icon, I get the message that the inclusion mode was started. Anyhow, pressing the button on the smoke detector three times as described does not connect the detector.
Still, no LED on the stick is flashing or lit indicating that the inclusion mode is active.
Is that normal that no LED is flashing or lit?