@bcopeland
It looks like there may be a bug in zwaveSecureEncap(cmd) for this class.
Here's why I think that . . .
I have a simple function to call indicatorSet. Because I was getting errors, I put in two log.debug lines.
void indicate()
{
List<Short> indicators = [ 0x50, 0x03, 0x08, 0x50, 0x04, 0x03, 0x50, 0x05, 0x06]
log.debug "indicatorSet is: " + zwave.indicatorV3.indicatorSet(indicatorCount:3 , value:0, indicatorValues: indicators )
log.debug "indicatorSet secured is: " + secure(zwave.indicatorV3.indicatorSet(indicatorCount:3 , value:0, indicatorValues: indicators ))
sendToDevice(secure(zwave.indicatorV3.indicatorSet(indicatorCount:3 , value:0, indicatorValues: indicators ))) // Home Monitoring
}
The secure function is also straightforward. Again, note the debugging line
String secure(hubitat.zwave.Command cmd, Short ep = null ){
log.debug "Trying to secure ${cmd} with endpoint ${ep}"
if (ep) {
return zwaveSecureEncap(zwave.multiChannelV4.multiChannelCmdEncap(destinationEndPoint: ep).encapsulate(cmd))
} else {
return zwaveSecureEncap(cmd)
}
}
When I run the indicate() function I get the following logged output
dev:2262021-03-01 02:35:16.521 pm errorgroovy.lang.MissingPropertyException: No such property: indicatorId for class: java.lang.Integer on line 1984 (indicate)
dev:2262021-03-01 02:35:16.489 pm debugTrying to secure IndicatorSet(value:0, indicatorCount:3, indicatorValues:[80, 3, 8, 80, 4, 3, 80, 5, 6]) with endpoint null
dev:2262021-03-01 02:35:16.484 pm debugindicatorSet is: IndicatorSet(value:0, indicatorCount:3, indicatorValues:[80, 3, 8, 80, 4, 3, 80, 5, 6])
Note the errorgroovy.lang.MissingPropertyException error. This error is occurring at line 1984 which is the line
return zwaveSecureEncap(cmd)
in the secure function. It appears that zwaveSecureEncap is looking for a property indicatorId
which isn't even part of the indicatorSet command..