Z Wave Supervision Command Class

Hi all,

I am new to Groovy and Z Wave driver. I just wrote a driver for my z wave roller blind and I think it is working. When I checked the Log today, I found many exception errors in my log similar to the one below with different commandbyte.

groovy.lang.MissingMethodException: No signature of method: user_driver_hubitat_Dooya_Motor_449.parse() is applicable for argument types: (hubitat.zwave.commands.supervisionv1.SupervisionGet) values: [SupervisionGet(statusUpdates:false, reserved:0, sessionID:35, commandLength:3, commandClassIdentifier:38, commandIdentifier:3, commandByte:[99])]

Without knowing what supervision command class is, I added this:

void zwaveEvent(hubitat.zwave.commands.supervisionv1.SupervisionGet cmd){
hubitat.zwave.Command encapCmd = cmd.encapsulatedCommand(commandClassVersions)
if (encapCmd) {
zwaveEvent(encapCmd)
}
sendHubCommand(new hubitat.device.HubAction(secure(zwave.supervisionV1.supervisionReport(sessionID: cmd.sessionID, reserved: 0, moreStatusUpdates: false, status: 0xFF, duration: 0)), hubitat.device.Protocol.ZWAVE))
}

Now, the original error is gone but a new exception error appears:

groovy.lang.MissingMethodException: No signature of method: user_driver_hubitat_Dooya_Motor_449.secure() is applicable for argument types: (hubitat.zwave.commands.supervisionv1.SupervisionReport) values: [SupervisionReport(moreStatusUpdates:false, reserved:0, sessionID:36, status:255, duration:0)]

I tried to read up more on supervision but couldn't find much info. Can someone point me to the right direction please? Thanks.

LOL, capitalization can be a killer as we are generally more concerned about spelling.