The universal switch drivers causes the device to stop reporting anything via Log.
I picked up "Zooz Tilt Shock XS Sensor v0.1.0" Driver, which works I get log of 0\255. I know modification is needed pick up these values.
if (cmd.notificationType == 0x07) {
if ((cmd.event == 0x03)) {
if (logDesc) log.info "$device.displayName is active"
sendEvent(name: "acceleration", value: "active", descriptionText: "$device.displayName is active", type: "physical")
} else if (cmd.event == 0x00) {
if (logDesc) log.info "$device.displayName is inactive"
sendEvent(name: "acceleration", value: "inactive", descriptionText: "$device.displayName is inactive", type: "physical")
} else {
log.debug "Unhandled notification: Type ${cmd.notificationType}, Event ${cmd.event}"
}
}
}
