From 34a60cb447c5b7ef0e93961d5848d97a497314f3 Mon Sep 17 00:00:00 2001 From: zhangjinkang Date: Tue, 24 Jul 2018 23:43:59 -0400 Subject: [PATCH] change the health check interval to the sensor heart beat time 30 mintues. --- .../orvibo-gas-detector.src/Orvibo-Gas-detector.groovy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy b/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy index 888db8f3259..c7f6a00e5e9 100644 --- a/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy +++ b/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy @@ -94,7 +94,5 @@ def ping() { } def configure() { log.debug "configure" - //The gas sensor has no battery , it can response the ping immediately - //so i set the checkTinterval to 5 minutes . - sendEvent(name: "checkInterval", value: 5*60, displayed: false, data: [protocol: "zigbee", hubHardwareId: device.hub.hardwareID, offlinePingable: "1"]) + sendEvent(name: "checkInterval", value: 30 * 60 + 2 * 60, displayed: false, data: [protocol: "zigbee", hubHardwareId: device.hub.hardwareID, offlinePingable: "1"]) }