mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-18 21:03:39 +00:00
Compare commits
1 Commits
MSA-2002-1
...
MSA-1999-2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93f22a2c84 |
@@ -16,7 +16,7 @@
|
|||||||
* Date: 2014-07-15
|
* Date: 2014-07-15
|
||||||
*/
|
*/
|
||||||
metadata {
|
metadata {
|
||||||
definition (name: "Aeon Siren", namespace: "smartthings", author: "SmartThings", ocfDeviceType: "x.com.st.d.sensor.smoke") {
|
definition (name: "Aeon Siren", namespace: "smartthings", author: "SmartThings") {
|
||||||
capability "Actuator"
|
capability "Actuator"
|
||||||
capability "Alarm"
|
capability "Alarm"
|
||||||
capability "Switch"
|
capability "Switch"
|
||||||
|
|||||||
@@ -1,163 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright 2017 SmartThings
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
||||||
* in compliance with the License. You may obtain a copy of the License at:
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
|
|
||||||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
|
|
||||||
* for the specific language governing permissions and limitations under the License.
|
|
||||||
*
|
|
||||||
* Everspring ST815 Illuminance Sensor
|
|
||||||
*
|
|
||||||
* Author: SmartThings
|
|
||||||
* Date: 2017-3-4
|
|
||||||
*/
|
|
||||||
|
|
||||||
metadata {
|
|
||||||
definition (name: "Everspring Illuminance Sensor", namespace: "smartthings", author: "SmartThings") {
|
|
||||||
capability "Illuminance Measurement"
|
|
||||||
capability "Battery"
|
|
||||||
capability "Configuration"
|
|
||||||
capability "Sensor"
|
|
||||||
capability "Health Check"
|
|
||||||
|
|
||||||
fingerprint mfr:"0060", prod:"0007", model:"0001"
|
|
||||||
}
|
|
||||||
|
|
||||||
simulator {
|
|
||||||
for( int i = 0; i <= 100; i += 20 ) {
|
|
||||||
status "illuminace ${i} lux": new physicalgraph.zwave.Zwave().sensorMultilevelV2.sensorMultilevelReport(
|
|
||||||
scaledSensorValue: i, precision: 0, sensorType: 3, scale: 1).incomingMessage()
|
|
||||||
}
|
|
||||||
|
|
||||||
for( int i = 0; i <= 100; i += 20 ) {
|
|
||||||
status "battery ${i}%": new physicalgraph.zwave.Zwave().batteryV1.batteryReport(
|
|
||||||
batteryLevel: i).incomingMessage()
|
|
||||||
}
|
|
||||||
|
|
||||||
status "wakeup": "command: 8407, payload: "
|
|
||||||
}
|
|
||||||
|
|
||||||
tiles(scale: 2) {
|
|
||||||
valueTile("temperature", "device.temperature", inactiveLabel: false, width: 2, height: 2) {
|
|
||||||
state "temperature", label:'${currentValue}°',
|
|
||||||
backgroundColors:[
|
|
||||||
[value: 32, color: "#153591"],
|
|
||||||
[value: 44, color: "#1e9cbb"],
|
|
||||||
[value: 59, color: "#90d2a7"],
|
|
||||||
[value: 74, color: "#44b621"],
|
|
||||||
[value: 84, color: "#f1d801"],
|
|
||||||
[value: 92, color: "#d04e00"],
|
|
||||||
[value: 98, color: "#bc2323"]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
valueTile("humidity", "device.humidity", inactiveLabel: false, width: 2, height: 2) {
|
|
||||||
state "humidity", label:'${currentValue}% humidity', unit:""
|
|
||||||
}
|
|
||||||
valueTile("battery", "device.battery", inactiveLabel: false, decoration: "flat", width: 2, height: 2) {
|
|
||||||
state "battery", label:'${currentValue}% battery', unit:""
|
|
||||||
}
|
|
||||||
|
|
||||||
main( ["temperature", "humidity"] )
|
|
||||||
details( ["temperature", "humidity", "battery"] )
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def updated() {
|
|
||||||
state.configured = false
|
|
||||||
}
|
|
||||||
|
|
||||||
def parse(String description) {
|
|
||||||
def result = []
|
|
||||||
|
|
||||||
def cmd = zwave.parse(description, [0x20: 1, 0x31: 2, 0x70: 1, 0x71: 1, 0x80: 1, 0x84: 2, 0x85: 2])
|
|
||||||
|
|
||||||
if (cmd) {
|
|
||||||
result = zwaveEvent(cmd)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (result instanceof List) {
|
|
||||||
log.debug "Parsed '$description' to ${result.collect { it.respondsTo("toHubAction") ? it.toHubAction() : it }}"
|
|
||||||
} else {
|
|
||||||
log.debug "Parsed '$description' to ${result}"
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.wakeupv2.WakeUpNotification cmd) {
|
|
||||||
def result = [
|
|
||||||
createEvent(descriptionText: "${device.displayName} woke up", isStateChange: false)
|
|
||||||
]
|
|
||||||
if (state.configured) {
|
|
||||||
result << response(zwave.batteryV1.batteryGet())
|
|
||||||
} else {
|
|
||||||
result << response(configure())
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.alarmv1.AlarmReport cmd) {
|
|
||||||
if (cmd.alarmType == 1 && cmd.alarmType == 0xFF) {
|
|
||||||
return createEvent(descriptionText: "${device.displayName} battery is low", isStateChange: true)
|
|
||||||
} else if (cmd.alarmType == 2 && cmd.alarmLevel == 1) {
|
|
||||||
return createEvent(descriptionText: "${device.displayName} powered up", isStateChange: false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.sensormultilevelv2.SensorMultilevelReport cmd) {
|
|
||||||
|
|
||||||
def map = [:]
|
|
||||||
switch( cmd.sensorType ) {
|
|
||||||
case 3:
|
|
||||||
// luminance
|
|
||||||
map.value = cmd.scaledSensorValue.toInteger().toString()
|
|
||||||
map.unit = "lux"
|
|
||||||
map.name = "illuminance"
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
return createEvent(map)
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport cmd) {
|
|
||||||
def map = [ name: "battery", unit: "%" ]
|
|
||||||
if (cmd.batteryLevel == 0xFF) {
|
|
||||||
map.value = 1
|
|
||||||
map.descriptionText = "${device.displayName} has a low battery"
|
|
||||||
map.isStateChange = true
|
|
||||||
} else {
|
|
||||||
map.value = cmd.batteryLevel
|
|
||||||
}
|
|
||||||
|
|
||||||
def response_cmds = []
|
|
||||||
if (!currentTemperature) {
|
|
||||||
response_cmds << zwave.sensorMultilevelV2.sensorMultilevelGet().format()
|
|
||||||
response_cmds << "delay 1000"
|
|
||||||
}
|
|
||||||
response_cmds << zwave.wakeUpV1.wakeUpNoMoreInformation().format()
|
|
||||||
|
|
||||||
return [createEvent(map), response(response_cmds)]
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.Command cmd) {
|
|
||||||
log.debug "Unhandled: ${cmd.toString()}"
|
|
||||||
return [:]
|
|
||||||
}
|
|
||||||
|
|
||||||
def configure() {
|
|
||||||
state.configured = true
|
|
||||||
sendEvent(name: "checkInterval", value: 8 * 60 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID])
|
|
||||||
delayBetween([
|
|
||||||
// Auto report time interval in minutes
|
|
||||||
zwave.configurationV1.configurationSet(parameterNumber: 5, size: 2, scaledConfigurationValue: 20).format(),
|
|
||||||
|
|
||||||
// Auto report lux change threshold
|
|
||||||
zwave.configurationV1.configurationSet(parameterNumber: 6, size: 2, scaledConfigurationValue: 30).format(),
|
|
||||||
|
|
||||||
// Get battery – report triggers WakeUpNMI
|
|
||||||
zwave.batteryV1.batteryGet().format()
|
|
||||||
])
|
|
||||||
}
|
|
||||||
@@ -1,188 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright 2017 SmartThings
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
||||||
* in compliance with the License. You may obtain a copy of the License at:
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
|
|
||||||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
|
|
||||||
* for the specific language governing permissions and limitations under the License.
|
|
||||||
*
|
|
||||||
* Everspring ST814 Temperature/Humidity Sensor
|
|
||||||
*
|
|
||||||
* Author: SmartThings
|
|
||||||
* Date: 2017-3-4
|
|
||||||
*/
|
|
||||||
|
|
||||||
metadata {
|
|
||||||
definition (name: "Everspring ST814", namespace: "smartthings", author: "SmartThings") {
|
|
||||||
capability "Temperature Measurement"
|
|
||||||
capability "Relative Humidity Measurement"
|
|
||||||
capability "Battery"
|
|
||||||
capability "Configuration"
|
|
||||||
capability "Sensor"
|
|
||||||
capability "Health Check"
|
|
||||||
|
|
||||||
fingerprint mfr:"0060", prod:"0006", model:"0001"
|
|
||||||
}
|
|
||||||
|
|
||||||
simulator {
|
|
||||||
for( int i = 0; i <= 100; i += 20 ) {
|
|
||||||
status "temperature ${i}F": new physicalgraph.zwave.Zwave().sensorMultilevelV2.sensorMultilevelReport(
|
|
||||||
scaledSensorValue: i, precision: 1, sensorType: 1, scale: 1).incomingMessage()
|
|
||||||
}
|
|
||||||
|
|
||||||
for( int i = 0; i <= 100; i += 20 ) {
|
|
||||||
status "humidity ${i}%": new physicalgraph.zwave.Zwave().sensorMultilevelV2.sensorMultilevelReport(
|
|
||||||
scaledSensorValue: i, precision: 0, sensorType: 5).incomingMessage()
|
|
||||||
}
|
|
||||||
|
|
||||||
for( int i = 0; i <= 100; i += 20 ) {
|
|
||||||
status "battery ${i}%": new physicalgraph.zwave.Zwave().batteryV1.batteryReport(
|
|
||||||
batteryLevel: i).incomingMessage()
|
|
||||||
}
|
|
||||||
status "wakeup": "command: 8407, payload: "
|
|
||||||
}
|
|
||||||
|
|
||||||
tiles(scale: 2) {
|
|
||||||
valueTile("temperature", "device.temperature", inactiveLabel: false, width: 2, height: 2) {
|
|
||||||
state "temperature", label:'${currentValue}°',
|
|
||||||
backgroundColors:[
|
|
||||||
[value: 32, color: "#153591"],
|
|
||||||
[value: 44, color: "#1e9cbb"],
|
|
||||||
[value: 59, color: "#90d2a7"],
|
|
||||||
[value: 74, color: "#44b621"],
|
|
||||||
[value: 84, color: "#f1d801"],
|
|
||||||
[value: 92, color: "#d04e00"],
|
|
||||||
[value: 98, color: "#bc2323"]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
valueTile("humidity", "device.humidity", inactiveLabel: false, width: 2, height: 2) {
|
|
||||||
state "humidity", label:'${currentValue}% humidity', unit:""
|
|
||||||
}
|
|
||||||
valueTile("battery", "device.battery", inactiveLabel: false, decoration: "flat", width: 2, height: 2) {
|
|
||||||
state "battery", label:'${currentValue}% battery', unit:""
|
|
||||||
}
|
|
||||||
|
|
||||||
main( ["temperature", "humidity"] )
|
|
||||||
details( ["temperature", "humidity", "battery"] )
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def updated() {
|
|
||||||
state.configured = false
|
|
||||||
}
|
|
||||||
|
|
||||||
def parse(String description) {
|
|
||||||
def result = []
|
|
||||||
|
|
||||||
def cmd = zwave.parse(description, [0x20: 1, 0x31: 2, 0x70: 1, 0x71: 1, 0x80: 1, 0x84: 2, 0x85: 2])
|
|
||||||
|
|
||||||
if (cmd) {
|
|
||||||
result = zwaveEvent(cmd)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (result instanceof List) {
|
|
||||||
log.debug "Parsed '$description' to ${result.collect { it.respondsTo("toHubAction") ? it.toHubAction() : it }}"
|
|
||||||
} else {
|
|
||||||
log.debug "Parsed '$description' to ${result}"
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.wakeupv2.WakeUpNotification cmd) {
|
|
||||||
def result = [
|
|
||||||
createEvent(descriptionText: "${device.displayName} woke up", isStateChange: false)
|
|
||||||
]
|
|
||||||
if (state.configured) {
|
|
||||||
result << response(zwave.batteryV1.batteryGet())
|
|
||||||
} else {
|
|
||||||
result << response(configure())
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.alarmv1.AlarmReport cmd) {
|
|
||||||
if (cmd.alarmType == 1 && cmd.alarmType == 0xFF) {
|
|
||||||
return createEvent(descriptionText: "${device.displayName} battery is low", isStateChange: true)
|
|
||||||
} else if (cmd.alarmType == 2 && cmd.alarmLevel == 1) {
|
|
||||||
return createEvent(descriptionText: "${device.displayName} powered up", isStateChange: false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.sensormultilevelv2.SensorMultilevelReport cmd) {
|
|
||||||
|
|
||||||
def map = [:]
|
|
||||||
switch( cmd.sensorType ) {
|
|
||||||
case 1:
|
|
||||||
/* temperature */
|
|
||||||
def cmdScale = cmd.scale == 1 ? "F" : "C"
|
|
||||||
map.value = convertTemperatureIfNeeded(cmd.scaledSensorValue, cmdScale, cmd.precision)
|
|
||||||
map.unit = getTemperatureScale()
|
|
||||||
map.name = "temperature"
|
|
||||||
break
|
|
||||||
case 5:
|
|
||||||
/* humidity */
|
|
||||||
map.value = cmd.scaledSensorValue.toInteger().toString()
|
|
||||||
map.unit = "%"
|
|
||||||
map.name = "humidity"
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
return createEvent(map)
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport cmd) {
|
|
||||||
def map = [ name: "battery", unit: "%" ]
|
|
||||||
if (cmd.batteryLevel == 0xFF) {
|
|
||||||
map.value = 1
|
|
||||||
map.descriptionText = "${device.displayName} has a low battery"
|
|
||||||
map.isStateChange = true
|
|
||||||
} else {
|
|
||||||
map.value = cmd.batteryLevel
|
|
||||||
}
|
|
||||||
|
|
||||||
def response_cmds = []
|
|
||||||
if (!currentTemperature) {
|
|
||||||
response_cmds << zwave.sensorMultilevelV2.sensorMultilevelGet().format()
|
|
||||||
response_cmds << "delay 1000"
|
|
||||||
}
|
|
||||||
response_cmds << zwave.wakeUpV1.wakeUpNoMoreInformation().format()
|
|
||||||
|
|
||||||
return [createEvent(map), response(response_cmds)]
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.multichannelv3.MultiChannelCmdEncap cmd) {
|
|
||||||
def result = null
|
|
||||||
def encapsulatedCommand = cmd.encapsulatedCommand([0x20: 1, 0x31: 2, 0x70: 1, 0x71: 1, 0x80: 1, 0x84: 2, 0x85: 2])
|
|
||||||
log.debug ("Command from endpoint ${cmd.sourceEndPoint}: ${encapsulatedCommand}")
|
|
||||||
if (encapsulatedCommand) {
|
|
||||||
result = zwaveEvent(encapsulatedCommand)
|
|
||||||
}
|
|
||||||
result
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.Command cmd) {
|
|
||||||
log.debug "Unhandled: ${cmd.toString()}"
|
|
||||||
return [:]
|
|
||||||
}
|
|
||||||
|
|
||||||
def configure() {
|
|
||||||
state.configured = true
|
|
||||||
sendEvent(name: "checkInterval", value: 8 * 60 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID])
|
|
||||||
delayBetween([
|
|
||||||
// Auto report time interval in minutes
|
|
||||||
zwave.configurationV1.configurationSet(parameterNumber: 6, size: 2, scaledConfigurationValue: 20).format(),
|
|
||||||
|
|
||||||
// Auto report temperature change threshold
|
|
||||||
zwave.configurationV1.configurationSet(parameterNumber: 7, size: 1, scaledConfigurationValue: 2).format(),
|
|
||||||
|
|
||||||
// Auto report humidity change threshold
|
|
||||||
zwave.configurationV1.configurationSet(parameterNumber: 8, size: 1, scaledConfigurationValue: 5).format(),
|
|
||||||
|
|
||||||
// Get battery – report triggers WakeUpNMI
|
|
||||||
zwave.batteryV1.batteryGet().format()
|
|
||||||
])
|
|
||||||
}
|
|
||||||
@@ -29,7 +29,6 @@ metadata {
|
|||||||
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019", manufacturer: "CentraLite", model: "3200", deviceJoinName: "Outlet"
|
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019", manufacturer: "CentraLite", model: "3200", deviceJoinName: "Outlet"
|
||||||
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019", manufacturer: "CentraLite", model: "3200-Sgb", deviceJoinName: "Outlet"
|
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019", manufacturer: "CentraLite", model: "3200-Sgb", deviceJoinName: "Outlet"
|
||||||
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019", manufacturer: "CentraLite", model: "4257050-RZHAC", deviceJoinName: "Outlet"
|
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019", manufacturer: "CentraLite", model: "4257050-RZHAC", deviceJoinName: "Outlet"
|
||||||
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 000F, 0B04", outClusters: "0019", manufacturer: "SmartThings", model: "outletv4", deviceJoinName: "Outlet"
|
|
||||||
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019"
|
fingerprint profileId: "0104", inClusters: "0000,0003,0004,0005,0006,0B04,0B05", outClusters: "0019"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ private List<Map> handleAcceleration(descMap) {
|
|||||||
result += parseAxis(descMap.additionalAttrs)
|
result += parseAxis(descMap.additionalAttrs)
|
||||||
}
|
}
|
||||||
} else if (descMap.clusterInt == 0xFC02 && descMap.attrInt == 0x0012) {
|
} else if (descMap.clusterInt == 0xFC02 && descMap.attrInt == 0x0012) {
|
||||||
def addAttrs = descMap.additionalAttrs ?: []
|
def addAttrs = descMap.additionalAttrs
|
||||||
addAttrs << ["attrInt": descMap.attrInt, "value": descMap.value]
|
addAttrs << ["attrInt": descMap.attrInt, "value": descMap.value]
|
||||||
result += parseAxis(addAttrs)
|
result += parseAxis(addAttrs)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ import physicalgraph.zigbee.zcl.DataType
|
|||||||
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRD210 PB DB", deviceJoinName: "Yale Push Button Deadbolt Lock"
|
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRD210 PB DB", deviceJoinName: "Yale Push Button Deadbolt Lock"
|
||||||
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRD220/240 TSDB", deviceJoinName: "Yale Touch Screen Deadbolt Lock"
|
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRD220/240 TSDB", deviceJoinName: "Yale Touch Screen Deadbolt Lock"
|
||||||
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRL210 PB LL", deviceJoinName: "Yale Push Button Lever Lock"
|
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRL210 PB LL", deviceJoinName: "Yale Push Button Lever Lock"
|
||||||
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRD226/246 TSDB", deviceJoinName: "Yale Touch Screen Deadbolt Lock"
|
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,000A,0101,0020", outClusters: "000A,0019", manufacturer: "Yale", model: "YRD226/246 TSDB", deviceJoinName: "Yale Touch Screen Deadbolt Lock"
|
||||||
|
fingerprint profileId: "0104", inClusters: "0000,0001,0003,0009,0020,0101,0B05", outClusters: "000A, 0019, 0B05", manufacturer: "Danalock", model: "V3-BTZB",deviceJoinName: "Danalock V3-BTZB"
|
||||||
}
|
}
|
||||||
|
|
||||||
tiles(scale: 2) {
|
tiles(scale: 2) {
|
||||||
@@ -170,4 +171,4 @@ private Map parseReportAttributeMessage(String description) {
|
|||||||
log.debug "parseReportAttributeMessage() --- ignoring attribute"
|
log.debug "parseReportAttributeMessage() --- ignoring attribute"
|
||||||
}
|
}
|
||||||
return resultMap
|
return resultMap
|
||||||
}
|
}
|
||||||
@@ -27,6 +27,7 @@ metadata {
|
|||||||
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702"
|
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702"
|
||||||
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702, 0B05", outClusters: "0003, 000A, 0019", manufacturer: "Jasco Products", model: "45853", deviceJoinName: "GE ZigBee Plug-In Switch"
|
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702, 0B05", outClusters: "0003, 000A, 0019", manufacturer: "Jasco Products", model: "45853", deviceJoinName: "GE ZigBee Plug-In Switch"
|
||||||
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702, 0B05", outClusters: "000A, 0019", manufacturer: "Jasco Products", model: "45856", deviceJoinName: "GE ZigBee In-Wall Switch"
|
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702, 0B05", outClusters: "000A, 0019", manufacturer: "Jasco Products", model: "45856", deviceJoinName: "GE ZigBee In-Wall Switch"
|
||||||
|
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 000F, 0B04", outClusters: "0019", manufacturer: "SmartThings", model: "outletv4", deviceJoinName: "Outlet"
|
||||||
}
|
}
|
||||||
|
|
||||||
tiles(scale: 2) {
|
tiles(scale: 2) {
|
||||||
|
|||||||
@@ -75,10 +75,6 @@ def parse(String description) {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
def uninstalled() {
|
|
||||||
sendEvent(name: "epEvent", value: "delete all", isStateChange: true, displayed: false, descriptionText: "Delete endpoint devices")
|
|
||||||
}
|
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.wakeupv1.WakeUpNotification cmd) {
|
def zwaveEvent(physicalgraph.zwave.commands.wakeupv1.WakeUpNotification cmd) {
|
||||||
[ createEvent(descriptionText: "${device.displayName} woke up", isStateChange:true),
|
[ createEvent(descriptionText: "${device.displayName} woke up", isStateChange:true),
|
||||||
response(["delay 2000", zwave.wakeUpV1.wakeUpNoMoreInformation().format()]) ]
|
response(["delay 2000", zwave.wakeUpV1.wakeUpNoMoreInformation().format()]) ]
|
||||||
|
|||||||
Reference in New Issue
Block a user