That’s the one currently in there. Associations don’t work because a) they aren’t sticky in the UI and b) device-to-device associations don’t get set, and device-to-controller associations also don’t get set. (ie, a switch associated with a light, the switch won’t control the light… and the same switch or remote, etc, don’t update OH’s status either until the next poll happens).
So, that certainly suggests strongly that associations aren’t being set.
There is a newer version (2.2.0.201801021718). Try that one and see if they work. The UI will still be messy. For me, PaperUI is displaying properly. Good to know you only have the one binding… that could have been causing it if there was an older one in there.
This may be an issue. Here is a filtered log of setting the association, the report back (which shows it’s getting set properly), and then a manual turn off of a VRMX1. There’s a HAIL, but there should be more coming in from the switch. This was a problem before, but it had gotten fixed. Maybe this affects more than just this device.
2018-01-03 10:08:58.855 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Configuration update received
2018-01-03 10:08:58.860 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Configuration update group_1 to [node_1_1]
... snip
2018-01-03 10:08:58.879 [DEBUG] [protocol.commandclass.ZWaveAssociationCommandClass] - NODE 26: Creating new message for application command ASSOCIATIONCMD_GET group 1
... snip
2018-01-03 10:08:58.945 [DEBUG] [e.internal.protocol.commandclass.ZWaveCommandClass] - NODE 26: Received COMMAND_CLASS_ASSOCIATION V1 ASSOCIATIONCMD_REPORT
2018-01-03 10:08:58.945 [DEBUG] [protocol.commandclass.ZWaveAssociationCommandClass] - NODE 26: association group 1 has max associations 232
2018-01-03 10:08:58.945 [DEBUG] [protocol.commandclass.ZWaveAssociationCommandClass] - NODE 26: association group 1 includes the following nodes:
2018-01-03 10:08:58.945 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Got an event from Z-Wave network: ZWaveAssociationEvent
2018-01-03 10:08:58.945 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Got a value event from Z-Wave network, endpoint = 0, command class = COMMAND_CLASS_ASSOCIATION, value = 0
2018-01-03 10:08:58.946 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Update ASSOCIATION group_1
2018-01-03 10:08:58.946 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Update ASSOCIATION group_1: Adding node_1
2018-01-03 10:08:58.946 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Update ASSOCIATION group_1: 1 members
2018-01-03 10:08:58.947 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Config updated
... snip
2018-01-03 10:09:31.365 [DEBUG] [.openhab.binding.zwave.internal.protocol.ZWaveNode] - NODE 26: Incoming command class COMMAND_CLASS_HAIL, endpoint 0
2018-01-03 10:09:31.365 [DEBUG] [.openhab.binding.zwave.internal.protocol.ZWaveNode] - NODE 26: SECURITY not supported
2018-01-03 10:09:31.365 [DEBUG] [e.internal.protocol.commandclass.ZWaveCommandClass] - NODE 26: Received COMMAND_CLASS_HAIL V0 HAIL
2018-01-03 10:09:31.365 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Got an event from Z-Wave network: ZWaveDelayedPollEvent
2018-01-03 10:09:31.366 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Polling intialised at 86400 seconds - start in 75 milliseconds.
2018-01-03 10:09:31.366 [DEBUG] [ng.zwave.internal.protocol.ZWaveTransactionManager] - NODE 26: Commands processed 1.
2018-01-03 10:09:31.366 [DEBUG] [ng.zwave.internal.protocol.ZWaveTransactionManager] - NODE 26: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@532de368.
2018-01-03 10:09:31.441 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 26: Polling...
Do you actually see the association is set in the UI? I’m not getting either – if I refresh the UI (habmin or paper), and go back into the device there’s nothing listed in them. And I’m not actually seeing associations.
I could buy a device->controller association could work and appear not to if the controller isn’t processing the events properly, but a device->device should work, I’d think.
Look into the link for the issue to see what I see in Habmin. It depends on the type of device. But in Habmin, I see this…
I’m on 2.3 snapshot 1159 though, so you may see different. Others were recently reporting seeing nothing in PaperUI too.
Yes, I agree. Did you try the new version? You might want to check the log to see if a report is being sent back from the device after setting the association.
Interesting… looks like there is something more being sent back from the device after manual operation (are there values in there?), but the binding isn’t doing anything with it?
What do you mean? In this log, the binding sends an association SET, then reads back the configuration which shows the group has NODE 1 associated. The binding doesn’t really have too much to do with this - it will store this data, but that’s all.
Or are you talking about the subsequent messages - the NIF and HAIL - they are probably related to a manual switch press… Are you expecting that as a result of this switch press there should have been a message due to the association?
HAIL is used in the binding, but I think it’s only used if there are no associations configured since it’s an old class.
Yes, this. At some point this was broken but you fixed it. Looks broken again. States are not being updated with manual operation. Association looks to be set.
Not sure what you mean. None of my dimmers or switches are reporting states after manually switching them. So, it isn’t just the one. Or do you mean the device config in the database?
I mean if you’ve set the association, and the device is still not reporting, then how is this a problem with the binding? It looks like the device isn’t sending anything, even though it has an association set…
However, I don’t know what the device is, what group_1 is meant to report, and what you did that you think should be reported
I’m running the 2.2 stable build with the latest z-wave 2.2 snapshot and have also seen this problem with my switches not reporting back a manual change. I have several different Leviton switches DZ6HD DZ15S VRMX1 VRS15. After I have recently updated the Z-Wave Snapshot Binding and added two New DZ6HD Switches they do not report status back. The ones that were added a while ago on a different snapshot work fine. I have tried to remove them and add them back and they may work for a bit then after a reset of OpenHAB they stop. I just updated to the latest snapshot yesterday and they still not not work. I will try to delete them and add them back tonight.
Can I respectfully request that if people want to help, along with your report please provide the debug log showing (for example) the device initialisation, the setting of the association group, what happens when you trigger an event. Without some sort of debug information there’s basically nothing to go on and I’m unable to help - sorry.
I need to go through and better isolate things to get a full round trip.
Interestingly, the node I can’t get working at the moment doesn’t even show up in the Z-wave Log Viewer’s output – Node 7 is completely missing, but there are logs for it…
For example, this is part of the output when I tried to set some associations:
This is a battery powered node, and I’m not sure with the Zwave plugin how to know if its woken up and the configuration change has been forwarded, but even overnight nothing gets set. With HomeSeer, if I set an association on it, it’ll get set the next time I do pretty much anything with the remote, so I assume “waking up” happens when I push any buttons at all.
Notice there’s some output about unknown association groups. Not sure if that might be indicative of the problem or not.
I also can’t figure out why all the other nodes in my test network are picked up by the log viewer, but those aren’t.
The log viewer shows data that is sent and transmitted - if there’s no messages sent to a node, then the node is probably not awake.
It depends on the device, and some devices do work like this, but typically this is not the case. The binding will only send data to the device if the device sends a wakeup notification to say that it’s awake.
I understand that. This particular device, at least behaviorally, does work that way with Homeseer and Vera. Unfortunately all my existing hard-wired devices that have associations are in my “production” network, and the family approval for this OpenHab experiment will vanish if I pull those out and things stop working.
So I need to dig through my devices and find one I can test with that isn’t battery. The only one I’ve got on the test network that a) has associations and b) is hard wired isn’t communicating anymore since I did the update, and I’ve yet to figure out why. That was one that reliably was working before.
is it just me or looks like with this (Jan2) version the latest device db not used? e.g. Vemmio MT-100 (#760) reports as could not resolve to a thingType!
is working fine in 1230 version.
For both - 1230 and 0102 it’s interesting to see ERROR level for kind of positive COMPLETE message (also in the habmin the green secureinclusioncompleted is shown, seems like no errors) when adding back the Danalock key (sorry I did not have zwave debug switched on - can repeat it tomorrow if it’s crucial and not a known cause) 2018-01-04 00:13:13.866 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 40: Using Scheme0 Network Key for Key Exchange since we are in inclusion mode. 2018-01-04 00:13:14.114 [ERROR] [alization.ZWaveNodeInitStageAdvancer] - NODE 40: SECURITY_INC State=COMPLETE 2018-01-04 00:13:17.976 [INFO ] [ommandclass.ZWaveVersionCommandClass] - NODE 40: Command Class COMMAND_CLASS_BASIC has version 0!