Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most target limited co 188 #36283

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
909883d
first commit
adurosmart Jul 9, 2019
00660f7
add zll handler
adurosmart Jul 9, 2019
8d9584a
1
adurosmart Jul 17, 2019
154e123
add Eria ZigBee RGBW Bulb
adurosmart Aug 6, 2019
05ad85a
add Eria ZigBee Color Temperature Bulb
adurosmart Aug 6, 2019
6986976
add Eria ZigBee Dimmable Bulb
adurosmart Aug 6, 2019
927c7a0
add Eria ZLL RGBW Bulb
adurosmart Aug 6, 2019
9358adf
add Eria ZLL Color Temperature Bulb
adurosmart Aug 6, 2019
7ecf67e
add Eria ZLL Dimmable Bulb
adurosmart Aug 6, 2019
896fea9
modify manufacturer name
adurosmart Aug 6, 2019
7bbf125
modify manufacturer name
adurosmart Aug 6, 2019
3143755
modify manufacturer name
adurosmart Aug 6, 2019
c17b3f3
modify manufacturer name
adurosmart Aug 6, 2019
72e3bb0
modify manufacturer name
adurosmart Aug 6, 2019
ebc68aa
modify manufacturer name
adurosmart Aug 6, 2019
3d86a43
add Eria ZLL Color Temperature Bulb
adurosmart Aug 7, 2019
c07de02
modify joinname
adurosmart Aug 23, 2019
a64f3c3
add AduroSmart motion sensor
adurosmart Sep 8, 2019
d0f18c8
add ERIA Contact Sensor V2.0
adurosmart Sep 9, 2019
1e64c5b
add ERIA Motion Sensor V2.0
adurosmart Sep 11, 2019
fbea072
add ERIA Contact Sensor V2.0
adurosmart Sep 11, 2019
0be5401
add ERIA Extended Color Light Bulb V2.0
adurosmart Sep 11, 2019
0f3068b
add ERIA Tunable White Light Bulb V2.0
adurosmart Sep 11, 2019
cbad969
add ERIA Soft White Light Bulb V2.0
adurosmart Sep 11, 2019
944370b
add ERIA Extended Color Light Bulb V2.0
adurosmart Sep 11, 2019
fe8f3a4
add adurosmart zll fingerprint
adurosmart Sep 27, 2019
6fafacd
1、add adurosmart eria motion sensor
adurosmart Oct 24, 2019
4bf94a2
Merge remote-tracking branch 'upstream/master'
Jul 6, 2020
3c7352a
Merge branch 'master' of https://github.com/SmartThingsCommunity/Smar…
Jul 7, 2020
a94b477
Update zigbee-multi-button.groovy
Jul 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,37 @@
/**
* Eria Contact sensor
*
* Copyright 2019 Andy Lam
*
* 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.
*/
metadata {
definition (name: "Eria Contact sensor", namespace: "adurosmart", author: "Andy Lam", cstHandler: true) {
capability "Battery"
capability "Contact Sensor"
}


simulator {
// TODO: define status and reply messages here
}

tiles {
// TODO: define your main and details tiles here
}
}

// parse events into attributes
def parse(String description) {
log.debug "Parsing '${description}'"
// TODO: handle 'battery' attribute
// TODO: handle 'contact' attribute

}
@@ -0,0 +1,37 @@
/**
* Eria Motion sensor
*
* Copyright 2019 Andy Lam
*
* 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.
*/
metadata {
definition (name: "Eria Motion sensor", namespace: "adurosmart", author: "Andy Lam", cstHandler: true) {
capability "Battery"
capability "Motion Sensor"
}


simulator {
// TODO: define status and reply messages here
}

tiles {
// TODO: define your main and details tiles here
}
}

// parse events into attributes
def parse(String description) {
log.debug "Parsing '${description}'"
// TODO: handle 'battery' attribute
// TODO: handle 'motion' attribute

}
Expand Up @@ -21,7 +21,7 @@ metadata {
capability "Motion Sensor"
capability "Configuration"
capability "Battery"
capability "Temperature Measurement"

capability "Refresh"
capability "Health Check"
capability "Sensor"
Expand Down Expand Up @@ -334,4 +334,4 @@ private shouldUseOldBatteryReporting() {
}

return isFwVersionLess // If f/w version is less than 1.15.7 then do NOT smooth battery reports and use the old reporting
}
}
Expand Up @@ -229,4 +229,4 @@ def configure() {

// OnOff minReportTime 0 seconds, maxReportTime 5 min. Reporting interval if no activity
refresh() + zigbee.onOffConfig(0, 300) + zigbee.levelConfig()
}
}
Expand Up @@ -279,23 +279,7 @@ private getButtonName() {
private Map parseAduroSmartButtonMessage(Map descMap){
def buttonState = "pushed"
def buttonNumber = 0
if (descMap.clusterInt == zigbee.ONOFF_CLUSTER) {
if (descMap.command == "01") {
buttonNumber = 1
} else if (descMap.command == "00") {
buttonNumber = 4
}
} else if (descMap.clusterInt == zigbee.LEVEL_CONTROL_CLUSTER) {
if (descMap.command == "02") {
def data = descMap.data
def d0 = data[0]
if (d0 == "00") {
buttonNumber = 2
} else if (d0 == "01") {
buttonNumber = 3
}
}
} else if (descMap.clusterInt == ADUROSMART_SPECIFIC_CLUSTER) {
if (descMap.clusterInt == ADUROSMART_SPECIFIC_CLUSTER) {
def list2 = descMap.data
buttonNumber = (list2[1] as int) + 1
}
Expand Down
Expand Up @@ -265,4 +265,4 @@ def installed() {
sendEvent(name: "level", value: 100)
}
}
}
}
Expand Up @@ -168,4 +168,4 @@ def configure() {
def updated() {
log.debug "updated()"
configureHealthCheck()
}
}