zigbee-herdsman-converters 15.0.7 → 15.0.9

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.
@@ -518,6 +518,22 @@ module.exports = [
518
518
  toZigbee: [],
519
519
  exposes: [e.contact(), e.battery_low()],
520
520
  },
521
+ {
522
+ zigbeeModel: ['WISZB-137'],
523
+ model: 'WISZB-137',
524
+ vendor: 'Develco',
525
+ description: 'Vibration sensor',
526
+ fromZigbee: [fz.battery, fz.ias_vibration_alarm_1, fz.temperature],
527
+ toZigbee: [],
528
+ meta: {battery: {voltageToPercentage: '3V_2100'}},
529
+ exposes: [e.battery_low(), e.battery(), e.temperature(), e.vibration(), e.tamper()],
530
+ configure: async (device, coordinatorEndpoint) => {
531
+ const endpoint38 = device.getEndpoint(38);
532
+ await reporting.bind(endpoint38, coordinatorEndpoint, ['msTemperatureMeasurement', 'genPowerCfg']);
533
+ await reporting.temperature(endpoint38);
534
+ await reporting.batteryVoltage(endpoint38);
535
+ },
536
+ },
521
537
  {
522
538
  zigbeeModel: ['MOSZB-130'],
523
539
  model: 'MOSZB-130',
package/devices/ecodim.js CHANGED
@@ -124,7 +124,7 @@ module.exports = [
124
124
  'brightness_move_down_3', 'brightness_stop_3', 'on_4', 'off_4', 'brightness_move_up_4', 'brightness_move_down_4',
125
125
  'brightness_stop_4'])],
126
126
  toZigbee: [],
127
- meta: {multiEndpoint: true, battery: {dontDividePercentage: true}},
127
+ meta: {multiEndpoint: true},
128
128
  },
129
129
  {
130
130
  fingerprint: [{modelID: 'TS0501B', manufacturerName: '_TZ3210_yluvwhjc'}],
package/devices/heiman.js CHANGED
@@ -39,18 +39,20 @@ module.exports = [
39
39
  model: 'HS2SK',
40
40
  description: 'Smart metering plug',
41
41
  vendor: 'HEIMAN',
42
- fromZigbee: [fz.on_off, fz.electrical_measurement],
42
+ fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering],
43
43
  toZigbee: [tz.on_off],
44
44
  configure: async (device, coordinatorEndpoint, logger) => {
45
45
  const endpoint = device.getEndpoint(1);
46
- await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement']);
46
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
47
47
  await reporting.onOff(endpoint);
48
48
  await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
49
49
  await reporting.rmsVoltage(endpoint);
50
50
  await reporting.rmsCurrent(endpoint);
51
51
  await reporting.activePower(endpoint);
52
+ await reporting.readMeteringMultiplierDivisor(endpoint);
53
+ await reporting.currentSummDelivered(endpoint);
52
54
  },
53
- exposes: [e.switch(), e.power(), e.current(), e.voltage()],
55
+ exposes: [e.switch(), e.power(), e.current(), e.voltage(), e.energy()],
54
56
  },
55
57
  {
56
58
  fingerprint: [{modelID: 'SmartPlug-N', manufacturerName: 'HEIMAN'}],
@@ -22,7 +22,8 @@ module.exports = [
22
22
  },
23
23
  {
24
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
- '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'],
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-612-MP-1.2',
26
+ 'SV01-610-MP-1.4'],
26
27
  model: 'SV01',
27
28
  vendor: 'Keen Home',
28
29
  description: 'Smart vent',
