zigbee-herdsman-converters 14.0.484 → 14.0.487
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/heiman.js +1 -1
- package/devices/keen_home.js +1 -1
- package/devices/lidl.js +2 -2
- package/devices/moes.js +2 -0
- package/devices/sonoff.js +4 -0
- package/devices/tuya.js +3 -1
- package/devices/xiaomi.js +9 -3
- package/lib/constants.js +4 -4
- package/package.json +1 -1
package/devices/heiman.js
CHANGED
|
@@ -72,7 +72,7 @@ module.exports = [
|
|
|
72
72
|
{
|
|
73
73
|
zigbeeModel: ['SMOK_V16', 'SMOK_V15', 'b5db59bfd81e4f1f95dc57fdbba17931', '98293058552c49f38ad0748541ee96ba', 'SMOK_YDLV10',
|
|
74
74
|
'FB56-SMF02HM1.4', 'SmokeSensor-N-3.0', '319fa36e7384414a9ea62cba8f6e7626', 'c3442b4ac59b4ba1a83119d938f283ab',
|
|
75
|
-
'SmokeSensor-EF-3.0'],
|
|
75
|
+
'SmokeSensor-EF-3.0', 'SMOK_HV14'],
|
|
76
76
|
model: 'HS1SA',
|
|
77
77
|
vendor: 'HEIMAN',
|
|
78
78
|
description: 'Smoke detector',
|
package/devices/keen_home.js
CHANGED
|
@@ -21,7 +21,7 @@ module.exports = [
|
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
zigbeeModel: ['SV01-410-MP-1.0', 'SV01-410-MP-1.1', 'SV01-410-MP-1.4', 'SV01-410-MP-1.5', 'SV01-412-MP-1.0',
|
|
24
|
+
zigbeeModel: ['SV01-410-MP-1.0', 'SV01-410-MP-1.1', 'SV01-410-MP-1.4', 'SV01-410-MP-1.5', 'SV01-412-MP-1.0', 'SV01-612-MP-1.1',
|
|
25
25
|
'SV01-412-MP-1.1', 'SV01-412-MP-1.4', 'SV01-610-MP-1.0', 'SV01-610-MP-1.1', 'SV01-612-MP-1.0', 'SV01-610-MP-1.4'],
|
|
26
26
|
model: 'SV01',
|
|
27
27
|
vendor: 'Keen Home',
|
package/devices/lidl.js
CHANGED
|
@@ -736,8 +736,8 @@ module.exports = [
|
|
|
736
736
|
model: 'HG08633',
|
|
737
737
|
vendor: 'Lidl',
|
|
738
738
|
description: 'Livarno gardenspot RGB',
|
|
739
|
-
extend: extend.light_onoff_brightness_colortemp_color({
|
|
740
|
-
meta: {
|
|
739
|
+
extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true, preferHS: true, colorTempRange: [153, 500]}),
|
|
740
|
+
meta: {enhancedHue: false},
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
743
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_chyvmhay'}],
|
package/devices/moes.js
CHANGED
|
@@ -25,6 +25,8 @@ module.exports = [
|
|
|
25
25
|
},
|
|
26
26
|
meta: {multiEndpoint: true},
|
|
27
27
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
28
|
+
await device.getEndpoint(1).read('genBasic',
|
|
29
|
+
['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
28
30
|
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
29
31
|
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
30
32
|
await reporting.onOff(device.getEndpoint(1));
|
package/devices/sonoff.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const exposes = require('../lib/exposes');
|
|
2
2
|
const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
|
|
3
|
+
const tz = require('../converters/toZigbee');
|
|
3
4
|
const constants = require('../lib/constants');
|
|
4
5
|
const reporting = require('../lib/reporting');
|
|
5
6
|
const extend = require('../lib/extend');
|
|
@@ -20,6 +21,9 @@ module.exports = [
|
|
|
20
21
|
vendor: 'SONOFF',
|
|
21
22
|
description: 'Zigbee smart switch (no neutral)',
|
|
22
23
|
extend: extend.switch(),
|
|
24
|
+
toZigbee: extend.switch().toZigbee.concat([tz.power_on_behavior]),
|
|
25
|
+
fromZigbee: extend.switch().fromZigbee.concat([fz.power_on_behavior]),
|
|
26
|
+
exposes: extend.switch().exposes.concat([e.power_on_behavior()]),
|
|
23
27
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
24
28
|
device.powerSource = 'Mains (single phase)';
|
|
25
29
|
device.save();
|
package/devices/tuya.js
CHANGED
|
@@ -12,7 +12,8 @@ const utils = require('../lib/utils');
|
|
|
12
12
|
|
|
13
13
|
const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak', '_TZ3000_ew3ldmgx', '_TZ3000_gjnozsaz',
|
|
14
14
|
'_TZ3000_jvzvulen', '_TZ3000_mraovvmm', '_TZ3000_nfnmi125', '_TZ3000_ps3dmato', '_TZ3000_w0qqde0g', '_TZ3000_u5u4cakc',
|
|
15
|
-
'_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo', '_TZ3000_ksw8qtmt'
|
|
15
|
+
'_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo', '_TZ3000_ksw8qtmt',
|
|
16
|
+
'_TZ3000_nzkqcvvs'];
|
|
16
17
|
|
|
17
18
|
const tzLocal = {
|
|
18
19
|
TS0504B_color: {
|
|
@@ -283,6 +284,7 @@ module.exports = [
|
|
|
283
284
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_jd3z4yig'},
|
|
284
285
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_dgdjiw1c'},
|
|
285
286
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_mzdax7ha'},
|
|
287
|
+
{modelID: 'TS0505B', manufacturerName: '_TZB210_tmi0rihb'},
|
|
286
288
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_a4s41wm4'},
|
|
287
289
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_qxenlrin'}],
|
|
288
290
|
model: 'TS0505B',
|
package/devices/xiaomi.js
CHANGED
|
@@ -119,7 +119,9 @@ module.exports = [
|
|
|
119
119
|
model: 'XDD11LM',
|
|
120
120
|
vendor: 'Xiaomi',
|
|
121
121
|
description: 'Aqara Opple MX960',
|
|
122
|
-
|
|
122
|
+
meta: {turnsOffAtBrightness1: true},
|
|
123
|
+
extend: xiaomiExtend.light_onoff_brightness_colortemp({disableEffect: true, disableColorTempStartup: true,
|
|
124
|
+
colorTempRange: [175, 370]}),
|
|
123
125
|
ota: ota.zigbeeOTA,
|
|
124
126
|
},
|
|
125
127
|
{
|
|
@@ -127,7 +129,9 @@ module.exports = [
|
|
|
127
129
|
model: 'XDD12LM',
|
|
128
130
|
vendor: 'Xiaomi',
|
|
129
131
|
description: 'Aqara Opple MX650',
|
|
130
|
-
|
|
132
|
+
meta: {turnsOffAtBrightness1: true},
|
|
133
|
+
extend: xiaomiExtend.light_onoff_brightness_colortemp({disableEffect: true, disableColorTempStartup: true,
|
|
134
|
+
colorTempRange: [175, 370]}),
|
|
131
135
|
ota: ota.zigbeeOTA,
|
|
132
136
|
},
|
|
133
137
|
{
|
|
@@ -135,7 +139,9 @@ module.exports = [
|
|
|
135
139
|
model: 'XDD13LM',
|
|
136
140
|
vendor: 'Xiaomi',
|
|
137
141
|
description: 'Aqara Opple MX480',
|
|
138
|
-
|
|
142
|
+
meta: {turnsOffAtBrightness1: true},
|
|
143
|
+
extend: xiaomiExtend.light_onoff_brightness_colortemp({disableEffect: true, disableColorTempStartup: true,
|
|
144
|
+
colorTempRange: [175, 370]}),
|
|
139
145
|
ota: ota.zigbeeOTA,
|
|
140
146
|
},
|
|
141
147
|
{
|
package/lib/constants.js
CHANGED
|
@@ -97,14 +97,14 @@ const temperatureDisplayMode = {
|
|
|
97
97
|
1: 'fahrenheit',
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
const
|
|
100
|
+
const danfossAdaptionRunStatus= {
|
|
101
101
|
0: 'none',
|
|
102
102
|
1: 'in_progress',
|
|
103
103
|
2: 'found',
|
|
104
104
|
4: 'lost',
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
const
|
|
107
|
+
const danfossAdaptionRunControl = {
|
|
108
108
|
1: 'initate_adaptation',
|
|
109
109
|
2: 'cancel_adaptation',
|
|
110
110
|
};
|
|
@@ -279,8 +279,8 @@ module.exports = {
|
|
|
279
279
|
dayOfWeek,
|
|
280
280
|
fanMode,
|
|
281
281
|
temperatureDisplayMode,
|
|
282
|
-
|
|
283
|
-
|
|
282
|
+
danfossAdaptionRunControl,
|
|
283
|
+
danfossAdaptionRunStatus,
|
|
284
284
|
danfossWindowOpen,
|
|
285
285
|
danfossRoomStatusCode,
|
|
286
286
|
danfossOutputStatus,
|