zigbee-herdsman-converters 14.0.651 → 14.0.652
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/ikea.js +2 -2
- package/devices/legrand.js +13 -4
- package/devices/philips.js +7 -0
- package/devices/tuya.js +1 -0
- package/package.json +1 -1
package/devices/ikea.js
CHANGED
|
@@ -367,10 +367,10 @@ module.exports = [
|
|
|
367
367
|
extend: tradfriExtend.light_onoff_brightness_colortemp(),
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
|
-
zigbeeModel: ['TRADFRIbulbE27WSglobeclear806lm'],
|
|
370
|
+
zigbeeModel: ['TRADFRIbulbE26WSglobeclear800lm', 'TRADFRIbulbE27WSglobeclear806lm'],
|
|
371
371
|
model: 'LED2004G8',
|
|
372
372
|
vendor: 'IKEA',
|
|
373
|
-
description: 'TRADFRI LED bulb E27 806 lumen, dimmable, white spectrum, clear',
|
|
373
|
+
description: 'TRADFRI LED bulb E26/E27 800/806 lumen, dimmable, white spectrum, clear',
|
|
374
374
|
extend: tradfriExtend.light_onoff_brightness_colortemp(),
|
|
375
375
|
},
|
|
376
376
|
{
|
package/devices/legrand.js
CHANGED
|
@@ -26,6 +26,17 @@ const fzLocal = {
|
|
|
26
26
|
return payload;
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
+
command_toggle: {
|
|
30
|
+
cluster: 'genOnOff',
|
|
31
|
+
type: 'commandToggle',
|
|
32
|
+
convert: (model, msg, publish, options, meta) => {
|
|
33
|
+
// Re-uses transactions sequence number so hasAlreadyProcessedMessage(msg) suppresess actions
|
|
34
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/14256
|
|
35
|
+
const payload = {action: utils.postfixWithEndpointName('toggle', msg, model, meta)};
|
|
36
|
+
utils.addActionGroup(payload, msg, model);
|
|
37
|
+
return payload;
|
|
38
|
+
},
|
|
39
|
+
},
|
|
29
40
|
};
|
|
30
41
|
|
|
31
42
|
module.exports = [
|
|
@@ -122,7 +133,7 @@ module.exports = [
|
|
|
122
133
|
vendor: 'Legrand',
|
|
123
134
|
// led blink RED when battery is low
|
|
124
135
|
description: 'Wireless remote switch',
|
|
125
|
-
fromZigbee: [fz.identify, fz.command_on, fzLocal.command_off,
|
|
136
|
+
fromZigbee: [fz.identify, fz.command_on, fzLocal.command_off, fzLocal.command_toggle, fz.legacy.cmd_move, fz.legacy.cmd_stop,
|
|
126
137
|
fz.battery],
|
|
127
138
|
exposes: [e.battery(), e.action(['identify', 'on', 'off', 'toggle', 'brightness_move_up',
|
|
128
139
|
'brightness_move_down', 'brightness_stop'])],
|
|
@@ -132,14 +143,13 @@ module.exports = [
|
|
|
132
143
|
const endpoint = device.getEndpoint(1);
|
|
133
144
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'genOnOff', 'genLevelCtrl']);
|
|
134
145
|
},
|
|
135
|
-
onEvent: readInitialBatteryState,
|
|
136
146
|
},
|
|
137
147
|
{
|
|
138
148
|
zigbeeModel: [' Double gangs remote switch\u0000\u0000\u0000\u0000'],
|
|
139
149
|
model: '067774',
|
|
140
150
|
vendor: 'Legrand',
|
|
141
151
|
description: 'Wireless double remote switch',
|
|
142
|
-
fromZigbee: [fz.identify, fz.command_on, fzLocal.command_off,
|
|
152
|
+
fromZigbee: [fz.identify, fz.command_on, fzLocal.command_off, fzLocal.command_toggle, fz.command_move, fz.command_stop, fz.battery],
|
|
143
153
|
exposes: [e.battery(),
|
|
144
154
|
e.action(['identify', 'on', 'off', 'toggle', 'brightness_move_up', 'brightness_move_down', 'brightness_stop'])],
|
|
145
155
|
toZigbee: [],
|
|
@@ -153,7 +163,6 @@ module.exports = [
|
|
|
153
163
|
endpoint: (device) => {
|
|
154
164
|
return {left: 1, right: 2};
|
|
155
165
|
},
|
|
156
|
-
onEvent: readInitialBatteryState,
|
|
157
166
|
},
|
|
158
167
|
{
|
|
159
168
|
zigbeeModel: [' Remote toggle switch\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'],
|
package/devices/philips.js
CHANGED
|
@@ -2869,4 +2869,11 @@ module.exports = [
|
|
|
2869
2869
|
description: ' Hue Sana wall lamp with Bluetooth white',
|
|
2870
2870
|
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2871
2871
|
},
|
|
2872
|
+
{
|
|
2873
|
+
zigbeeModel: ['LTD007'],
|
|
2874
|
+
model: '5110731H5',
|
|
2875
|
+
vendor: 'Philips',
|
|
2876
|
+
description: 'Hue white ambiance Garnea downlight',
|
|
2877
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2878
|
+
},
|
|
2872
2879
|
];
|
package/devices/tuya.js
CHANGED
|
@@ -913,6 +913,7 @@ module.exports = [
|
|
|
913
913
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_awrucboq'},
|
|
914
914
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_ijczzg9h'},
|
|
915
915
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_qxenlrin'},
|
|
916
|
+
{modelID: 'TS0505B', manufacturerName: '_TZ3210_vaiyrvd1'},
|
|
916
917
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_iwbaamgh'},
|
|
917
918
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_klv2wul0'},
|
|
918
919
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_s6zec0of'},
|