Skip to content

Commit

Permalink
WWST-6946 Somfy Glydea Ultra fingerprint (#38386)
Browse files Browse the repository at this point in the history
  • Loading branch information
PKacprowiczS authored Jul 24, 2020
1 parent 07e3bb3 commit 7cfa646
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ metadata {
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0008, 0102", outClusters: "000A", manufacturer: "Feibit Co.Ltd", model: "FTB56-ZT218AK1.8", deviceJoinName: "Wistar Window Treatment" //Wistar Curtain Motor(CMJ)
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0102", outClusters: "0003", manufacturer: "REXENSE", model: "KG0001", deviceJoinName: "Window Treatment" //Smart Curtain Motor(BCM300D)
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0102", outClusters: "0003", manufacturer: "REXENSE", model: "DY0010", deviceJoinName: "Window Treatment" //Smart Curtain Motor(DT82TV)
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0102", outClusters: "0003", manufacturer: "SOMFY", model: "Glydea Somfy", deviceJoinName: "Somfy Window Treatment" //Somfy Glydea Ultra
}

preferences {
Expand Down Expand Up @@ -193,7 +194,7 @@ def pause() {
}

def presetPosition() {
setLevel(preset ?: 50)
setLevel(preset ?: 50)
}

/**
Expand Down Expand Up @@ -271,7 +272,7 @@ private List readDeviceBindingTable() {
}

def shouldInvertLiftPercentage() {
return isIkeaKadrilj() || isIkeaFyrtur()
return isIkeaKadrilj() || isIkeaFyrtur() || isSomfyGlydea()
}

def reportsBatteryPercentage() {
Expand All @@ -285,3 +286,7 @@ def isIkeaKadrilj() {
def isIkeaFyrtur() {
device.getDataValue("model") == "FYRTUR block-out roller blind"
}

def isSomfyGlydea() {
device.getDataValue("model") == "Glydea Somfy"
}

0 comments on commit 7cfa646

Please sign in to comment.