ZWave status under OH2

Thanks for the detailed explanation. I thought that OZW was used by OH, that’s my mistake (misinterpreted). I had to google JNI, but I get the point. Different language.

It’s silly that it is upto the gateway if devices are properly supported. Z-Wave is promoted as interoperable.

I expect OH Z-Wave binding is based on reverse engineering as well, similar as OZW. When I find some time I will setup OH2 and will try to setup the Z-Wave config.

Yes, and no… ZWave devices will interoperate quite well without the database - it is definitely one of zwaves strengths. This will work fine with devices that aren’t in the database (at least for OH1!), however, where the database comes into play is -:

  1. To add configuration - the devices don’t self describe the meaning of their configuration parameters, so we add this information to the database so that we can have a nice interface rather than having to resort to low level commands.
  2. To work around bugs. Some devices don’t stick quite to the standard, or have some sort of bug, and we need to add a workaround. These workarounds are coded into the binding, and then enabled or configured in the database.

Absolutely. In fact I’ve used OZW as a reference in many cases :slight_smile:

Chris

Hi, guy’s

Where can i check for the first alpha release, I am eager to try it.

Best regards, Haris

Currently I haven’t made this available as it’s not possible to configure associations at the moment. This requires a change to the ESH core - there was some discussion about it on the ESH forum, but it’s not yet decided how to handle this.

Hi,
Is there any news about this new version ?

Sorry - I needed to do some work in the ZigBee binding over the past week or so.

The problem at the moment is that if I release this you won’t be able to configure associations as some needed functionality is missing is ESH. If I can find some time in a week or so to add this then we can get it available.

Chris

Hi,
Still no news about the missing functionality in ESH ?
Regards,
Enric

2 Likes

Hey Chris!

I’d like to give the topic a little “push” - any news yet?

No - there’s some discussion about the solution in ESH, but it’s not implemented yet.

Chris, FYI, running the ZWave 1.8 binding under OH2 creates some problems when exiting the ESH runtime, as if a serial port is not closed properly or alike. At least, on my Mac OS X here, the Aeon Labs z-Stick S2 (connected via USB over ethernet) 's driver is bugging the system. Looking forward to the 2.0 version of the binding :wink: :wink:

@chris
What are the missing parts in ESH?
Could you point me to the relevant entries in the Eclipse Bugzilla and Forum?

I need to be able to update options in parameters. I’m not sure that there’s a bug, but the discussion is pretty much at the top of the ESH forum - I think it’s called dynamic configuration information. I’m on my phone at the moment so can’t easily check but you should be able to find it easily…

So under OpenHab1 you can use Habmin to add items and link zwave nodes using the binding etc…
Just so I understand what is going on, is it that the zwave binding works in principle in OH2, but instead of setting up items, it needs to be discovered as a thing instead? And you’re working out the best way to go about this?

So when it’s all sorted you’ll add a zwave device by pairing to the hardwave controller, then go to “descover thing” and it’ll appear ready to make a thing out of it etc…?

It might be worth having a read about OH2 principals - it’s different to OH2…

Things are effectively devices, things have channels, and channels link to items. So, when you include a new zwave device, it automatically creates the thing, all its channels, and the items that are linked to the channels…

Something like that…

You’ll be able to click on ‘Start discovery’ or something similar, this will put the controller into inclusion mode (so far the same as OH1 with HABmin). Hopefully this will find your thing and this new thing (device!) will be in an ‘inbox’ waiting for you to approve. Click on ‘Approve’ and it will be imported into the operational system - the thing gets created, the channels and items are also created and linked together…

(this might sound more complex than it really is - it’s all point and click)

The ‘bad’ thing is that now all your items will have names that you don’t want to use, so it’s more difficult in some ways to use ‘manually’. For example -:
thing = zwave_wenzhoutkbcontrolsystem_tz88_00_000_1508b604be0_node13
item = zwave_wenzhoutkbcontrolsystem_tz88_00_000_1508b604be0_node13_switch_1

This will make it more important in OH2 to have a GUI to control things. It is possible to create and link items with your own name, but neither HABmin nor PaperUI currently supports this so you get the computer generated name…

On the positive side, you don’t need to do any linking of binding strings to items - the zwave binding will automatically sort this out (once the device has been added to the database of course).

At the moment, there are still outstanding issues with configuration which make me hesitant to release this - hopefully this will be resolved in the coming week or two. It will take some time to add devices though and I’ll build this up a little slowly so we don’t add lots of devices and then find the format needs to change to support something…

Chris

Well I’m very impressed and appreciative of all the work you’re putting into this. It seems like a lot of work and I can’t thank you enough. I look forward to playing with it once it’s released…

Hi Chris,

I want to contribute by testing the Zwave Binding. I have some devices installed in my house.
How can I retreive it ?

Regards
Pascal

Currently it’s not available as I’m still finishing a little bit of testing here, and we are missing some functionality in the core ESH services to allow configuration of devices (namely setting of the associations). This is the issue that is currently holding up the finalisation of the the OH2 binding.

OK Chris.
I’m waiting for your new release. Don’t hesitate to send me an alpha or beta release for testing.
Have a good day.

Pascal

Any update on the ZWAVE binding for OH2? Not meaning to be pushy - just keen to get my OH up and running again! Had issues with using the old ZWAVE bindings under OH2 so rather than investing the time to fix these I am waiting for the OH2 compatible bindings :slight_smile:

I’m still working to iron out the issue in ESH that will allow me to add support for configuring associations - I don’t want to release a binding for general use until this is sorted as it will just result in lots of problems when people can’t configure their devices.

Other than this issue, the binding is working quite well I think. I’m sure there are still some issues, but I’ve been running it here for the past month or more and it’s been running fine…

Hopefully in the next week or two, this issue will be resolved and I’ll start to release the new binding - it will take some time to get the database converted, so I’ll be looking for a few experienced users to test things out first before spending too much time converting the database files…