Z-Wave Binding with multiple controllers

But how are you able then to connect the status updates to the correct items? I thought that the the thing id that you can set at the moment of controller inclusion should be available? This would also help (does not have to be the Home ID of the Z-Wave Network).

This is a completely different part of the binding. I’m not saying that all the information isn’t contained somewhere in the binding - clearly it is. However, the lower level processing of frames does not know anything about things - this is at a different level, and this is where the logging that you are talking about is done.

There is a clear separation in the binding between the protocol layers and the “OH/ESH” layers - it’s definitely not possible to get a reference to things within the frame processing.

Ok, thanks for the clarificaton. But I thought the Home Id of the controller is part of the Frame Data?

It is part of the data that is sent over the air, but it is not part of the data that is sent from the controller to the binding on the serial API so the binding doesn’t have access to this information.

Thank you again for the clarification, now I understand.
However, if you should have an idea how to provide some kind of tag in the logs I would highly appreciate it :wink:

@chris: I noticed one more thing today when using multiple controllers. If I want to include new devices via Habmin how can I control which of the controllers should go into inlcusion mode? At the moment are they all starting inlcusion at the same time and the quickest one wins?
I have 2 controllers with 2 different Home-Ids for ground floor and first floor at the moment. So I would like to only put the ground floor controller into inclusion mode when I want to include a new device on ground floor. Otherwise I might risk to have the device included in the wrong network. Is there any possibility to control this at the moment?

Unfortunately this is a problem with ESH and the changes would need to be made there. I agree that this is an issue though - I have the same problem with other bindings at the moment.

Hi Chris

was the last issue about inclusion address as far as your aware? as there been any issues or updates to enhance using dual controllers in your later zwave bindings?

I have issues i think only two controllers will resolve

thanks

It should be no problem to use multiple controllers within the binding and I believe others are doing this.

Thanks Chris. Has there been any development on dual controllers?

What functions are you looking to have developed?

Hi Chris, nothing specifically im just trying to determine if having two, is no different to having one and that there are no known issues.

I cannot solve my zwave issue so Ill be forced to have 1 controller connected to OH2 with a bunch of zwave devices and then another, linked via the IP Serial link to the home which has about 10 zwave devices.

The binding should work fine with multiple controllers - it was designed to do this. That said, you would need a USB extender or something to separate the two controllers, or there will be no benefit.

Hi Chris

here is a diagram of my setup.

I have to move my router/oh2 server (Its a Cisco UCS blade inside a Cisco 3945 router) into the garage. In doing so, the OH2 server will be quite far from the Zwave devices in the house.

Currently the server/Zwave stick is in the house and operates the zwave devices just fine - including the Aeotec multisensor in the garage however the Aeotec Dimmer 2 just left of the Multisensor fails to operate reliabiliy. I suspect the Tree is blocking some of the signal.

I am proposing to have a zwave aeotec stick inside the house, connected to a Ubuntu media server ive got that will operate the existing 10-15 home zwave devices and then move the OH2 server up into the garage to operate the few devices up there.

The house/garage are connected via a redundant Single mode fibre at 10Gbit, inside the garage and house are Cisco Gigabit switches that all the devices are sitting on.

Node 17 is the Aeotec dimmer at the end of the house which is outside and sits under the Eave (roof overhang), Node 16 is the Aeotec Dimmer in the garage. Node 15 is the garage multisensor

The binding works fine with multiple controllers. I have 3 controllers running with the binding since more than a year and a total of 126 Z-Wave nodes in the 3 networks.
There are 2 things I am missing:

  1. Network wide inclusion for a specified controller: I am missing is the possibility to restrict the network wide inclusion with OH2 to only one of the controllers. At the moment all 3 controllers change to inclusion mode and sometimes the new device gets picked up by the “wrong” controller. So my workaround is to unplug the other 2 controllers temporary before doing a new inclusion.
  2. (Debug) logging with controller id information: At the moment the Z-Wave logs only report the node id. If you have the same node number within more than one network, you cannot always really tell which node caused the log entry. As I happen to have some node numbers in all 3 of my networks, the logging information is sometimes hard to analyze. So it would be nice to have the controller id additionally in the logs.

However these points are of minor importance and the binding performs really smooth with that setup.
And as far as I know, this feature of multi controller support for Z-Wave is not supported by many home automation systems (is there any other than OH2?). So I consider it a really great feature!

2 Likes

This is an issue with ESH which only allows discovery to be enabled per binding, and not per bridge.

I guess I could try and implement something non-standard, but it feels a bit wrong.

Fair point - this would be quite a large effort as the logging is standardised and there’s a lot of it :wink: . I do agree though - this would be useful (somehow) so feel free to add an issue for this - I don’t promise to add it (at least not soon) but it’s worth logging it I think.

Thanks.

I have to say thanks for all the work you put into that great binding!

1 Like

hi vossivossi, was this ever setup to allow multiple controllers with the logging aspects?

To my knowledge the logs only show the node number, not the network ID. So if you have the same node number in more than one Z-Wave net the log analysis is a bit more cumbersome.

Sorry for reviving an old thread, but was there ever any success with this? I’m planning a change of controller (using OH 3.0) which means I’ll have double controllers in a transition period. And there will be much excluding/including of devices (moving them from one controller to the other) which will surely be a pain in the ass if I can’t control which of the controllers are put into inclusion mode…

1 Like