Skip to content

Commit

Permalink
Updated heartbeat for OSRAM bulb and Smartpower Outlet
Browse files Browse the repository at this point in the history
-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
  • Loading branch information
larsfinander committed Aug 6, 2015
1 parent ab75af8 commit b1368af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit b1368af

Please sign in to comment.