How to parse MultiCmdEncap?

Hi Guys,

Anyone have example how to parse this?

def zwaveEvent(physicalgraph.zwave.commands.multicmdv1.MultiCmdEncap cmd) {
   log.debug "MultiCmdEncap ${cmd}"
}

and the output is “MultiCmdEncap [4]” which is contained 4 commands.
How to parse those 4 commands so that i can send each command to zwaveEvent(cmd)?

Did you have any luck solving this? I have the same issue.

I have the same issue, could someone from SmartThings help us out please?

From an ST zwave engineer: We have a pull request to add this, but we haven’t implemented it yet. I will keep this thread posted when we do add this functionality.

Still no way to parse MultiCmdEncap? It has been months since you told you are working on this…

def zwaveEvent(physicalgraph.zwave.commands.multicmdv1.MultiCmdEncap cmd) {
	log.debug "MultiCmd with $numberOfCommands inner commands"
	cmd.encapsulatedCommands(commandClassVersions).collect { encapsulatedCommand ->
		zwaveEvent(encapsulatedCommand)
	}.flatten()
}

commandClassVersions is optional.

Source: