zwave.multiChannelV4 - toString - Not implemented

Hello Guys, (@bravenel | @bcopeland)

I am developing a driver (In secure mode S2: 131) that needs multiChannelV4 and I have just noticed that the toString has not been implemented on version v4, with v3 the object gets printed correctly.
I have verified the issue with 2.2.3 and 2.2.4.139

Example:

[trace] cmd: hubitat.zwave.commands.multichannelv4.MultiChannelCmdEncap@9b5d53


def zwaveEvent(hubitat.zwave.commands.multichannelv4.MultiChannelCmdEncap cmd) {
  log.trace "cmd: ${cmd.inspect()}"
}
1 Like

Thanks, we will have a look

I just noticed this today as well, could not figure out what I was doing wrong. Just wanted to update my driver from v3 to v4 but the command trace was coming out like you showed so I didn't know if it was going to work correctly.

Yes this needs a quick fix on the hub code.

Looks like this was fixed for 2.2.5 in some of the multichannel classes but not the v4 MultiChannelCmdEncap. Still getting this in my logs when trying to show the command instead of the actual command.

hubitat.zwave.commands.multichannelv4.MultiChannelCmdEncap@1b2fa9d

Once it goes through the supervision I get a proper command that gets logged using the same method to print to the logs.

SupervisionGet(statusUpdates:false, reserved:0, sessionID:24, commandLength:3, commandClassIdentifier:37, commandIdentifier:3, commandByte:[255])