zigbee-herdsman-converters 14.0.555 → 14.0.556
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 +1 -1
- package/devices/philips.js +1 -1
- package/devices/rgb_genie.js +26 -1
- package/devices/tuya.js +6 -1
- package/package.json +1 -1
package/devices/ikea.js
CHANGED
|
@@ -46,7 +46,7 @@ const bulbOnEvent = async (type, data, device, options, state) => {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
const configureRemote = async (device, coordinatorEndpoint, logger) => {
|
|
49
|
-
// Firmware 2.3.
|
|
49
|
+
// Firmware 2.3.075 >= only supports binding to endpoint, before only to group
|
|
50
50
|
// - https://github.com/Koenkk/zigbee2mqtt/issues/2772#issuecomment-577389281
|
|
51
51
|
// - https://github.com/Koenkk/zigbee2mqtt/issues/7716
|
|
52
52
|
const endpoint = device.getEndpoint(1);
|
package/devices/philips.js
CHANGED
|
@@ -917,7 +917,7 @@ module.exports = [
|
|
|
917
917
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
918
918
|
},
|
|
919
919
|
{
|
|
920
|
-
zigbeeModel: ['3418131P6'],
|
|
920
|
+
zigbeeModel: ['3418131P6', '929003056401'],
|
|
921
921
|
model: '3418131P6',
|
|
922
922
|
vendor: 'Philips',
|
|
923
923
|
description: 'Hue white ambiance Adore GU10 with Bluetooth (3 spots)',
|
package/devices/rgb_genie.js
CHANGED
|
@@ -3,6 +3,30 @@ const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/lega
|
|
|
3
3
|
const reporting = require('../lib/reporting');
|
|
4
4
|
const extend = require('../lib/extend');
|
|
5
5
|
const e = exposes.presets;
|
|
6
|
+
const utils = require('../lib/utils');
|
|
7
|
+
|
|
8
|
+
const fzLocal = {
|
|
9
|
+
// ZB-1026 requires separate on/off converters since it re-uses the transaction number
|
|
10
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/12957
|
|
11
|
+
ZB1026_command_on: {
|
|
12
|
+
cluster: 'genOnOff',
|
|
13
|
+
type: 'commandOn',
|
|
14
|
+
convert: (model, msg, publish, options, meta) => {
|
|
15
|
+
const payload = {action: utils.postfixWithEndpointName('on', msg, model)};
|
|
16
|
+
utils.addActionGroup(payload, msg, model);
|
|
17
|
+
return payload;
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
ZB1026_command_off: {
|
|
21
|
+
cluster: 'genOnOff',
|
|
22
|
+
type: 'commandOff',
|
|
23
|
+
convert: (model, msg, publish, options, meta) => {
|
|
24
|
+
const payload = {action: utils.postfixWithEndpointName('off', msg, model)};
|
|
25
|
+
utils.addActionGroup(payload, msg, model);
|
|
26
|
+
return payload;
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
};
|
|
6
30
|
|
|
7
31
|
module.exports = [
|
|
8
32
|
{
|
|
@@ -17,7 +41,8 @@ module.exports = [
|
|
|
17
41
|
model: 'ZB-5001',
|
|
18
42
|
vendor: 'RGB Genie',
|
|
19
43
|
description: 'Zigbee 3.0 remote control',
|
|
20
|
-
fromZigbee: [fz.command_recall,
|
|
44
|
+
fromZigbee: [fz.command_recall, fzLocal.ZB1026_command_on, fzLocal.ZB1026_command_off,
|
|
45
|
+
fz.command_move, fz.command_stop, fz.battery],
|
|
21
46
|
exposes: [e.battery(), e.action(['recall_*', 'on', 'off', 'brightness_stop', 'brightness_move_up', 'brightness_move_down'])],
|
|
22
47
|
toZigbee: [],
|
|
23
48
|
},
|
package/devices/tuya.js
CHANGED
|
@@ -906,6 +906,7 @@ module.exports = [
|
|
|
906
906
|
{modelID: 'TS0502B', manufacturerName: '_TZ3000_armwcncd'},
|
|
907
907
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_2p6wbry3'},
|
|
908
908
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_qamcypen'},
|
|
909
|
+
{modelID: 'TS0502B', manufacturerName: '_TZ3210_zdrhqmo0'},
|
|
909
910
|
],
|
|
910
911
|
model: 'TS0502B',
|
|
911
912
|
vendor: 'TuYa',
|
|
@@ -961,9 +962,13 @@ module.exports = [
|
|
|
961
962
|
model: 'WSD500A',
|
|
962
963
|
vendor: 'TuYa',
|
|
963
964
|
description: 'Temperature & humidity sensor',
|
|
964
|
-
fromZigbee: [
|
|
965
|
+
fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fz.humidity],
|
|
965
966
|
toZigbee: [],
|
|
966
967
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
|
|
968
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
969
|
+
const endpoint = device.getEndpoint(1);
|
|
970
|
+
await endpoint.read('genBasic', ['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
971
|
+
},
|
|
967
972
|
},
|
|
968
973
|
{
|
|
969
974
|
fingerprint: [{modelID: 'SM0201', manufacturerName: '_TYZB01_cbiezpds'}],
|