Skip to content

Commit

Permalink
Merge pull request bspranger#33 from veeceeoh/patch-7
Browse files Browse the repository at this point in the history
Corrected comments for configure reporting
  • Loading branch information
bspranger authored Jan 21, 2018
2 parents f1614d8 + 75aa34a commit 7aef531
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,16 +378,15 @@ def resetBatteryRuntime() {
def refresh(){
log.debug "${device.displayName}: refreshing"
checkIntervalEvent("refresh");
// temperature minReportTime 1 minute, maxReportTime 15 min., reporting internal if no activity
return zigbee.configureReporting(0x0402, 0x0000, 0x29, 60, 900, 0x0064)
}

def configure() {
log.debug "${device.displayName}: configure"
state.battery = 0
checkIntervalEvent("configure");

// temperature minReportTime 30 seconds, maxReportTime 5 min. Reporting interval if no activity
// battery minReport 30 seconds, maxReportTime 6 hrs by default
// temperature minReportTime 1 minute, maxReportTime 15 min., reporting internal if no activity
return zigbee.configureReporting(0x0402, 0x0000, 0x29, 60, 900, 0x0064)
}

Expand Down

0 comments on commit 7aef531

Please sign in to comment.