zigbee-herdsman-converters 14.0.585 → 14.0.586
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/devices/awox.js +26 -131
- package/devices/enocean.js +2 -0
- package/devices/led_trading.js +0 -36
- package/devices/sengled.js +4 -4
- package/devices/tuya.js +1 -0
- package/package.json +1 -1
package/devices/awox.js
CHANGED
|
@@ -72,25 +72,9 @@ module.exports = [
|
|
|
72
72
|
{
|
|
73
73
|
fingerprint: [
|
|
74
74
|
{
|
|
75
|
-
type: 'EndDevice',
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
powerSource: 'Battery',
|
|
79
|
-
endpoints: [
|
|
80
|
-
{
|
|
81
|
-
ID: 1,
|
|
82
|
-
profileID: 260,
|
|
83
|
-
deviceID: 2048,
|
|
84
|
-
inputClusters: [0, 3, 4, 4096],
|
|
85
|
-
outputClusters: [0, 3, 4, 5, 6, 8, 768, 4096],
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
ID: 3,
|
|
89
|
-
profileID: 4751,
|
|
90
|
-
deviceID: 2048,
|
|
91
|
-
inputClusters: [65360, 65361],
|
|
92
|
-
outputClusters: [65360, 65361],
|
|
93
|
-
},
|
|
75
|
+
type: 'EndDevice', manufacturerName: 'AwoX', modelID: 'TLSR82xx', powerSource: 'Battery', endpoints: [
|
|
76
|
+
{ID: 1, profileID: 260, deviceID: 2048, inputClusters: [0, 3, 4, 4096], outputClusters: [0, 3, 4, 5, 6, 8, 768, 4096]},
|
|
77
|
+
{ID: 3, profileID: 4751, deviceID: 2048, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
94
78
|
],
|
|
95
79
|
},
|
|
96
80
|
],
|
|
@@ -108,76 +92,35 @@ module.exports = [
|
|
|
108
92
|
fingerprint: [
|
|
109
93
|
{
|
|
110
94
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
111
|
-
{
|
|
112
|
-
|
|
113
|
-
profileID: 260,
|
|
114
|
-
deviceID: 269,
|
|
115
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10],
|
|
116
|
-
outputClusters: [6],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
ID: 3,
|
|
120
|
-
profileID: 4751,
|
|
121
|
-
deviceID: 269,
|
|
122
|
-
inputClusters: [65360, 65361],
|
|
123
|
-
outputClusters: [65360, 65361],
|
|
124
|
-
},
|
|
95
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
96
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
125
97
|
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
126
98
|
],
|
|
127
99
|
},
|
|
128
100
|
{
|
|
129
101
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
130
|
-
{
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
{
|
|
138
|
-
|
|
139
|
-
profileID: 49152,
|
|
140
|
-
deviceID: 258,
|
|
141
|
-
inputClusters: [65360, 65361],
|
|
142
|
-
outputClusters: [65360, 65361],
|
|
143
|
-
},
|
|
102
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
103
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361, 4], outputClusters: [65360, 65361]},
|
|
104
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
109
|
+
{ID: 1, profileID: 260, deviceID: 258, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096], outputClusters: [6, 25]},
|
|
110
|
+
{ID: 3, profileID: 49152, deviceID: 258, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
144
111
|
],
|
|
145
112
|
},
|
|
146
113
|
{
|
|
147
114
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
148
|
-
{
|
|
149
|
-
|
|
150
|
-
profileID: 260,
|
|
151
|
-
deviceID: 269,
|
|
152
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599],
|
|
153
|
-
outputClusters: [6],
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
ID: 3,
|
|
157
|
-
profileID: 4751,
|
|
158
|
-
deviceID: 269,
|
|
159
|
-
inputClusters: [65360, 65361],
|
|
160
|
-
outputClusters: [65360, 65361],
|
|
161
|
-
},
|
|
115
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
116
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
162
117
|
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
163
118
|
],
|
|
164
119
|
},
|
|
165
120
|
{
|
|
166
121
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
167
|
-
{
|
|
168
|
-
|
|
169
|
-
profileID: 260,
|
|
170
|
-
deviceID: 269,
|
|
171
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599],
|
|
172
|
-
outputClusters: [6],
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
ID: 3,
|
|
176
|
-
profileID: 4751,
|
|
177
|
-
deviceID: 269,
|
|
178
|
-
inputClusters: [65360, 65361],
|
|
179
|
-
outputClusters: [65360, 65361],
|
|
180
|
-
},
|
|
122
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
123
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
181
124
|
],
|
|
182
125
|
},
|
|
183
126
|
],
|
|
@@ -190,58 +133,22 @@ module.exports = [
|
|
|
190
133
|
fingerprint: [
|
|
191
134
|
{
|
|
192
135
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
193
|
-
{
|
|
194
|
-
|
|
195
|
-
profileID: 260,
|
|
196
|
-
deviceID: 268,
|
|
197
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599],
|
|
198
|
-
outputClusters: [6],
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
ID: 3,
|
|
202
|
-
profileID: 4751,
|
|
203
|
-
deviceID: 268,
|
|
204
|
-
inputClusters: [65360, 65361],
|
|
205
|
-
outputClusters: [65360, 65361],
|
|
206
|
-
},
|
|
136
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
137
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
207
138
|
],
|
|
208
139
|
},
|
|
209
140
|
{
|
|
210
141
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
211
|
-
{
|
|
212
|
-
ID: 1,
|
|
213
|
-
profileID: 260,
|
|
214
|
-
deviceID: 268,
|
|
215
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599],
|
|
216
|
-
outputClusters: [6],
|
|
217
|
-
},
|
|
142
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
218
143
|
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
219
|
-
{
|
|
220
|
-
ID: 3,
|
|
221
|
-
profileID: 4751,
|
|
222
|
-
deviceID: 268,
|
|
223
|
-
inputClusters: [65360, 65361],
|
|
224
|
-
outputClusters: [65360, 65361],
|
|
225
|
-
},
|
|
144
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
226
145
|
],
|
|
227
146
|
},
|
|
228
147
|
{
|
|
229
148
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
230
|
-
{
|
|
231
|
-
ID: 1,
|
|
232
|
-
profileID: 260,
|
|
233
|
-
deviceID: 268,
|
|
234
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10],
|
|
235
|
-
outputClusters: [6],
|
|
236
|
-
},
|
|
149
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
237
150
|
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
238
|
-
{
|
|
239
|
-
ID: 3,
|
|
240
|
-
profileID: 4751,
|
|
241
|
-
deviceID: 268,
|
|
242
|
-
inputClusters: [65360, 65361],
|
|
243
|
-
outputClusters: [65360, 65361],
|
|
244
|
-
},
|
|
151
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
245
152
|
],
|
|
246
153
|
},
|
|
247
154
|
],
|
|
@@ -255,20 +162,8 @@ module.exports = [
|
|
|
255
162
|
fingerprint: [
|
|
256
163
|
{
|
|
257
164
|
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
258
|
-
{
|
|
259
|
-
|
|
260
|
-
profileID: 260,
|
|
261
|
-
deviceID: 268,
|
|
262
|
-
inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096],
|
|
263
|
-
outputClusters: [6, 25],
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
ID: 3,
|
|
267
|
-
profileID: 49152,
|
|
268
|
-
deviceID: 268,
|
|
269
|
-
inputClusters: [65360, 65361],
|
|
270
|
-
outputClusters: [65360, 65361],
|
|
271
|
-
},
|
|
165
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096], outputClusters: [6, 25]},
|
|
166
|
+
{ID: 3, profileID: 49152, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
272
167
|
],
|
|
273
168
|
},
|
|
274
169
|
],
|
package/devices/enocean.js
CHANGED
|
@@ -16,6 +16,8 @@ module.exports = [
|
|
|
16
16
|
{vendor: 'Niko', description: 'Dimmer switch for Hue system', model: '91004'},
|
|
17
17
|
{vendor: 'NodOn', description: 'Smart switch for Philips Hue', model: 'CWS-4-1-01_HUE'},
|
|
18
18
|
{vendor: 'Vimar', description: 'Zigbee Friends of Hue RF switch', model: '03906'},
|
|
19
|
+
{vendor: 'Sunricher', model: 'SR-ZGP2801K4-FOH-E'},
|
|
20
|
+
{vendor: 'LED Trading', model: '9125'},
|
|
19
21
|
],
|
|
20
22
|
},
|
|
21
23
|
{
|
package/devices/led_trading.js
CHANGED
|
@@ -21,31 +21,6 @@ const fzLocal = {
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
|
-
led_trading_9125: {
|
|
25
|
-
cluster: 'greenPower',
|
|
26
|
-
type: ['commandNotification', 'commandCommisioningNotification'],
|
|
27
|
-
convert: (model, msg, publish, options, meta) => {
|
|
28
|
-
const commandID = msg.data.commandID;
|
|
29
|
-
if (utils.hasAlreadyProcessedMessage(msg, msg.data.frameCounter, `${msg.device.ieeeAddr}_${commandID}`)) return;
|
|
30
|
-
if (commandID === 104) return; // Skip commisioning command.
|
|
31
|
-
|
|
32
|
-
// Button 1: A0 (top left)
|
|
33
|
-
// Button 2: A1 (bottom left)
|
|
34
|
-
// Button 3: B0 (top right)
|
|
35
|
-
// Button 4: B1 (bottom right)
|
|
36
|
-
const lookup = {
|
|
37
|
-
0x10: 'press_1', 0x14: 'release_1', 0x11: 'press_2', 0x15: 'release_2', 0x13: 'press_3', 0x17: 'release_3',
|
|
38
|
-
0x12: 'press_4', 0x16: 'release_4', 0x64: 'press_1_and_3', 0x65: 'release_1_and_3', 0x62: 'press_2_and_4',
|
|
39
|
-
0x63: 'release_2_and_4',
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
if (!lookup.hasOwnProperty(commandID)) {
|
|
43
|
-
meta.logger.error(`LED Trading 9125: missing command '${commandID}'`);
|
|
44
|
-
} else {
|
|
45
|
-
return {action: lookup[commandID]};
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
24
|
};
|
|
50
25
|
|
|
51
26
|
module.exports = [
|
|
@@ -91,15 +66,4 @@ module.exports = [
|
|
|
91
66
|
await reporting.bind(device.getEndpoint(5), coordinatorEndpoint, ['genOnOff']);
|
|
92
67
|
},
|
|
93
68
|
},
|
|
94
|
-
{
|
|
95
|
-
fingerprint: [{modelID: 'GreenPower_2', ieeeAddr: /^0x00000000017.....$/, manufId: null}],
|
|
96
|
-
model: '9125',
|
|
97
|
-
vendor: 'LED Trading',
|
|
98
|
-
description: 'FOH smart switch',
|
|
99
|
-
whiteLabel: [{vendor: 'Sunricher', model: 'SR-ZGP2801K4-FOH-E'}],
|
|
100
|
-
fromZigbee: [fzLocal.led_trading_9125],
|
|
101
|
-
toZigbee: [],
|
|
102
|
-
exposes: [e.action(['press_1', 'release_1', 'press_2', 'release_2', 'press_3', 'release_3', 'press_4', 'release_4',
|
|
103
|
-
'press_1_and_3', 'release_1_and_3', 'press_2_and_4', 'release_2_and_4'])],
|
|
104
|
-
},
|
|
105
69
|
];
|
package/devices/sengled.js
CHANGED
|
@@ -146,11 +146,11 @@ module.exports = [
|
|
|
146
146
|
model: 'E11-N1EA',
|
|
147
147
|
vendor: 'Sengled',
|
|
148
148
|
description: 'Element plus color (A19)',
|
|
149
|
-
fromZigbee: sengledExtend.
|
|
150
|
-
toZigbee: sengledExtend.
|
|
149
|
+
fromZigbee: sengledExtend.light_onoff_brightness_colortemp_color().fromZigbee.concat([fz.metering]),
|
|
150
|
+
toZigbee: sengledExtend.light_onoff_brightness_colortemp_color().toZigbee,
|
|
151
151
|
ota: ota.zigbeeOTA,
|
|
152
152
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
153
|
-
await sengledExtend.
|
|
153
|
+
await sengledExtend.light_onoff_brightness_colortemp_color().configure(device, coordinatorEndpoint, logger);
|
|
154
154
|
device.powerSource = 'Mains (single phase)';
|
|
155
155
|
device.save();
|
|
156
156
|
|
|
@@ -160,7 +160,7 @@ module.exports = [
|
|
|
160
160
|
await reporting.currentSummDelivered(endpoint);
|
|
161
161
|
await reporting.instantaneousDemand(endpoint);
|
|
162
162
|
},
|
|
163
|
-
exposes: sengledExtend.
|
|
163
|
+
exposes: sengledExtend.light_onoff_brightness_colortemp_color().exposes.concat([e.power(), e.energy()]),
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
zigbeeModel: ['E11-U2E'],
|
package/devices/tuya.js
CHANGED
|
@@ -794,6 +794,7 @@ module.exports = [
|
|
|
794
794
|
{modelID: 'TS0503B', manufacturerName: '_TZ3210_778drfdt'},
|
|
795
795
|
{modelID: 'TS0503B', manufacturerName: '_TZ3000_g5xawfcq'},
|
|
796
796
|
{modelID: 'TS0503B', manufacturerName: '_TZ3210_trm3l2aw'},
|
|
797
|
+
{modelID: 'TS0503B', manufacturerName: '_TZ3210_95txyzbx'},
|
|
797
798
|
{modelID: 'TS0503B', manufacturerName: '_TZ3210_odlghna1'}],
|
|
798
799
|
model: 'TS0503B',
|
|
799
800
|
vendor: 'TuYa',
|