Skip to content

Commit afe8a6d

Browse files
Add aeotec door sensor
1 parent 154c8c0 commit afe8a6d

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

devices.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The following devices are already availables.
66
* Dimmer Switch
77
* Motion sensor
88
* Outdoor sensor
9+
* Wall switch module
910
* Ikea TRÅDFRI
1011
* Driver for Pax Led NORRFLY
1112
* Light panel FLOALT
@@ -17,13 +18,12 @@ The following devices are already availables.
1718
* Switch ZG9101SAC
1819
* Aeotec
1920
* aërQ Temperature and Humidity Sensor
21+
* Door / Window Sensor 7
2022
* FIBARO
2123
* Smoke Sensor
2224
* Qubino
2325
* ZMNHUD1_DIN Pilot wire
2426
* ZOOZ
2527
* ZSE44 Temperature Humidity XS Sensor
26-
* LiXee
27-
* ZLinky TIC, Historique HP-HC
2828
* GCE Electronics
2929
* Module USB TIC

extensions/zwave-js-ws/mapping.json

+16
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,21 @@
6767
"name": "on"
6868
}
6969
]
70+
},
71+
{
72+
"manufacturerId": "$ref:/manufacturer/Aeotec",
73+
"productId": 12,
74+
"capabilities": ["DoorSensor"],
75+
"properties": [
76+
"$ref:/property/battery",
77+
{
78+
"commandClass": "$ref:/commandClass/notification",
79+
"property": "Access Control",
80+
"propertyKey": "Door state (simple)",
81+
"name": "open",
82+
"adapter": "$lua:return value ~= 23"
83+
}
84+
]
7085
}
7186
],
7287
"adapters": {
@@ -108,6 +123,7 @@
108123
"switch-multilevel": 38,
109124
"sensor-multilevel": 49,
110125
"alarm": 113,
126+
"notification": 113,
111127
"battery": 128
112128
},
113129
"metadata": {

lha/properties.json

+6
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@
120120
"title": "On/Off",
121121
"type": "boolean"
122122
},
123+
"open": {
124+
"@type": "OpenProperty",
125+
"description": "Whether the thing is open",
126+
"title": "Open",
127+
"type": "boolean"
128+
},
123129
"presence": {
124130
"@type": "MotionProperty",
125131
"description": "Whether a presence is detected",

0 commit comments

Comments
 (0)