ZWave status under OH2

See my comment in the following post about why I prefer the database inside the JAR (mainly configuration and quality control).

Hi Crhris
Any news about zwave binding for OH2 ?
regards
Tomek

1 Like

Right now it seems that daily build doesnā€™t work. I have tried with the daily bild 11/1-2016 and again 15/1-2016. Both builds starts ZWave and then it is stopping right away. The behaviour can be reproduced both under Windows 10 and Raspberry Pi 2 B (Jessie). My stick is the UZB stick.
I found a daily build on my disk from 26/12-2015, that works. I donā€™t know what have changed over the 16 days, but obviously the karaf stuff has been introduced.

I would be more than happy in spending some time with testing :smile:

Best Regards
Martin

I guess youā€™re talking about the OH1 binding - the OH2 binding is not released yet. I think I read that thereā€™s a problem after the karaf changes, but thatā€™s not really related to this thread for the OH2 bindingā€¦

Iā€™m finalising the database converter at the moment - hopefully this will be ready in a few days (I hope!) and we can then start to get people updating the database.

1 Like

Correct.

Correct. The reason I mentioned karaf isnā€™t that it is related with karaf, it is just one change that is quite obvious has taken place for me as user of OH.

If you need help for further investigations, log files or whatever - please donā€™t hesitate to ask.

Iā€™ve tried the latest download of OH2 and could not get anything z-wave working. I tried both with the offline and online distributions. Is that due that karaf issue you are talking about? I must admit not having spent much time trying to figure it out.
Do the new distribution come with the OH1 Z-Wave bindings resolved? Or do they have to be installed? With the offline, when I put the binding in the addons, it was unable to load the z-wave bindings, due to an unresolved link issue. When I tried in the online distro, it seems to appear but did nothing. Maybe it was my setup that is not working, but my setup files were (partially) working with a previous version of OH2.

Sometimes I wonder if this thread is full of trolls.

The OH2 bindings for Z-Wave have not been released yet. If you canā€™t wait
for this free software, and have the technical chops itā€™s possible to
compile from the source yourself.

No need to be snippy. Re-read what I wrote. I was talking about the OH1 bindings being used in OH2, as recommended by Chris. Not talking about the OH2 bindings.

@chris
Great news :slight_smile:
Let us know

Yes, OH1 binding works in OH2 and HABmin2 works in OH2.
I have:
OH2 Alpha2 (not beta1 with Karaf) + Z-wave OH1 + HABmin2 = OK

So do you mean itā€™s working now, or has it always been working for you?

I donā€™t think anything has changed and Iā€™m seeing issues here when running under Karaf. Itā€™s not a dependancy issue, but possible a startup order issue - hopefully Iā€™ll have it resolved tonight (letā€™s see!).

1 Like

Damn, sorry.
Not OH2 Beta1 but the ones without Karaf OSGi

I have downloaded the latest snapshot build and tried it on my Raspberry Pi 2 B -
IT WORKS !

I am beginning to love this new baby (OH 2).

best regards
Martin

mhhh i am confused

First: I had the old zwave binding (not working)
Second: I downloaded the latest Habmin for Karaf
Third: Habmin worked; zwave still not
Fourth: I replaced zwave 1.8.0 with latest 1.9.0 snapshot

now neither habmin nor zwave gets active:
Error while starting bundle: file:/addons/org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.ui.habmin [184]
Unresolved requirement: Import-Package: org.openhab.binding.zwave.internal.config

I believe you need a complete new build, not just the addon bundles.

ok new build :slightly_smiling:
Habmin2 copied -> works

zwave 1.9.0 installed from paperui --> is active in bundle:list --> but canā€™t see the zwave stick in habmin :frowning:

First sorry for the poor formatting below, I am pretty new here with the forums and openhab.

I have the exact same setup and problem going on too. In habmin under configuration / bindings nothing is listed.

new build, habmin2, enabled zwave 1.9.0, stopped and restarted. I am using the aeotec z-stick gen 5.

I see two error sections in the log. 1st one not zwave

2016-01-19 15:35:23.206 [ERROR] [org.eclipse.smarthome.core.transform] - [org.eclipse.smarthome.action.transformation.action(51)] Circular reference detected, getService returning null

2nd error block, all about zwave:

2016-01-19 15:35:42.515 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(7)] doFindMethod: Suitable but non-accessible method found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource
2016-01-19 15:35:42.518 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(7)] 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-19 15:35:42.526 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(7)] bind method [addConfigurationService] not found; Component will fail
2016-01-19 15:35:42.540 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(7)] bind method [addConfigurationService] not found
2016-01-19 15:35:42.665 [INFO ] [.openhab.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build 201601150204).

Hope this helps someone or perhaps someone has insight?

Thanks,
Bri

Issue report here by @Lolodomo : Circular reference detected Ā· Issue #870 Ā· eclipse-archived/smarthome Ā· GitHub

I am not sure where to create an issue for that second error message:

Also I am not sure if we are just humbly awaiting the zwave 2.0 binding or the 1.9 to be fixed?

I am out of the loop and donā€™t know where to be going to find out statuses etcā€¦

Thanks,
Bri

The 1.9 binding was updated a couple of days back, so if you grab the latest snapshot, it should work. Iā€™ve not seen any reports of further problems.

Snapshots are available on Cloudbees - as is posted in the docsā€¦

The error looks like a HABmin error - have you updated to the latest HABmin (ie in the last couple of days)? HABmin also had problems after the Karaf addition - it might be caused by this, or it might be an issue if zwave isnā€™t running properlyā€¦

Cheers
Chris