package/devices/moes.js CHANGED
@@ -290,9 +290,9 @@ module.exports = [
290
290
  e.valve_state(), e.position(), e.window_detection(),
291
291
  exposes.binary('window', ea.STATE, 'OPEN', 'CLOSED').withDescription('Window status closed or open '),
292
292
  exposes.climate()
293
- .withLocalTemperature(ea.STATE).withSetpoint('current_heating_setpoint', 5, 35, 1, ea.STATE_SET)
293
+ .withLocalTemperature(ea.STATE).withSetpoint('current_heating_setpoint', 5, 45, 0.5, ea.STATE_SET)
294
294
  .withLocalTemperatureCalibration(-9, 9, 1, ea.STATE_SET)
295
- .withSystemMode(['heat'], ea.STATE_SET)
295
+ .withSystemMode(['off', 'heat'], ea.STATE_SET)
296
296
  .withRunningState(['idle', 'heat'], ea.STATE)
297
297
  .withPreset(['programming', 'manual', 'temporary_manual', 'holiday'],
298
298
  'MANUAL MODE ☝ - In this mode, the device executes manual temperature setting. '+
package/devices/neo.js CHANGED
@@ -58,7 +58,7 @@ module.exports = [
58
58
  },
59
59
  },
60
60
  {
61
- fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_7hfcudw5'}, {modelID: 'TS0202', manufacturerName: '_TZ3000_kmh5qpmb'}],
61
+ fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_7hfcudw5'}],
62
62
  model: 'NAS-PD07',
63
63
  vendor: 'Neo',
64
64
  description: 'Motion, temperature & humidity sensor',
@@ -2495,6 +2495,13 @@ module.exports = [
2495
2495
  description: 'Hue White ambiance Buckram single spotlight with bluetooth',
2496
2496
  extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
2497
2497
  },
2498
+ {
2499
+ zigbeeModel: ['5047130P6'],
2500
+ model: '5047130P6',
2501
+ vendor: 'Philips',
2502
+ description: 'Hue White ambiance Buckram single spotlight with bluetooth',
2503
+ extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
2504
+ },
2498
2505
  {
2499
2506
  zigbeeModel: ['HML006'],
2500
2507
  model: '7531609',
package/devices/tuya.js CHANGED
@@ -927,7 +927,7 @@ module.exports = [
927
927
  fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_mvn6jl7x'},
928
928
  {modelID: 'TS011F', manufacturerName: '_TZ3000_raviyuvk'}, {modelID: 'TS011F', manufacturerName: '_TYZB01_hlla45kx'},
929
929
  {modelID: 'TS011F', manufacturerName: '_TZ3000_92qd4sqa'}, {modelID: 'TS011F', manufacturerName: '_TZ3000_zwaadvus'},
930
- {modelID: 'TS011F', manufacturerName: '_TZ3000_k6fvknrr'}],
930
+ {modelID: 'TS011F', manufacturerName: '_TZ3000_k6fvknrr'}, {modelID: 'TS011F', manufacturerName: '_TZ3000_6s5dc9lx'}],
931
931
  model: 'TS011F_2_gang_wall',
932
932
  vendor: 'TuYa',
933
933
  description: '2 gang wall outlet',
@@ -1094,6 +1094,9 @@ module.exports = [
1094
1094
  {modelID: 'TS0202', manufacturerName: '_TZ3000_otvn3lne'},
1095
1095
  {modelID: 'TS0202', manufacturerName: '_TZ3000_tiwq83wk'},
1096
1096
  {modelID: 'TS0202', manufacturerName: '_TZ3000_ykwcwxmz'},
1097
+ // _TZ3000_kmh5qpmb = NAS-PD07 without temperature/humidity sensor
1098
+ // https://github.com/Koenkk/zigbee2mqtt/issues/15481#issuecomment-1366003011
1099
+ {modelID: 'TS0202', manufacturerName: '_TZ3000_kmh5qpmb'},
1097
1100
  {modelID: 'TS0202', manufacturerName: '_TZ3000_hgu1dlak'},
1098
1101
  {modelID: 'TS0202', manufacturerName: '_TZ3000_h4wnrtck'},
1099
1102
  {modelID: 'WHD02', manufacturerName: '_TZ3000_hktqahrq'}],
@@ -1218,7 +1221,6 @@ module.exports = [
1218
1221
  {modelID: 'TS0601', manufacturerName: '_TZE200_ojzhk75b'},
1219
1222
  {modelID: 'TS0601', manufacturerName: '_TZE200_swaamsoy'},
1220
1223
  {modelID: 'TS0601', manufacturerName: '_TZE200_3p5ydos3'},
1221
- {modelID: 'TS0601', manufacturerName: '_TZE200_p0gzbqct'},
1222
1224
  ],
1223
1225
  model: 'TS0601_dimmer',
1224
1226
  vendor: 'TuYa',
@@ -1255,7 +1257,7 @@ module.exports = [
1255
1257
  meta: {
1256
1258
  tuyaDatapoints: [
1257
1259
  [3, 'humidity', tuya.valueConverter.raw],
1258
- [5, 'temperature', tuya.valueConverter.divideBy10],
1260
+ [5, 'temperature', tuya.valueConverter.raw],
1259
1261
  [9, 'temperature_unit', tuya.valueConverter.temperatureUnit],
1260
1262
  [14, 'battery_state', tuya.valueConverter.batteryState],
1261
1263
  [15, 'battery', tuya.valueConverter.raw],
@@ -1764,7 +1766,7 @@ module.exports = [
1764
1766
  */
1765
1767
  },
1766
1768
  {
1767
- fingerprint: tuya.fingerprint('TS004F', ['_TZ3000_xabckq1v', '_TZ3000_czuyt8lz', '_TZ3000_ja5osu5g']),
1769
+ fingerprint: tuya.fingerprint('TS004F', ['_TZ3000_xabckq1v', '_TZ3000_czuyt8lz']),
1768
1770
  model: 'TS004F',
1769
1771
  vendor: 'TuYa',
1770
1772
  description: 'Wireless switch with 4 buttons',
@@ -3514,7 +3516,8 @@ module.exports = [
3514
3516
  ],
3515
3517
  },
3516
3518
  {
3517
- fingerprint: [{modelID: 'TS004F', manufacturerName: '_TZ3000_kjfzuycl'}],
3519
+ fingerprint: [{modelID: 'TS004F', manufacturerName: '_TZ3000_kjfzuycl'},
3520
+ {modelID: 'TS004F', manufacturerName: '_TZ3000_ja5osu5g'}],
3518
3521
  model: 'ERS-10TZBVB-AA',
3519
3522
  vendor: 'TuYa',
3520
3523
  description: 'Smart button',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "15.0.7",
3
+ "version": "15.0.9",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [