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
Hi all,
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,
Carsten
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,
Carsten
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
lsusb
post result
run dmesg | grep tty
post result
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.
Edited /etc/default/openhab2 and added -Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0 to the extra Java options.
installed serial binding 1.13.0. Is this the correct one for openhab 2.4.0 or do I have to install Serial Button Binding 2.4.0?
Uninstalled zway-binding.
Here are my outputs:
[13:42:06] openhabian@openHABianPi:~$ lsusb
Bus 001 Device 007: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[13:42:58] openhabian@openHABianPi:~$ dmesg | grep tty
[ 0.000000] Kernel command line: 8250.nr_uarts=1 cma=256M bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 enable_uart=1 dtoverlay=pi3-disable-bt console=tty1 root=PARTUUID=866712bd-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000284] console [tty1] enabled
[ 1.719935] 3f201000.serial: **ttyAMA0** at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 4.800215] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Rebooted the system.
Nothing at all changed, I still do not find any things via PaperUI, and still cannot get the device in this inclusion mode via its own UI: http://192.168.178.60:8083/smarthome/#/zwave/inclusion. I had the same problem with the Razberry board as now with the UZB stick.
Any ideas how to get the smoke sensors included via the zwave-me-portal. I assume, that if it does work there, the things can be found via PaperUI as well.
Hi Carsten
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
Hi again,
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:
Sorry, but I am a very beginner to zwave and have to say that it is somewhat complicated. Is there a good doc somewhere explaining a basic concept for beginners?
Adding/removing Things is not specific to the zwave binding and is found in the documentation and tutorial.
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.
Hi all,
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,
Carsten
Are you using zwave.me on the same raspberry and at the same time as openhab?
Then either zwave.me or openhab occupy the UZB. So make sure that when you start openhab, zwave.me is not running.
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?
Regards,
Carsten
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?
What does
But now, I still cannot get the smoke detector connected. How can I now start the inclusion mode of the UZB stick? Do I see that with some light flashing?
What I tried was to search for things in Inbox and than pressed the button on the smoke detector three times, but no success.
Trying to add a thing manually brings me back to add a serial controller.
Sorry, seems I’m a little bit blinded at the moment.
Thanks so far to everyone helping me to get the serial controller online.
Hi again,
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?
Thanks again,
Carsten