Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
krlaframboise committed Sep 3, 2017
1 parent 183e697 commit 7dca624
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Vision Shock Sensor v1.2.2
* Vision Shock Sensor v1.2.1
* (ZS 5101)
*
* Author:
Expand All @@ -9,9 +9,6 @@
*
* Changelog:
*
* 1.2.2 (08/31/2017)
* - testing
*
* 1.2.1 (08/31/2017)
* - Using Notification Report to detect activity is unreliable in the Monoprice version so switched to BasicSet.
*
Expand Down Expand Up @@ -318,7 +315,7 @@ def zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport cmd) {
}

def zwaveEvent(physicalgraph.zwave.commands.basicv1.BasicSet cmd) {
log.warn "Basic Set: $cmd"
// logTrace "Basic Set: $cmd"
def result = []
createPrimaryEventMaps(cmd.value == 0XFF)?. each {
result << createEvent(it)
Expand All @@ -327,7 +324,7 @@ def zwaveEvent(physicalgraph.zwave.commands.basicv1.BasicSet cmd) {
}

def zwaveEvent(physicalgraph.zwave.commands.sensorbinaryv2.SensorBinaryReport cmd) {
log.warn "SensorBinaryReport: $cmd"
logTrace "SensorBinaryReport: $cmd"
return []
}

Expand All @@ -339,7 +336,7 @@ def zwaveEvent(physicalgraph.zwave.Command cmd) {

// Contact event is being created using Sensor Binarry command class so this event is ignored.
def zwaveEvent(physicalgraph.zwave.commands.notificationv3.NotificationReport cmd) {
log.warn "NotificationReport: $cmd"
// logTrace "NotificationReport: $cmd"
def result = []
if (cmd.notificationType == 7) {
if (cmd.event == 2 || cmd.v1AlarmType == 2) {
Expand Down

0 comments on commit 7dca624

Please sign in to comment.