Skip to content

Commit

Permalink
Merge pull request #3763 from SmartThingsCommunity/staging
Browse files Browse the repository at this point in the history
Rolling down staging hotfix to master
  • Loading branch information
workingmonk committed Dec 11, 2018
2 parents 4408df1 + 58bad4f commit c954233
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
13 changes: 12 additions & 1 deletion devicetypes/smartthings/aeon-siren.src/aeon-siren.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,16 @@ def installed() {
}

def updated() {
log.debug "updated()"
def commands = []
// Device-Watch simply pings if no device events received for 32min(checkInterval)

// Device-Watch simply pings if no device events received for 32min(checkInterval)
sendEvent(name: "checkInterval", value: 2 * 15 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID, offlinePingable: "1"])

log.debug "Scheduling health check every 15 minutes"
unschedule("healthPoll", [forceForLocallyExecuting: true])
runEvery15Minutes("healthPoll", [forceForLocallyExecuting: true])

if(!state.sound) state.sound = 1
if(!state.volume) state.volume = 3

Expand Down Expand Up @@ -186,3 +192,8 @@ private secure(physicalgraph.zwave.Command cmd) {
def ping() {
secure(zwave.basicV1.basicGet())
}

def healthPoll() {
log.debug "healthPoll()"
sendHubCommand(ping())
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private getDEVICE_CHECK_IN_INTERVAL_VAL_INT() { 30 * 60 }

def installed() {
sendEvent(name: "water", value: "dry", displayed: false)
sendEvent(name: "temperatureAlarm", value: "cleared", displayed: false)
refresh()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ metadata {
command "updateWeather"

fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204", outClusters: "0402", manufacturer: "Stelpro", model: "STZB402+", deviceJoinName: "Stelpro Ki ZigBee Thermostat"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204", outClusters: "0402", manufacturer: "Stelpro", model: "ST218", deviceJoinName: "Stelpro Orleans Convector"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204", outClusters: "0402", manufacturer: "Stelpro", model: "ST218", deviceJoinName: "Stelpro ORLÉANS Convector"
}

// simulator metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ metadata {
command "updateWeather"

fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204, 0405", outClusters: "0003, 000A, 0402", manufacturer: "Stelpro", model: "MaestroStat", deviceJoinName: "Stelpro Maestro Thermostat"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204, 0405", outClusters: "0003, 000A, 0402", manufacturer: "Stelpro", model: "SORB", deviceJoinName: "Stelpro Maestro Thermostat"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204, 0405", outClusters: "0003, 000A, 0402", manufacturer: "Stelpro", model: "SonomaStyle", deviceJoinName: "Stelpro Maestro Thermostat"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204, 0405", outClusters: "0003, 000A, 0402", manufacturer: "Stelpro", model: "SORB", deviceJoinName: "Stelpro ORLÉANS Fan Heater"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0201, 0204, 0405", outClusters: "0003, 000A, 0402", manufacturer: "Stelpro", model: "SonomaStyle", deviceJoinName: "Stelpro Sonoma Style Fan Heater"
}

// simulator metadata
Expand Down

0 comments on commit c954233

Please sign in to comment.