I am porting a ST DTH and have successfully gotten most of the functionality including doubletaps working. There is only one thing that is generating errors. When turning lights on or off there seems to be a difference with how hubitat parses the incoming events. See the parse method and the log pics below that show the difference.
Parse method (6th line down is where I log the value being stored in cmd):
def parse(String description) {
log.debug "description: $description"
def result = null
def cmd = zwave.parse(description, [0x20: 1, 0x25: 1, 0x26: 3, 0x56: 1, 0x70: 2, 0x72: 2, 0x85: 2])
if (cmd) {
log.info cmd
result = zwaveEvent(cmd)
log.debug "Parsed ${cmd} to ${result.inspect()}"
} else {
log.debug "Non-parsed event: ${description}"
}
result
}
ST logs (see circled in red):
Hubitat logs:
The hubitat does not include the value parameter that is sent in ST. This results in errors creating switch events because there is no value to process. Any ideas @mike.maxwell?