From 545be046f0a1f6603214b3966fd8e9cb7b025923 Mon Sep 17 00:00:00 2001 From: jackchi Date: Tue, 11 Jul 2017 17:05:42 -0700 Subject: [PATCH] [DHF-24] Update Aeon Multi6 to 2hr2min --- devicetypes/smartthings/aeon-multisensor-6.src/README.md | 8 ++------ .../aeon-multisensor-6.src/aeon-multisensor-6.groovy | 8 ++++---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/devicetypes/smartthings/aeon-multisensor-6.src/README.md b/devicetypes/smartthings/aeon-multisensor-6.src/README.md index 22015f9..85cd8e6 100644 --- a/devicetypes/smartthings/aeon-multisensor-6.src/README.md +++ b/devicetypes/smartthings/aeon-multisensor-6.src/README.md @@ -27,13 +27,9 @@ Works with: ## Device Health Aeon Labs MultiSensor 6 is polled by the hub. -As of hubCore version 0.14.38 the hub sends up reports every 15 minutes regardless of whether the state changed. -Device-Watch allows 2 check-in misses from device plus some lag time. So Check-in interval = (2*15 + 2)mins = 32 mins. -Not to mention after going OFFLINE when the device is plugged back in, it might take a considerable amount of time for -the device to appear as ONLINE again. This is because if this listening device does not respond to two poll requests in a row, -it is not polled for 5 minutes by the hub. This can delay up the process of being marked ONLINE by quite some time. +Aeon MultiSensor reports in once every hour. -* __32min__ checkInterval +* __122min__ checkInterval ## Troubleshooting diff --git a/devicetypes/smartthings/aeon-multisensor-6.src/aeon-multisensor-6.groovy b/devicetypes/smartthings/aeon-multisensor-6.src/aeon-multisensor-6.groovy index c789cd9..a678596 100644 --- a/devicetypes/smartthings/aeon-multisensor-6.src/aeon-multisensor-6.groovy +++ b/devicetypes/smartthings/aeon-multisensor-6.src/aeon-multisensor-6.groovy @@ -130,13 +130,13 @@ metadata { } def installed(){ -// Device-Watch simply pings if no device events received for 32min(checkInterval) - sendEvent(name: "checkInterval", value: 2 * 15 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID]) +// Device-Watch simply pings if no device events received for 122min(checkInterval) + sendEvent(name: "checkInterval", value: 2 * 60 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID]) } def updated() { -// Device-Watch simply pings if no device events received for 32min(checkInterval) - sendEvent(name: "checkInterval", value: 2 * 15 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID]) +// Device-Watch simply pings if no device events received for 122min(checkInterval) + sendEvent(name: "checkInterval", value: 2 * 60 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID]) log.debug "Updated with settings: ${settings}" log.debug "${device.displayName} is now ${device.latestValue("powerSupply")}"