zigbee-herdsman-converters 14.0.570 → 14.0.571

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.
@@ -1087,6 +1087,16 @@ const converters = {
1087
1087
  };
1088
1088
  },
1089
1089
  },
1090
+ command_store: {
1091
+ cluster: 'genScenes',
1092
+ type: 'commandStore',
1093
+ convert: (model, msg, publish, options, meta) => {
1094
+ if (utils.hasAlreadyProcessedMessage(msg)) return;
1095
+ const payload = {action: utils.postfixWithEndpointName(`store_${msg.data.sceneid}`, msg, model)};
1096
+ utils.addActionGroup(payload, msg, model);
1097
+ return payload;
1098
+ },
1099
+ },
1090
1100
  command_recall: {
1091
1101
  cluster: 'genScenes',
1092
1102
  type: 'commandRecall',
@@ -5183,26 +5193,6 @@ const converters = {
5183
5193
  return {action: `${button}_${action}`};
5184
5194
  },
5185
5195
  },
5186
- ZG2819S_command_on: {
5187
- cluster: 'genOnOff',
5188
- type: 'commandOn',
5189
- convert: (model, msg, publish, options, meta) => {
5190
- // The device sends this command for all four group IDs.
5191
- // Only forward for the first group.
5192
- if (msg.groupID !== 46337) return null;
5193
- return {action: postfixWithEndpointName('on', msg, model)};
5194
- },
5195
- },
5196
- ZG2819S_command_off: {
5197
- cluster: 'genOnOff',
5198
- type: 'commandOff',
5199
- convert: (model, msg, publish, options, meta) => {
5200
- // The device sends this command for all four group IDs.
5201
- // Only forward for the first group.
5202
- if (msg.groupID !== 46337) return null;
5203
- return {action: postfixWithEndpointName('off', msg, model)};
5204
- },
5205
- },
5206
5196
  kmpcil_res005_occupancy: {
5207
5197
  cluster: 'genBinaryInput',
5208
5198
  type: ['attributeReport', 'readResponse'],
@@ -127,12 +127,12 @@ module.exports = [
127
127
  model: 'AU-A1ZBRC',
128
128
  vendor: 'Aurora Lighting',
129
129
  description: 'AOne smart remote',
130
- fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.command_step],
130
+ fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.command_step, fz.command_recall, fz.command_store],
131
131
  toZigbee: [],
132
- exposes: [e.battery(), e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down'])],
132
+ exposes: [e.battery(), e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down', 'recall_1', 'store_1'])],
133
133
  configure: async (device, coordinatorEndpoint, logger) => {
134
134
  const endpoint = device.getEndpoint(1);
135
- await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'genPowerCfg']);
135
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'genPowerCfg', 'genScenes']);
136
136
  },
137
137
  },
