Hi =)
I just downloaded openHAB 2 and got it running on my raspberry pi.
I previously used OH 1 especially for my z-wave devices.
With OH2 i got issues with zwave.
I did the following things:
1.)** Added /dev/ttyAMA0 to the serialPorts in /runtime/karaf/bin/setenv:**
export JAVA_OPTS="${JAVA_OPTS}
-Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0
-Dopenhab.home=${OPENHAB_HOME}
-Dopenhab.conf=${OPENHAB_CONF}
-Dopenhab.runtime=${OPENHAB_RUNTIME}
-Dopenhab.userdata=${OPENHAB_USERDATA}
-Dorg.osgi.service.http.port=${HTTP_PORT}
-Dorg.osgi.service.http.port.secure=${HTTPS_PORT}"
This seems to work since i don’t get the /dev/ttyAMA0 not found error anymore.
2.)** I added the following jar’s to the addons folder:**
org.openhab.binding.zwave-1.8.0-SNAPSHOT.jar
org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar
3.) I am using my old OH1 items and sitemap files
In habmin2 I cannot connect to the zwave network.
My OH1 item configurations don’t work neither.
My log output:
2016-01-30 21:23:57.872 [INFO ] [ng.zwave.internal.ZWaveActiveBinding] - Update config, port = /dev/ttyAMA0
2016-01-30 21:23:57.873 [INFO ] [ng.zwave.internal.ZWaveActiveBinding] - Update config, healtime = 2
2016-01-30 21:23:58.605 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed 'openhab-binding-zwave’
2016-01-30 21:23:58.801 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] doFindMethod: Suitable but non-accessible method found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource
2016-01-30 21:23:58.803 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] findMethod: Suitable but non-accessible method addConfigurationService found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource, subclass of org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource
2016-01-30 21:23:58.804 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] bind method [addConfigurationService] not found; Component will fail
2016-01-30 21:23:58.805 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] bind method [addConfigurationService] not found
2016-01-30 21:23:59.567 [INFO ] [ng.zwave.internal.ZWaveActiveBinding] - ZWave ‘updated’ with null config
2016-01-30 21:31:14.437 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] doFindMethod: Suitable but non-accessible method found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource
2016-01-30 21:31:14.438 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] findMethod: Suitable but non-accessible method removeConfigurationService found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource, subclass of org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource
2016-01-30 21:31:14.439 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] unbind method [removeConfigurationService] not found; Component will fail
2016-01-30 21:31:14.440 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(196)] unbind method [removeConfigurationService] not found
Are there some know solutions to the problem?
Best,