mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-29 14:23:08 +01:00
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
This commit is contained in:
@@ -111,7 +111,7 @@ def refresh() {
|
|||||||
def configure() {
|
def configure() {
|
||||||
def configCmds = [
|
def configCmds = [
|
||||||
"zdo bind 0x${device.deviceNetworkId} 1 1 6 {${device.zigbeeId}} {}", "delay 200",
|
"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
|
return configCmds + refresh() // send refresh cmds as part of config
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user