While working on one of my Device Handlers I noticed in my logs that one of the incoming zwave commands was generating a null result on parse.
The command is “zw device: 10, command: 3105, payload: 01 01 1A”
My parse in the DH is coded as
def map = createEvent(zwaveEvent(zwave.parse(description, [0x70:1, 0x42:1, 0x43:2, 0x31: 3])))
I have a few questions
- what is the second argument to zwave.parse ? I know it’s a list of zwave codes and versions from looking at it but what is it used for? What happens if the incoming command is not in the provided list of codes, is it ignored ? I suspect the second argument just lets you select the version to use for the command but I can’t find the command documented in the SmartThings documentation. It’s listed in examples a lot but never explained.
- What part of the incoming message, in this case “zw device: 10, command: 3105, payload: 01 01 1A” is the command? I am wondering what this command which I am currently ignoring, is sending.
Any experts out there that can help?