From b1368af37e54aaff4fb244e72347c2a8b7640fc5 Mon Sep 17 00:00:00 2001 From: larsfinander Date: Thu, 6 Aug 2015 12:16:30 -0700 Subject: [PATCH] Updated heartbeat for OSRAM bulb and Smartpower Outlet -OSRAM bulb config updated to make it check in every 5 min -Update attribute heartbeat once after configuration is done -Store timestamp each time data is received from device -Removed polling from OSRAM bulb --- .../smartthings/smartpower-outlet.src/smartpower-outlet.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicetypes/smartthings/smartpower-outlet.src/smartpower-outlet.groovy b/devicetypes/smartthings/smartpower-outlet.src/smartpower-outlet.groovy index cb152d0..a58b912 100644 --- a/devicetypes/smartthings/smartpower-outlet.src/smartpower-outlet.groovy +++ b/devicetypes/smartthings/smartpower-outlet.src/smartpower-outlet.groovy @@ -111,7 +111,7 @@ def refresh() { def configure() { def configCmds = [ "zdo bind 0x${device.deviceNetworkId} 1 1 6 {${device.zigbeeId}} {}", "delay 200", - "zdo bind 0x${device.deviceNetworkId} 1 1 0xB04 {${device.zigbeeId}} {}" + "zdo bind 0x${device.deviceNetworkId} 1 1 0xB04 {${device.zigbeeId}} {}", "delay 200" ] return configCmds + refresh() // send refresh cmds as part of config }