138
138
  {
package/devices/ikea.js CHANGED
@@ -445,10 +445,10 @@ module.exports = [
445
445
  extend: tradfriExtend.light_onoff_brightness_colortemp(),
446
446
  },
447
447
  {
448
- zigbeeModel: ['TRADFRIbulbE14WSglobeopal470lm'],
448
+ zigbeeModel: ['TRADFRIbulbE14WSglobeopal470lm', 'TRADFRIbulbE12WSglobeopal470lm'],
449
449
  model: 'LED2002G5',
450
450
  vendor: 'IKEA',
451
- description: 'TRADFRI LED bulb E14 470 lumen, dimmable, white spectrum, clear',
451
+ description: 'TRADFRI LED bulb E14/E12 470 lumen, dimmable, white spectrum, clear',
452
452
  extend: tradfriExtend.light_onoff_brightness_colortemp(),
453
453
  },
454
454
  {
@@ -157,7 +157,7 @@ module.exports = [
157
157
  vendor: 'Iluminize',
158
158
  description: 'Zigbee handheld remote RGBW 4 channels',
159
159
  fromZigbee: [fz.battery, fz.command_move_to_color, fz.command_move_to_color_temp, fz.command_move_hue,
160
- fz.command_step, fz.command_recall, fz.ZG2819S_command_on, fz.ZG2819S_command_off],
160
+ fz.command_step, fz.command_recall, fz.command_on, fz.command_off],
161
161
  exposes: [e.battery(), e.action([
162
162
  'color_move', 'color_temperature_move', 'hue_move', 'hue_stop', 'brightness_step_up', 'brightness_step_down',
163
163
  'recall_*', 'on', 'off'])],
@@ -1963,6 +1963,13 @@ module.exports = [
1963
1963
  description: 'Hue white ambiance Aurelle rectangle panel light',
1964
1964
  extend: hueExtend.light_onoff_brightness_colortemp(),
1965
1965
  },
1966
+ {
1967
+ zigbeeModel: ['1744830P7'],
1968
+ model: '8718696170656',
1969
+ vendor: 'Philips',
1970
+ description: 'Hue White Fuzo outdoor floor light',
1971
+ extend: hueExtend.light_onoff_brightness(),
1972
+ },
1966
1973
  {
1967
1974
  zigbeeModel: ['1744530P7', '1744630P7', '1744430P7', '1744730P7'],
1968
1975
  model: '8718696170625',
@@ -325,7 +325,8 @@ module.exports = [
325
325
  },
326
326
  {
327
327
  fingerprint: [{modelID: 'GreenPower_2', ieeeAddr: /^0x000000005d5.....$/},
328
- {modelID: 'GreenPower_2', ieeeAddr: /^0x0000000057e.....$/}],
328
+ {modelID: 'GreenPower_2', ieeeAddr: /^0x0000000057e.....$/},
329
+ {modelID: 'GreenPower_2', ieeeAddr: /^0x00000000f12.....$/}],
329
330
  model: 'SR-ZGP2801K4-DIM',
330
331
  vendor: 'Sunricher',
331
332
  description: 'Pushbutton transmitter module',
package/devices/terncy.js CHANGED
@@ -3,10 +3,18 @@ const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/lega
3
3
  const tz = require('../converters/toZigbee');
4
4
  const ota = require('../lib/ota');
5
5
  const reporting = require('../lib/reporting');
6
+ const extend = require('../lib/extend');
6
7
  const e = exposes.presets;
7
8
  const ea = exposes.access;
8
9
 
9
10
  module.exports = [
11
+ {
12
+ zigbeeModel: ['DL001'],
13
+ model: 'DL001',
14
+ vendor: 'TERNCY',
15
+ description: 'Two color temperature intelligent downlight',
16
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [156, 476]}),
17
+ },
10
18
  {
11
19
  zigbeeModel: ['TERNCY-DC01'],
12
20
  model: 'TERNCY-DC01',
package/devices/tuya.js CHANGED
@@ -535,7 +535,8 @@ module.exports = [
535
535
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_y5fjkn7x'},
536
536
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_cuqkfz2q'},
537
537
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_6amjviba'},
538
- {modelID: 'TS0505B', manufacturerName: '_TZ3000_xr5m6kfg'}],
538
+ {modelID: 'TS0505B', manufacturerName: '_TZ3000_xr5m6kfg'},
539
+ {modelID: 'TS0505B', manufacturerName: '_TZ3210_bf175wi4'}],
539
540
  model: 'TS0505B',
540
541
  vendor: 'TuYa',
541
542
  description: 'Zigbee RGB+CCT light',
@@ -543,6 +544,7 @@ module.exports = [
543
544
  {vendor: 'TuYa', model: 'A5C-21F7-01'}, {vendor: 'Mercator Ikuü', model: 'S9E27LED9W-RGB-Z'},
544
545
  {vendor: 'Aldi', model: 'L122CB63H11A9.0W', description: 'LIGHTWAY smart home LED-lamp - bulb'},
545
546
  {vendor: 'Lidl', model: '14153706L', description: 'Livarno smart LED ceiling light'},
547
+ {vendor: 'Zemismart', model: 'LXZB-ZB-09A', description: 'Zemismart LED Surface Mounted Downlight 9W RGBW'},
546
548
  ],
547
549
  extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], disableColorTempStartup: true}),
548
550
  meta: {applyRedFix: true, enhancedHue: false},
package/devices/xiaomi.js CHANGED
@@ -1127,6 +1127,7 @@ module.exports = [
1127
1127
  toZigbee: [tz.on_off, tz.xiaomi_power],
1128
1128
  exposes: [e.switch(), e.power().withAccess(ea.STATE_GET), e.energy(), e.device_temperature().withAccess(ea.STATE),
1129
1129
  e.voltage().withAccess(ea.STATE)],
1130
+ ota: ota.zigbeeOTA,
1130
1131
  },
1131
1132
  {
1132
1133
  zigbeeModel: ['lumi.plug.maeu01'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.570",
3
+ "version": "14.0.571",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "buffer-crc32": "^0.2.13",
39
39
  "https-proxy-agent": "^5.0.1",
40
40
  "tar-stream": "^2.2.0",
41
- "zigbee-herdsman": "^0.14.42"
41
+ "zigbee-herdsman": "^0.14.45"
42
42
  },
43
43
  "devDependencies": {
44
44
  "eslint": "*",