zigbee-herdsman-converters 15.0.70 → 15.0.71

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/girier.js CHANGED
@@ -6,6 +6,7 @@ module.exports = [
6
6
  fingerprint: [
7
7
  {modelID: 'TS0001', manufacturerName: '_TZ3000_majwnphg'},
8
8
  {modelID: 'TS0001', manufacturerName: '_TZ3000_6axxqqi2'},
9
+ {modelID: 'TS0001', manufacturerName: '_TZ3000_zw7yf6yk'},
9
10
  ],
10
11
  model: 'JR-ZDS01',
11
12
  vendor: 'Girier',
package/devices/tuya.js CHANGED
@@ -787,6 +787,7 @@ module.exports = [
787
787
  fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_bq5c8xfe'},
788
788
  {modelID: 'TS0601', manufacturerName: '_TZE200_bjawzodf'},
789
789
  {modelID: 'TS0601', manufacturerName: '_TZE200_qyflbnbj'},
790
+ {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'},
790
791
  {modelID: 'TS0601', manufacturerName: '_TZE200_zl1kmjqx'}],
791
792
  model: 'TS0601_temperature_humidity_sensor',
792
793
  vendor: 'TuYa',
@@ -1692,7 +1693,6 @@ module.exports = [
1692
1693
  {modelID: 'TS0201', manufacturerName: '_TZ3000_yd2e749y'},
1693
1694
  {modelID: 'TS0201', manufacturerName: '_TZ3000_6uzkisv2'},
1694
1695
  {modelID: 'TS0201', manufacturerName: '_TZ3000_xr3htd96'},
1695
- {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'},
1696
1696
  ],
1697
1697
  model: 'WSD500A',
1698
1698
  vendor: 'TuYa',
@@ -76,4 +76,44 @@ module.exports = [
76
76
  }
77
77
  },
78
78
  },
79
+ {
80
+ zigbeeModel: ['H34450BA00-00007'],
81
+ model: 'UEHK2AZ0',
82
+ vendor: 'Universal Electronics Inc',
83
+ description: 'Xfinity security keypad',
84
+ meta: {battery: {voltageToPercentage: '3V_2100'}},
85
+ fromZigbee: [
86
+ fz.command_arm_with_transaction, fz.temperature, fz.battery, fz.ias_occupancy_alarm_1,
87
+ fz.identify, fz.ias_contact_alarm_1, fz.ias_ace_occupancy_with_timeout,
88
+ ],
89
+ toZigbee: [tz.arm_mode],
90
+ exposes: [
91
+ e.battery(), e.battery_voltage(), e.occupancy(), e.battery_low(),
92
+ e.tamper(), e.presence(), e.contact(), e.temperature(),
93
+ exposes.numeric('action_code', ea.STATE).withDescription('Pin code introduced.'),
94
+ exposes.numeric('action_transaction', ea.STATE).withDescription('Last action transaction number.'),
95
+ exposes.text('action_zone', ea.STATE).withDescription('Alarm zone. Default value 0'),
96
+ e.action([
97
+ 'disarm', 'arm_day_zones', 'identify', 'arm_night_zones', 'arm_all_zones', 'exit_delay', 'emergency',
98
+ ])],
99
+ configure: async (device, coordinatorEndpoint) => {
100
+ const endpoint = device.getEndpoint(1);
101
+ const clusters = ['msTemperatureMeasurement', 'genPowerCfg', 'ssIasZone', 'ssIasAce', 'genBasic', 'genIdentify'];
102
+ await reporting.bind(endpoint, coordinatorEndpoint, clusters);
103
+ await reporting.temperature(endpoint);
104
+ await reporting.batteryVoltage(endpoint);
105
+ },
106
+ onEvent: async (type, data, device) => {
107
+ if (type === 'message' && data.type === 'commandGetPanelStatus' && data.cluster === 'ssIasAce' &&
108
+ globalStore.hasValue(device.getEndpoint(1), 'panelStatus')) {
109
+ const payload = {
110
+ panelstatus: globalStore.getValue(device.getEndpoint(1), 'panelStatus'),
111
+ secondsremain: 0x00, audiblenotif: 0x00, alarmstatus: 0x00,
112
+ };
113
+ await device.getEndpoint(1).commandResponse(
114
+ 'ssIasAce', 'getPanelStatusRsp', payload, {}, data.meta.zclTransactionSequenceNumber,
115
+ );
116
+ }
117
+ },
118
+ },
79
119
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "15.0.70",
3
+ "version": "15.0.71",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [