@@ -253,22 +253,19 @@ def configure() {
253
253
254
254
log. debug " Configuring Reporting and Bindings."
255
255
def configCmds = [
256
+ " zdo bind 0x${ device.deviceNetworkId} 1 1 1 {${ device.zigbeeId} } {}" , " delay 500" ,
257
+ " zcl global send-me-a-report 1 0x20 0x20 30 21600 {01}" , // checkin time 6 hrs
258
+ " send 0x${ device.deviceNetworkId} 1 1" , " delay 500" ,
256
259
257
-
258
- " zcl global send-me-a-report 1 0x20 0x20 600 3600 {0100}" , " delay 500" ,
259
- " send 0x${ device.deviceNetworkId} 1 1" , " delay 1000" ,
260
-
261
- " zcl global send-me-a-report 0x402 0 0x29 300 3600 {6400}" , " delay 200" ,
262
- " send 0x${ device.deviceNetworkId} 1 1" , " delay 1500" ,
263
-
264
- " zcl global send-me-a-report 0xFC45 0 0x29 300 3600 {6400}" , " delay 200" ,
265
- " send 0x${ device.deviceNetworkId} 1 1" , " delay 1500" ,
266
-
267
- " zdo bind 0x${ device.deviceNetworkId} 1 1 0xFC45 {${ device.zigbeeId} } {}" , " delay 1000" ,
268
260
" zdo bind 0x${ device.deviceNetworkId} 1 1 0x402 {${ device.zigbeeId} } {}" , " delay 500" ,
269
- " zdo bind 0x${ device.deviceNetworkId} 1 1 1 {${ device.zigbeeId} } {}"
261
+ " zcl global send-me-a-report 0x402 0 0x29 30 3600 {6400}" ,
262
+ " send 0x${ device.deviceNetworkId} 1 1" , " delay 500" ,
263
+
264
+ " zdo bind 0x${ device.deviceNetworkId} 1 1 0xFC45 {${ device.zigbeeId} } {}" , " delay 500" ,
265
+ " zcl global send-me-a-report 0xFC45 0 0x29 30 3600 {6400}" ,
266
+ " send 0x${ device.deviceNetworkId} 1 1" , " delay 500"
270
267
]
271
- return configCmds + refresh() // send refresh cmds as part of config
268
+ return configCmds + refresh() // send refresh cmds as part of config
272
269
}
273
270
274
271
private hex (value ) {
0 commit comments