Issues with Associations and Hubitat

Hey there folks,

I’m struggling with associations on some new LZW30 and LZW30-SN switches that I installed. Here’s my goal:

  • When I turn on switch “Kitchen Overhead Lights” (LZW30-SN Red), I’d like to also instantly turn on “Kitchen Cabinet Lights” (LZW30 Black), and vice-versa.

I ran through the Inovelli associations tool for Hubitat ([HOW-TO] Using the Z-Wave Association Tool in Hubitat), and set it as the following:

Source Capability: “Switch/Dimmer/Bulb”
Switch: “Kitchen Overhead Lights”
Destination Capability: “Switch/Dimmer/Bulb”
Dest Switch: “Kitchen Cabinet Lights”
Group: 2
Click Next
Click Done

The logs then show that Kitchen Overhead Lights is adding Node 16 (which is the DNI for Kitchen Cabinet Lights) to group 2:

dev:92 2021-04-12 01:33:37.715 info Kitchen Overhead Lights: Firmware report received: 1.20
dev:92 2021-04-12 01:33:36.250 info Kitchen Overhead Lights: Associations for Group 2: [16]
dev:92 2021-04-12 01:33:35.545 info Kitchen Overhead Lights: No Protection command class settings to update
dev:92 2021-04-12 01:33:35.431 info Kitchen Overhead Lights: Adding node 16 to group 2
dev:92 2021-04-12 01:33:35.423 info Kitchen Overhead Lights: There are no association actions to complete for group 1
dev:92 2021-04-12 01:33:35.380 info Kitchen Overhead Lights: configure()
dev:92 2021-04-12 01:33:35.352 info Kitchen Overhead Lights: Adding node 16 to association group 2
app:145 2021-04-12 01:33:35.281 debug Installed with settings: [overrideLabel:false, sCapability:Switch, dSwitch:[Kitchen Cabinet Lights], sSwitch:Kitchen Overhead Lights, dCapability:Switch, groupNumber:2]

However when I turn on/off Kitchen Overhead Lights, the Kitchen Cabinet Lights do not do anything. Can you help me troubleshoot why this might be? Am I missing something in the process?

Here are the details of both switches involved:

Kitchen Overhead Lights (DNI: 13)
Current States
* energy : 0.163
* firmware : 1.20
* groups : 2
* held : 1
* lastActivity : 2021 Apr 12 Mon 1:33:37 AM
* lastEvent : Tap ▼
* numberOfButtons : 8
* power : 0
* pushed : 1
* switch : off
State Variables
* parameter2value : 0
* parameter5value : 170
* parameter10value : 10
* localProtectionState : 0
* oldLabel : Kitchen Overhead Lights
* desiredAssociation2 : [16]
* parameter11value : 3600
* parameter13value : 0
* associationGroups : 2
* parameter51value : 1
* rfProtectionState : 0
* parameter7value : 5
* parameter4value : 15
* needfwUpdate : false
* lastRan : 1618148917914
* defaultG3 :
* actualAssociation2 : [16]
* parameter1value : 0
* parameter3value : 0
* defaultG2 :
* actualAssociation1 : [01]
* defaultG1 : [01]
* parameter6value : 2
* parameter12value : 10

Kitchen Cabinet Lights (DNI: 16)
Current States
* firmware : 1.21
* groups : 2
* lastActivity : 2021 Apr 11 Sun 2:08:47 PM
* switch : off
State Variables
* parameter2value : 0
* parameter5value : 170
* localProtectionState : 0
* oldLabel : Kitchen Cabinet Lights
* parameter13value : 0
* associationGroups : 2
* parameter51value : 1
* rfProtectionState : 0
* parameter7value : 5
* parameter4value : 15
* needfwUpdate : false
* lastRan : 1618129354415
* defaultG3 :
* actualAssociation2 :
* parameter1value : 0
* parameter3value : 0
* defaultG2 :
* actualAssociation1 : [01]
* defaultG1 : [01]
* parameter6value : 2

(Disregard any date/time issues you see, my hub’s time is certainly not correct at the moment).

Thanks!

What do you see in the logs when you turn on/off the Kitchen Overhead Lights?

As an alternate approach if you’re interested, I haven’t messed with zwave association because I use Hubitats Groups function. You could take both the Kitchen Overhead Lights and Cabinet Lights and put them together in a group called “Kitchen Lights” or similar and then you can trigger them on/off via a rule, or by voice/app using the group entity instead.

Using association is significantly faster than using groups or rules to achieve the same thing.

@SlothCroissant I’m not seeing anything glaring that you missed. Maybe doing the process again? Also try controlling the kitchen cabinet lights via a zwave command from the hub to make sure the node is connected properly.

@EricM_Inovelli is our Hubitat wizard

Are both switches in a common security group (i.e., both in S0, both in S2 Authenticated, both in S2 Unauthenticated, etc.) ?

2 Likes

Can you post the “Data” info that is at the bottom of the device page (in the Device Details section).

@EricM_Inovelli Here you go:

Kitchen Cabinet Lights:

zwaveSecurePairingComplete: true
S2: 128
deviceId: 1
deviceType: 4
manufacturer: 798
inClusters: 0x5E,0x6C,0x55,0x98,0x9F,0x22
secureInClusters: 0x70,0x85,0x59,0x86,0x25,0x72,0x5A,0x73,0x75,0x7A
associationGroup1: [01]
associationGroup2: []

Kitchen Overhead Lights:

deviceId: 1
deviceType: 2
manufacturer: 798
inClusters: 0x5E,0x6C,0x55,0x98,0x9F,0x22
associationGroup1: [01]
associationGroup2: [29]
zwNodeInfo: D3 9C 00 04 10 01 5E 6C 55 98 9F 22 68 23

NOTE: As part of my troubleshooting, I removed and re-added Kitchen Cabinet Lights, as I noticed it says it was added as S2 when you look at the data above (looking at @darthandroid’s idea for a bit). The logs show it added as S0, but the info above makes it look like it’s actually S2. Looking at my other LZW30 devices, they align with this one, in that they also show S2 even though I certainly added everything as S0.

dev:164 2021-06-14 18:31:17.325 infoInovelli Switch LZW30: configure()
dev:164 2021-06-14 18:31:17.250 infoInovelli Switch LZW30: refresh()
dev:164 2021-06-14 18:31:17.249 infoInovelli Switch LZW30: installed()
sys:1 2021-06-14 18:31:02.084 S0 security was selected for an S2 capable device, it will include using nonoptimal security.
sys:1 2021-06-14 18:30:48.159 Z-Wave Discovery Running
sys:1 2021-06-14 18:30:30.289 Z-Wave device Kitchen Cabinet Lights excluded and removed.

Also to those who asked - I can control the lights from Hubitat without issues.

check zwave details for the device.

Looks like they’re all S0, aside from a few (unrelated to this project) that are “none”.

Solved - I think that I was mistaking “none” and “S0” security modes for Z-Wave. Moving my switches to “None” solved this. I think one was on S0.

I live far enough out of range of the next house that Z-Wave security for my light switches is inconsequential to me.

Thanks all for shoving me down the right path!

1 Like

Glad you got it figured out!

2 Likes

Nice!

1 Like

how do you get the switches to pair non secure? im currently on the C5 so i dont have that security tab… is there another way to know

I ended up moving over to Home Assistant recently, so I’m no help for Hubitat any longer :slight_smile:

2 Likes

On hubs prior to C-7 security was off by default for all but locks and garage door controllers. It is controlled under setting then Z-Wave.

1 Like