Skip to content

Commit

Permalink
change the health check interval to the sensor heart beat time 30 min…
Browse files Browse the repository at this point in the history
…tues.
  • Loading branch information
jinkangzhangS committed Jul 25, 2018
1 parent 9e31234 commit 34a60cb
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
}

0 comments on commit 34a60cb

Please sign in to comment.