zigbee-herdsman-converters 14.0.304 → 14.0.305

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.
@@ -23,4 +23,11 @@ module.exports = [
23
23
  extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
24
24
  meta: {turnsOffAtBrightness1: true},
25
25
  },
26
+ {
27
+ zigbeeModel: ['ZB_A60_RGBCW'],
28
+ model: 'ZB_A60_RGBCW',
29
+ vendor: 'Ajax Online',
30
+ description: 'Smart Zigbee pro 12W A60 RGBCW bulb',
31
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
32
+ },
26
33
  ];
@@ -9,7 +9,8 @@ const ea = exposes.access;
9
9
 
10
10
  module.exports = [
11
11
  {
12
- // eTRV0100 is the same as Hive TRV. If implementing anything, please consider changing Hive TRV001 too.
12
+ // eTRV0100 is the same as Hive TRV001 and Popp eT093WRO. If implementing anything, please consider
13
+ // changing those two too.
13
14
  zigbeeModel: ['eTRV0100'],
14
15
  model: '014G2461',
15
16
  vendor: 'Danfoss',
@@ -37,7 +38,7 @@ module.exports = [
37
38
  exposes.binary('heat_required', ea.STATE_GET, true, false)
38
39
  .withDescription('Whether or not the unit needs warm water. `false` No Heat Request or `true` Heat Request'),
39
40
  exposes.enum('setpoint_change_source', ea.STATE, ['manual', 'schedule', 'externally'])
40
- .withDescription('Values observed are `0` (set locally) or `2` (set via Zigbee)'),
41
+ .withDescription('Values observed are `0` (manual), `1` (schedule) or `2` (externally)'),
41
42
  exposes.climate().withSetpoint('occupied_heating_setpoint', 5, 32, 0.5).withLocalTemperature().withPiHeatingDemand()
42
43
  .withSystemMode(['heat']).withRunningState(['idle', 'heat'], ea.STATE),
43
44
  exposes.numeric('external_measured_room_sensor', ea.ALL)
@@ -71,10 +72,10 @@ module.exports = [
71
72
  await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'hvacThermostat']);
72
73
 
73
74
  // standard ZCL attributes
74
- await reporting.batteryPercentageRemaining(endpoint, {min: constants.repInterval.HOUR, max: 43200, change: 1});
75
- await reporting.thermostatTemperature(endpoint, {min: 0, max: constants.repInterval.MINUTES_10, change: 25});
76
- await reporting.thermostatPIHeatingDemand(endpoint, {min: 0, max: constants.repInterval.MINUTES_10, change: 1});
77
- await reporting.thermostatOccupiedHeatingSetpoint(endpoint, {min: 0, max: constants.repInterval.MINUTES_10, change: 25});
75
+ await reporting.batteryPercentageRemaining(endpoint);
76
+ await reporting.thermostatTemperature(endpoint, {min: 0, max: constants.repInterval.HOUR, change: 5});
77
+ await reporting.thermostatPIHeatingDemand(endpoint);
78
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint, {min: 0, max: constants.repInterval.HOUR, change: 5});
78
79
 
79
80
  // danfoss attributes
80
81
  await endpoint.configureReporting('hvacThermostat', [{
package/devices/hive.js CHANGED
@@ -150,6 +150,8 @@ module.exports = [
150
150
  },
151
151
  },
152
152
  {
153
+ // TRV001 is the same as Danfoss Ally (eTRV0100) and Popp eT093WRO. If implementing anything, please consider
154
+ // changing those two too.
153
155
  zigbeeModel: ['TRV001'],
154
156
  model: 'UK7004240',
155
157
  vendor: 'Hive',
@@ -160,7 +162,7 @@ module.exports = [
160
162
  tz.danfoss_heat_available, tz.danfoss_heat_required, tz.danfoss_day_of_week, tz.danfoss_trigger_time,
161
163
  tz.danfoss_window_open_internal, tz.danfoss_window_open_external, tz.danfoss_load_estimate,
162
164
  tz.danfoss_viewing_direction, tz.danfoss_external_measured_room_sensor, tz.thermostat_keypad_lockout,
163
- tz.thermostat_system_mode],
165
+ tz.thermostat_system_mode, tz.danfoss_load_balancing_enable, tz.danfoss_load_room_mean],
164
166
  exposes: [e.battery(), e.keypad_lockout(),
165
167
  exposes.binary('mounted_mode_active', ea.STATE_GET, true, false)
166
168
  .withDescription('Is the unit in mounting mode. This is set to `false` for mounted (already on ' +
@@ -176,6 +178,8 @@ module.exports = [
176
178
  .withDescription('Not clear how this affects operation. `false` No Heat Available or `true` Heat Available'),
177
179
  exposes.binary('heat_required', ea.STATE_GET, true, false)
178
180
  .withDescription('Whether or not the unit needs warm water. `false` No Heat Request or `true` Heat Request'),
181
+ exposes.enum('setpoint_change_source', ea.STATE, ['manual', 'schedule', 'externally'])
182
+ .withDescription('Values observed are `0` (manual), `1` (schedule) or `2` (externally)'),
179
183
  exposes.climate().withSetpoint('occupied_heating_setpoint', 5, 32, 0.5).withLocalTemperature().withPiHeatingDemand()
180
184
  .withSystemMode(['heat']).withRunningState(['idle', 'heat'], ea.STATE),
181
185
  exposes.numeric('external_measured_room_sensor', ea.ALL)
@@ -195,6 +199,11 @@ module.exports = [
195
199
  exposes.numeric('algorithm_scale_factor', ea.ALL).withValueMin(1).withValueMax(10)
196
200
  .withDescription('Scale factor of setpoint filter timeconstant ("aggressiveness" of control algorithm) '+
197
201
  '1= Quick ... 5=Moderate ... 10=Slow'),
202
+ exposes.binary('load_balancing_enable', ea.ALL, true, false)
203
+ .withDescription('Whether or not the thermostat acts as standalone thermostat or shares load with other ' +
204
+ 'thermostats in the room. The gateway must update load_room_mean if enabled.'),
205
+ exposes.numeric('load_room_mean', ea.ALL)
206
+ .withDescription('Mean radiator load for room calculated by gateway for load balancing purposes'),
198
207
  exposes.numeric('load_estimate', ea.STATE_GET)
199
208
  .withDescription('Load estimate on this radiator')],
200
209
  configure: async (device, coordinatorEndpoint, logger) => {
@@ -243,6 +252,8 @@ module.exports = [
243
252
  'danfossMountedModeControl',
244
253
  'danfossMountedModeActive',
245
254
  'danfossExternalMeasuredRoomSensor',
255
+ 'danfossLoadBalancingEnable',
256
+ 'danfossLoadRoomMean',
246
257
  ], options);
247
258
 
248
259
  // read systemMode to have an initial value
@@ -10,6 +10,7 @@ module.exports = [
10
10
  vendor: 'Perenio',
11
11
  description: 'Flood alarm device',
12
12
  fromZigbee: [fz.ias_water_leak_alarm_1, fz.ignore_basic_report, fz.battery],
13
+ meta: {battery: {dontDividePercentage: true}},
13
14
  toZigbee: [],
14
15
  configure: async (device, coordinatorEndpoint, logger) => {
15
16
  const endpoint = device.getEndpoint(1);
package/devices/popp.js CHANGED
@@ -21,7 +21,7 @@ module.exports = [
21
21
  tz.danfoss_heat_available, tz.danfoss_heat_required, tz.danfoss_day_of_week, tz.danfoss_trigger_time,
22
22
  tz.danfoss_window_open_internal, tz.danfoss_window_open_external, tz.danfoss_load_estimate,
23
23
  tz.danfoss_viewing_direction, tz.danfoss_external_measured_room_sensor, tz.thermostat_keypad_lockout,
24
- tz.thermostat_system_mode],
24
+ tz.thermostat_system_mode, tz.danfoss_load_balancing_enable, tz.danfoss_load_room_mean],
25
25
  exposes: [e.battery(), e.keypad_lockout(),
26
26
  exposes.binary('mounted_mode_active', ea.STATE_GET, true, false)
27
27
  .withDescription('Is the unit in mounting mode. This is set to `false` for mounted (already on ' +
@@ -38,7 +38,7 @@ module.exports = [
38
38
  exposes.binary('heat_required', ea.STATE_GET, true, false)
39
39
  .withDescription('Whether or not the unit needs warm water. `false` No Heat Request or `true` Heat Request'),
40
40
  exposes.enum('setpoint_change_source', ea.STATE, ['manual', 'schedule', 'externally'])
41
- .withDescription('Values observed are `0` (set locally) or `2` (set via Zigbee)'),
41
+ .withDescription('Values observed are `0` (manual), `1` (schedule) or `2` (externally)'),
42
42
  exposes.climate().withSetpoint('occupied_heating_setpoint', 5, 32, 0.5).withLocalTemperature().withPiHeatingDemand()
43
43
  .withSystemMode(['heat']).withRunningState(['idle', 'heat'], ea.STATE),
44
44
  exposes.numeric('external_measured_room_sensor', ea.ALL)
@@ -58,6 +58,11 @@ module.exports = [
58
58
  exposes.numeric('algorithm_scale_factor', ea.ALL).withValueMin(1).withValueMax(10)
59
59
  .withDescription('Scale factor of setpoint filter timeconstant ("aggressiveness" of control algorithm) '+
60
60
  '1= Quick ... 5=Moderate ... 10=Slow'),
61
+ exposes.binary('load_balancing_enable', ea.ALL, true, false)
62
+ .withDescription('Whether or not the thermostat acts as standalone thermostat or shares load with other ' +
63
+ 'thermostats in the room. The gateway must update load_room_mean if enabled.'),
64
+ exposes.numeric('load_room_mean', ea.ALL)
65
+ .withDescription('Mean radiator load for room calculated by gateway for load balancing purposes'),
61
66
  exposes.numeric('load_estimate', ea.STATE_GET)
62
67
  .withDescription('Load estimate on this radiator')],
63
68
  ota: ota.zigbeeOTA,
@@ -67,10 +72,10 @@ module.exports = [
67
72
  await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'hvacThermostat']);
68
73
 
69
74
  // standard ZCL attributes
70
- await reporting.batteryPercentageRemaining(endpoint, {min: constants.repInterval.HOUR, max: 43200, change: 1});
71
- await reporting.thermostatTemperature(endpoint, {min: 0, max: constants.repInterval.MINUTES_10, change: 25});
72
- await reporting.thermostatPIHeatingDemand(endpoint, {min: 0, max: constants.repInterval.MINUTES_10, change: 1});
73
- await reporting.thermostatOccupiedHeatingSetpoint(endpoint, {min: 0, max: constants.repInterval.MINUTES_10, change: 25});
75
+ await reporting.batteryPercentageRemaining(endpoint);
76
+ await reporting.thermostatTemperature(endpoint, {min: 0, max: constants.repInterval.HOUR, change: 5});
77
+ await reporting.thermostatPIHeatingDemand(endpoint);
78
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint, {min: 0, max: constants.repInterval.HOUR, change: 5});
74
79
 
75
80
  // danfoss attributes
76
81
  await endpoint.configureReporting('hvacThermostat', [{
@@ -107,6 +112,8 @@ module.exports = [
107
112
  'danfossMountedModeControl',
108
113
  'danfossMountedModeActive',
109
114
  'danfossExternalMeasuredRoomSensor',
115
+ 'danfossLoadBalancingEnable',
116
+ 'danfossLoadRoomMean',
110
117
  ], options);
111
118
 
112
119
  // read systemMode to have an initial value
@@ -7,6 +7,22 @@ const ea = exposes.access;
7
7
  const globalStore = require('../lib/store');
8
8
 
9
9
  module.exports = [
10
+ {
11
+ zigbeeModel: ['URC4470BC0-X-R'],
12
+ model: 'XHS1-UE',
13
+ vendor: 'Universal Electronics Inc',
14
+ description: 'Wireless digital pet resistant PIR detector',
15
+ fromZigbee: [fz.ias_occupancy_alarm_1, fz.temperature, fz.battery],
16
+ toZigbee: [],
17
+ meta: {battery: {voltageToPercentage: '3V_2100'}},
18
+ configure: async (device, coordinatorEndpoint, logger) => {
19
+ const endpoint = device.getEndpoint(1);
20
+ await reporting.bind(endpoint, coordinatorEndpoint, ['msTemperatureMeasurement', 'genPowerCfg']);
21
+ await reporting.temperature(endpoint);
22
+ await reporting.batteryVoltage(endpoint);
23
+ },
24
+ exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.temperature(), e.battery()],
25
+ },
10
26
  {
11
27
  zigbeeModel: ['URC4460BC0-X-R'],
12
28
  model: 'XHS2-UE',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.304",
3
+ "version": "14.0.305",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.304",
3
+ "version": "14.0.305",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [