openhab2 installation location (ubuntu 14.04)
depends on whether you manually install or install from repo:
openhab 1 bindings in openhab2?
http://docs.openhab.org/developers/development/compatibilitylayer.html#how-to-use-openhab-1x-add-ons-that-are-not-part-of-the-distributionin 2.0.0.B4+ (and probably earlier) the 1.x compatibility binding is already enabled.
Copy your 1.x .jar file into /opt/openhab2/addons.
Create/edit /opt/openhab2/conf/Services/openhab.cfg and add your 1.x binding configuration there
check the Karaf log or openhab.log for any issues.
lightwaverf binding openhab2
SEE DEDICATED POST LATER IN BLOG - requires nightly build 1.9.0 of addon.
https://bintray.com/artifact/download/openhab/bin/distribution-1.8.3-addons.zip
unzip
copy the openhab binding lightwaverf into /usr/share/openhab2/addons
I did this via filezilla local sftp to my linux box, having first done:
#add my username to the openhab group (replace myusername as needed)
sudo usermod -a -G openhab myusername
# give the openhab group permissins to the addons foldersudo chmod g+rws usr/share/openhab2/addons
then I can unzip on windows the 1.8.3 distribution-addons.zip - move the lightwaverf jar across to usr/share/openhab2/addons
at this point, my lightwaverf hub asked immediately to authorise the app - I did nothing else - no config yet!
in /etc/openhab2/services, create file openhab.cfg
copy the supplied lightwaverf config into it, i.e. from
https://github.com/openhab/openhab/wiki/LightwaveRF-Binding
now I'm stuck - not available in bindings in Paper UI - error in log about lightwaverf missing addBinding method...
openhab2 console
- for checking the 1.x compatibility layer is installed - it was by defulat
http://docs.openhab.org/administration/console.htmlMore up-to-date openhab1 binding for lightwaverf available from openhab nightly build:
https://openhab.ci.cloudbees.com/job/openHAB1-Addons/lastSuccessfulBuild/artifact/bundles/binding/
No comments:
Post a Comment