Fixing the enrollment issue for the remaining IAS devices. Also cleared the long standing typo "Confuguring"

This commit is contained in:
Vinay Rao
2015-08-29 20:14:26 -07:00
parent b611794854
commit e3facfcb32
7 changed files with 12 additions and 16 deletions

View File

@@ -143,8 +143,7 @@ def setLevel(value) {
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
log.debug "Confuguring Reporting and Bindings."
log.debug "Configuring Reporting and Bindings."
def configCmds = [
//Switch Reporting

View File

@@ -330,8 +330,7 @@ def setLevel(value) {
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
log.debug "Confuguring Reporting and Bindings."
log.debug "Configuring Reporting and Bindings."
def configCmds = [
//Switch Reporting

View File

@@ -201,10 +201,10 @@ def refresh()
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
log.debug "Confuguring Reporting, IAS CIE, and Bindings."
String zigbeeEui = swapEndianHex(device.hub.zigbeeEui)
log.debug "Configuring Reporting, IAS CIE, and Bindings."
def configCmds = [
"zcl global write 0x500 0x10 0xf0 {${zigbeeId}}", "delay 200",
"zcl global write 0x500 0x10 0xf0 {${zigbeeEui}}", "delay 200",
"send 0x${device.deviceNetworkId} 1 1", "delay 1500",
"zcl global send-me-a-report 1 0x20 0x20 0x3600 0x3600 {01}", "delay 200",

View File

@@ -280,7 +280,7 @@ private List parseIasMessage(String description) {
}
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
String zigbeeEui = swapEndianHex(device.hub.zigbeeEui)
def configCmds = [
//battery reporting and heartbeat
@@ -290,7 +290,7 @@ def configure() {
// Writes CIE attribute on end device to direct reports to the hub's EUID
"zcl global write 0x500 0x10 0xf0 {${zigbeeId}}", "delay 200",
"zcl global write 0x500 0x10 0xf0 {${zigbeeEui}}", "delay 200",
"send 0x${device.deviceNetworkId} 1 1", "delay 500",
]

View File

@@ -265,8 +265,7 @@ def refresh()
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
log.debug "Confuguring Reporting and Bindings."
log.debug "Configuring Reporting and Bindings."
def configCmds = [

View File

@@ -270,12 +270,12 @@ def refresh()
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
log.debug "Confuguring Reporting, IAS CIE, and Bindings."
String zigbeeEui = swapEndianHex(device.hub.zigbeeEui)
log.debug "Configuring Reporting, IAS CIE, and Bindings."
def configCmds = [
"delay 1000",
"zcl global write 0x500 0x10 0xf0 {${zigbeeId}}", "delay 200",
"zcl global write 0x500 0x10 0xf0 {${zigbeeEui}}", "delay 200",
"send 0x${device.deviceNetworkId} 1 1", "delay 1500",
"zcl global send-me-a-report 1 0x20 0x20 600 3600 {01}", "delay 200",

View File

@@ -134,8 +134,7 @@ def setLevel(value) {
def configure() {
String zigbeeId = swapEndianHex(device.hub.zigbeeId)
log.debug "Confuguring Reporting and Bindings."
log.debug "Configuring Reporting and Bindings."
def configCmds = [
//Switch Reporting