I have this partially working in OpenHab2.
What does work:
Manually Creating Switch Item, linked to LightwaveRF Room and DeviceID
Creating Switch in Sitemap for the above Item
Toggling switch in Sitemap GUI Classic and the LightwaveRF device turns on and off
What does not work for me:
Binding discovery in Paper UI
I have it switching my devices via lightwaverf, but there were errors in the Karaf log on adding the binding, and the binding does not show up in Paper UI list of available bindings (even with 1.x compatibility turned on), but I was able to create an Item and Sitemap button fine, which toggled my lightwaverf switches fine. I haven’t tried dimmers/moods yet.
Ubuntu 14.04LTS x64
Java 1.8.0_111
Openhab2 2.0.0b4 2.0.0 -SNAPSHOT build #560 offline manual install, as per http://docs.openhab.org/installation/linux.html#manual-installation
(therefore my openhab2 is installed under /opt/openhab2) - adjust where necessary. 1.x compatibility was already enabled in this release
1 - create file opt/openhab2/conf/Services/openhab.cfg and populate with the sample lighwaverf binding configuration as per
I left alone - the default IP using the broadcast address worked for me.
2 - copy the lighwaverf binding jar (version 1.9.0) from snapshot build (link below), into /opt/openhab2/addons/
https://openhab.ci.cloudbees.com/job/openHAB1-Addons/lastSuccessfulBuild/artifact/bundles/binding/org.openhab.binding.lightwaverf/target/
When I copied the .jar file over, my lightwave hub immediately started blinking saying “add app?”, so I clicked YES.
The default settings for looking for the device on the broadcast IP 255.255.255.255 worked!
Depending on how you copied the file over (I used filezilla from my windows machine to the linux server) You might have to check permissions are set properly; I configured it as per manual install to run under user:group openhab, and changed owner of conf/services/openhab.cfg and addons/opt.xxxx.lighwavexxxx.jar to openhab user&group
3 - create an Item in /opt/openhab2/conf/Items (I appended the demo.items file) for each of your switches/dimmers etc - this is where you need to customise your individual device/switch/dimmer/mood. here’s a sample switch in room 2, device 3: (sudo nano /opt/openhab2/conf/Items/demo.items)
Switch LWRF_light1 "bedside light" { lightwaverf="room=2,device=3,type=SWITCH" }
4 - create a switch in a Sitemap, so you can control it from the GUI:
Switch item=LWRF_light1 label="Bedside Light"
that’s it - check the events.log or log:tail command
The errors I encountered from the Karaf command “log:tail” when moving the lightwave binding .jar to /addons:
20:34:25.175 [ERROR] [org.openhab.binding.lightwaverf ] - [org.openhab.binding.lightwaverf.binding(211)] bind method [addBindingProvider] not found; Component will fail
20:34:25.185 [ERROR] [org.openhab.binding.lightwaverf ] - [org.openhab.binding.lightwaverf.binding(211)] bind method [addBindingProvider] not found
The binding never appears in my Paper UI bindings list or list of Things, or in the openhab Karaf console "things"
The Item does appear in the Karaf “items” list.
I am an Openhab newbie, so may have missed some obvious things, but I hope this helps someone out.