configurationGet not working on Enerwave ZWN-RSM2-PLUS


#1

I’m trying to figure out why my Enerwave ZWN-RSM2-PLUS dual-relay does not provide instant status updates. According to the documentation I should set parameter 3 to 1 to enable them. I’m using the following command:
zwave.configurationV2.configurationSet(parameterNumber:3, size:1, configurationValue:[1]).format()

I’m checking the value by using this command:
zwave.configurationV1.configurationGet(parameterNumber:3).format()

I also have the following in the device handler in order to try and catch any response from the device:
def zwaveEvent(physicalgraph.zwave.commands.configurationv1.ConfigurationReport cmd) {
log.debug “${cmd.configurationValue}”
}

def parse(String description) {
log.debug "DEBUG parse"
def result = []
def cmd = zwave.parse(description)
if (cmd) {
result += zwaveEvent(cmd)
log.debug “Parsed ${cmd} to ${result.inspect()}”
} else {
log.debug “Non-parsed event: ${description}”
}
return result
}

The problem is that nothing shows up in the Logs. It’s as if the device doesn’t support writing/reading parameters. What am I doing wrong?


#2

For the Enerwave ZWN-RSM2-PLUS I was able to get instant status updates working with the following code:

def configure() {
log.debug "configure() called"
def cmds = []
cmds << zwave.configurationV2.configurationSet(parameterNumber:3, size:1, configurationValue:[1]).format()
cmds << zwave.associationV2.associationSet(groupingIdentifier:2, nodeId:[zwaveHubNodeId]).format()
cmds << zwave.associationV2.associationSet(groupingIdentifier:3, nodeId:[zwaveHubNodeId]).format()
delayBetween(cmds, 2000)
}


(Matt Bowman) #3

Where are you putting in this code. Sorry still trying to figure this out. I k ow it needs to go into IDE but are you modifying a handler?


#4

Yes, you could edit the SmartThings Z-Wave Device Multichannel device handler so that the configure function looks like the following.

def configure() {
commands([zwave.multiChannelV3.multiChannelEndPointGet(),
zwave.associationV2.associationSet(groupingIdentifier:2, nodeId:[zwaveHubNodeId]),
zwave.associationV2.associationSet(groupingIdentifier:3, nodeId:[zwaveHubNodeId])
], 800)
}


#5

can you post the complete handler (CAPFAN)?