zigbee-herdsman-converters 15.0.51 → 15.0.52

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/owon.js CHANGED
@@ -94,14 +94,16 @@ module.exports = [
94
94
  description: 'Smart plug',
95
95
  fromZigbee: [fz.on_off, fz.metering],
96
96
  toZigbee: [tz.on_off],
97
+ exposes: [e.switch(), e.power(), e.energy()],
97
98
  configure: async (device, coordinatorEndpoint, logger) => {
98
99
  const endpoint = device.getEndpoint(1);
99
100
  await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'seMetering']);
100
101
  await reporting.onOff(endpoint);
101
102
  await reporting.readMeteringMultiplierDivisor(endpoint);
102
- await reporting.instantaneousDemand(endpoint, {min: 5, max: constants.repInterval.MINUTES_5, change: 2});
103
+ await reporting.instantaneousDemand(endpoint, {min: 5, max: constants.repInterval.MINUTES_5, change: 2}); // divider 1000: 2W
104
+ await reporting.currentSummDelivered(endpoint, {min: 5, max: constants.repInterval.MINUTES_5,
105
+ change: [10, 10]}); // divider 1000: 0,01kWh
103
106
  },
104
- exposes: [e.switch(), e.power(), e.energy()],
105
107
  },
106
108
  {
107
109
  zigbeeModel: ['WSP404'],
@@ -110,14 +112,16 @@ module.exports = [
110
112
  description: 'Smart plug',
111
113
  fromZigbee: [fz.on_off, fz.metering],
112
114
  toZigbee: [tz.on_off],
115
+ exposes: [e.switch(), e.power(), e.energy()],
113
116
  configure: async (device, coordinatorEndpoint, logger) => {
114
117
  const endpoint = device.getEndpoint(1);
115
118
  await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'seMetering']);
116
119
  await reporting.onOff(endpoint);
117
120
  await reporting.readMeteringMultiplierDivisor(endpoint);
118
- await reporting.instantaneousDemand(endpoint, {min: 5, max: constants.repInterval.MINUTES_5, change: 2});
121
+ await reporting.instantaneousDemand(endpoint, {min: 5, max: constants.repInterval.MINUTES_5, change: 2}); // divider 1000: 2W
122
+ await reporting.currentSummDelivered(endpoint, {min: 5, max: constants.repInterval.MINUTES_5,
123
+ change: [10, 10]}); // divider 1000: 0,01kWh
119
124
  },
120
- exposes: [e.switch(), e.power(), e.energy()],
121
125
  },
122
126
  {
123
127
  zigbeeModel: ['CB432'],
@@ -617,7 +617,7 @@ module.exports = [
617
617
  model: '8718699688820',
618
618
  vendor: 'Philips',
619
619
  description: 'Hue Filament Standard A60/E27 bluetooth',
620
- extend: philips.extend.light_onoff_brightness(),
620
+ extend: philips.extend.light_onoff_brightness({disableHueEffects: false}),
621
621
  },
622
622
  {
623
623
  zigbeeModel: ['LWA021'],
package/devices/tuya.js CHANGED
@@ -2998,7 +2998,8 @@ module.exports = [
2998
2998
  vendor: 'TuYa',
2999
2999
  description: '1 gang switch module - (without neutral)',
3000
3000
  extend: tuya.extend.switch({switchType: true}),
3001
- whiteLabel: [{vendor: 'AVATTO', model: '1gang N-ZLWSM01'}, {vendor: 'SMATRUL', model: 'TMZ02L-16A-W'}],
3001
+ whiteLabel: [{vendor: 'AVATTO', model: '1gang N-ZLWSM01'}, {vendor: 'SMATRUL', model: 'TMZ02L-16A-W'},
3002
+ {vendor: 'Aubess', model: 'TMZ02L-16A-B'}],
3002
3003
  configure: async (device, coordinatorEndpoint, logger) => {
3003
3004
  await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
3004
3005
  await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "15.0.51",
3
+ "version": "15.0.52",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [