ZWave status under OH2

sorry … I meant I dont see the ZWave available under Configuration like on OH2 Alpha

pre karaf:

current:

Given that HABmin isn’t running (seemingly - but maybe I’m wrong) I’m surprised that you get HABmin loading at all…

So, it seems that HABmin must be running, but the error about not being able to bind the configuration is stopping the menu option being display… Thanks - that’s quite useful (and changes my view on what might be wrong).

Fully correct your summary.

Binding active
Habmin2 active and loads

Just under Configuration: Zwave is not available within Habmin

And the log shows the error from #97

All tested with most current versions from OH2 Snapshot (Build101 from online distro) and Habmin2.jar (most current Zwave binding pulled from within paper UI)

@chris
FYI: I logged issue: paperUI does not render option values for integer #910
As the config files correctly have the option values in the definition, but the paperUI does not render them.

Hi Marcel,
Yep - I saw that :smile:. I don’t tend to use paper UI for configuration (I do use it for other stuff) - HABmin supports configuration better I think - there was an issue with paper UI where it was using an old config method - Im not sure if this was fixed… I need to release an updated HABmin since the current master branch won’t work at the moment with the OH2 binding…

And thanks for the uploads on the database tonight :smile:

Cheers
Chris

@shorty707 please try the latest HABmin2 JAR and let me know if it works now (he says hopefully).

so this is the result:

  • the layout is like pre karaf again now … with a menu on the top instead of on the left side

  • the Zwave entry is listed under Configuration again

  • unfortunately it does not show the Controller / Node

Controller in log:

09:56:50.506 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found
09:56:50.513 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller using Controller API
09:56:50.528 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
09:56:50.532 [INFO ] [age.SerialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
09:56:50.536 [INFO ] [age.SerialApiGetInitDataMessageClass] - # Nodes = 1
09:56:50.539 [INFO ] [age.SerialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------

HABmin error in log (seconds BEFORE stick was found in log):

09:56:47.600 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(181)] doFindMethod: Suitable but non-accessible method found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource
09:56:47.606 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(181)] 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
09:56:47.618 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(181)] bind method [addConfigurationService] not found; Component will fail
09:56:47.625 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.binding.zwave.configuration(181)] bind method [addConfigurationService] not found

Ok - don’t worry too much about that (although I’m interested in which one you prefer? The side menu will be the one that is retained once the OH2 binding is available.

I’ll take a look for this error… Thanks.

menu on left looks a little more modern… top gives a little more workspace in width … but both would be fine :wink: … whatever gives the chance to get the binding quicker :slightly_smiling:

btw… since I look at this for a while … theres a typo in the german translation

Regelen should be Regeln

The new version, once the ZWave binding is released, will be left menu - this is already done, but it’s in a separate branch.

It’s not really related - the binding is mainly “waiting” for the database to be sorted (ie enough devices entered, and channels updated to be useful). We have quite a few added now so hopefully this week I’ll try and confirm all the channels are added, and I’ll try and roll it out for wider testing :smile:

Hello Guys. When trying with the new build i get:

`2016-01-24 18:29:12.143 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle:                file:/D:/openHab/OH2/openhab-offline-2.0.0-SNAPSHOT/addons/org.openhab.binding.zwave.jar 
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [139]
  Unresolved requirement: Import-Package: gnu.io

at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
2016-01-24 18:29:12.143 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle:         file:/D:/openHab/OH2/openhab-offline-2.0.0-SNAPSHOT/addons/org.openhab.ui.habmin.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.ui.habmin [138]
   Unresolved requirement: Import-Package: org.openhab.binding.zwave.internal.config
    -> Export-Package: org.openhab.binding.zwave.internal.config; bundle-symbolic-     name="org.openhab.binding.zwave"; bundle-version="1.8.0.201508211938"; version="0.0.0"
       org.openhab.binding.zwave [139]
          Unresolved requirement: Import-Package: gnu.io

at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]`

I’ve started from scratch with OH2 and the new habmin.jar, still using the z-wave.jar from the OH1…
Haven’t done anything else - just copied files and started…

I din’t have a Z-Wave dongle installed.

You need to add the io.transport.serial package.

For OH 1 or OH 2?

You must install zwave from paper ui.
If you install manually to addons you get that error.

Use zwave 190 from paper ui … And habmin2 will run.

Thanks - now it Works :slight_smile:

1 Like

Hi,

I just installed the latest openhab2 snapshot (online version), as well as the Habmin jar dated January 23. I installed the zwave binding from inside paperUI. It looks like OH2 picked up the controller nicely. In the log file I see lots of messages relating to the various nodes I have in the system. However, habmin seems to be unable to connect to the device when I open it. I get a message in the top right corner indicating that it is unable to reach the device. Any ideas?

Read post 108 & 109

I see, looks like something similar to what happens to me. Thanks.

Anything for testing yet?
I’m running through dockers, so it’s pretty easy for me to switch around without ruining my working install.

Let me know if I can be of any use.