zigbee-herdsman-converters 14.0.675 → 14.0.676

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.
@@ -4024,6 +4024,8 @@ const converters = {
4024
4024
  return {child_lock: value ? 'LOCK' : 'UNLOCK'};
4025
4025
  case tuya.dataPoints.moesHeatingSetpoint:
4026
4026
  return {current_heating_setpoint: value};
4027
+ case tuya.dataPoints.moesMinTempLimit:
4028
+ return {min_temperature_limit: value};
4027
4029
  case tuya.dataPoints.moesMaxTempLimit:
4028
4030
  return {max_temperature_limit: value};
4029
4031
  case tuya.dataPoints.moesMaxTemp:
@@ -5,10 +5,11 @@ const reporting = require('../lib/reporting');
5
5
  module.exports = [
6
6
  {
7
7
  zigbeeModel: ['A60S TW'],
8
- model: 'AC33898',
8
+ model: '4058075208384',
9
9
  vendor: 'LEDVANCE',
10
- description: ' Smart+ LED classic E27 Zigbee 10W/810lm',
11
- extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
10
+ description: 'SMART+ Classic A60 E27 Tunable white',
11
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370], disablePowerOnBehavior: true}),
12
+ ota: ota.ledvance,
12
13
  },
13
14
  {
14
15
  zigbeeModel: ['Outdoor Plug', 'Plug Value'],
package/devices/sinope.js CHANGED
@@ -123,12 +123,6 @@ module.exports = [
123
123
  await reporting.instantaneousDemand(endpoint, {min: 10, max: 304, change: 1});
124
124
  } catch (error) {/* Do nothing*/}
125
125
 
126
- await reporting.readMeteringMultiplierDivisor(endpoint);
127
- await reporting.currentSummDelivered(endpoint, {min: 10, max: 303, change: [1, 1]});
128
- try {
129
- await reporting.instantaneousDemand(endpoint, {min: 10, max: 304, change: 1});
130
- } catch (error) {/* Do nothing*/}
131
-
132
126
  await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
133
127
  try {
134
128
  await reporting.activePower(endpoint, {min: 10, max: 305, change: 1});
package/devices/tuya.js CHANGED
@@ -1463,20 +1463,19 @@ module.exports = [
1463
1463
  },
1464
1464
  },
1465
1465
  {
1466
- fingerprint: [{modelID: 'TS0215A', manufacturerName: '_TZ3000_4fsgukof'},
1467
- {modelID: 'TS0215A', manufacturerName: '_TZ3000_wr2ucaj9'},
1468
- {modelID: 'TS0215A', manufacturerName: '_TZ3000_zsh6uat3'},
1469
- {modelID: 'TS0215A', manufacturerName: '_TZ3000_tj4pwzzm'},
1470
- {modelID: 'TS0215A', manufacturerName: '_TZ3000_2izubafb'}],
1466
+ fingerprint: tuya.fingerprint('TS0215A', ['_TZ3000_4fsgukof', '_TZ3000_wr2ucaj9', '_TZ3000_zsh6uat3', '_TZ3000_tj4pwzzm',
1467
+ '_TZ3000_2izubafb', '_TZ3000_pkfazisv']),
1471
1468
  model: 'TS0215A_sos',
1472
1469
  vendor: 'TuYa',
1473
1470
  description: 'SOS button',
1474
1471
  fromZigbee: [fz.command_emergency, fz.battery],
1475
- exposes: [e.battery(), e.action(['emergency'])],
1472
+ exposes: [e.battery(), e.battery_voltage(), e.action(['emergency'])],
1476
1473
  toZigbee: [],
1477
1474
  configure: async (device, coordinatorEndpoint, logger) => {
1478
1475
  const endpoint = device.getEndpoint(1);
1479
1476
  await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'genTime', 'genBasic', 'ssIasAce', 'ssIasZone']);
1477
+ await reporting.batteryPercentageRemaining(endpoint);
1478
+ await reporting.batteryVoltage(endpoint);
1480
1479
  },
1481
1480
  },
1482
1481
  {
@@ -0,0 +1,25 @@
1
+ const fz = require('../converters/fromZigbee');
2
+ const tz = require('../converters/toZigbee');
3
+ const exposes = require('../lib/exposes');
4
+ const reporting = require('../lib/reporting');
5
+ const ota = require('../lib/ota');
6
+ const e = exposes.presets;
7
+
8
+ module.exports = [
9
+ {
10
+ fingerprint: [{modelID: 'TWV', manufacturerName: 'UHome'}],
11
+ model: 'TWV',
12
+ vendor: 'UHome',
13
+ description: 'Smart valve',
14
+ ota: ota.zigbeeOTA,
15
+ fromZigbee: [fz.on_off, fz.battery],
16
+ toZigbee: [tz.on_off],
17
+ exposes: [e.battery(), e.switch()],
18
+ configure: async (device, coordinatorEndpoint) => {
19
+ const endpoint = device.getEndpoint(1);
20
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'genOnOff']);
21
+ await reporting.batteryPercentageRemaining(endpoint);
22
+ await reporting.onOff(endpoint);
23
+ },
24
+ },
25
+ ];
package/lib/tuya.js CHANGED
@@ -1536,7 +1536,7 @@ const tzDataPoints = {
1536
1536
 
1537
1537
  const fzDataPoints = {
1538
1538
  cluster: 'manuSpecificTuya',
1539
- type: ['commandDataResponse', 'commandDataReport'],
1539
+ type: ['commandDataResponse', 'commandDataReport', 'commandActiveStatusReport', 'commandActiveStatusReportAlt'],
1540
1540
  convert: (model, msg, publish, options, meta) => {
1541
1541
  let result = {};
1542
1542
  if (!model.meta || !model.meta.tuyaDatapoints) throw new Error('No datapoints map defined');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.675",
3
+ "version": "14.0.676",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "homepage": "https://github.com/Koenkk/zigbee-herdsman-converters",
36
36
  "dependencies": {
37
- "axios": "^1.1.3",
37
+ "axios": "^1.2.0",
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.73"
41
+ "zigbee-herdsman": "^0.14.76"
42
42
  },
43
43
  "devDependencies": {
44
44
  "eslint": "*",