This documentation is currently incomplete.
Returns a zwave object given the commandClass, command and an optional version.
Command getCommand(Short commandClass, Short command, List<Short> payload, Integer version = null)
commandClass
- to be documented
Command
- to be documented
def zwaveEvent(hubitat.zwave.commands.crc16encapv1.Crc16Encap cmd) {
def encapsulatedCommand = zwave.getCommand(cmd.commandClass, cmd.command, cmd.data,1)
if (encapsulatedCommand) {
zwaveEvent(encapsulatedCommand)
} else {
log.warn "Unable to extract CRC16 command from ${cmd}"
}
}