DVCSMP-2088 Philips Hue: Add explicit online events

This commit is contained in:
Lars Finander
2016-10-14 16:48:14 -06:00
parent c11c146690
commit 94f57dd249
6 changed files with 206 additions and 227 deletions

View File

@@ -45,7 +45,7 @@ metadata {
}
void installed() {
sendEvent(name: "checkInterval", value: 60 * 12, data: [protocol: "lan"], displayed: false)
sendEvent(name: "DeviceWatch-Enroll", value: "{\"protocol\": \"LAN\", \"scheme\":\"untracked\", \"hubHardwareId\": \"${device.hub.hardwareID}\"}")
}
// parse events into attributes
@@ -87,6 +87,3 @@ def parse(description) {
results
}
def ping() {
log.debug "${parent.ping(this)}"
}