Added checkInterval sendEvent in installed() section for all zwave DTHs

This commit is contained in:
Parijat Das
2017-04-11 09:30:01 +05:30
parent a28c90e492
commit daefec9d1f
17 changed files with 87 additions and 2 deletions

View File

@@ -100,6 +100,11 @@ def parse(String description) {
result
}
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])
}
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])