zigbee-herdsman-converters 14.0.637 → 14.0.638
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/converters/toZigbee.js +6 -0
- package/devices/candeo.js +25 -0
- package/devices/moes.js +2 -2
- package/devices/nyce.js +0 -1
- package/devices/tuya.js +1 -0
- package/lib/exposes.js +2 -1
- package/lib/tuya.js +1 -0
- package/package.json +1 -1
package/converters/toZigbee.js
CHANGED
|
@@ -3327,6 +3327,12 @@ const converters = {
|
|
|
3327
3327
|
await tuya.sendDataPointValue(entity, tuya.dataPoints.moesTempCalibration, value);
|
|
3328
3328
|
},
|
|
3329
3329
|
},
|
|
3330
|
+
moes_thermostat_min_temperature_limit: {
|
|
3331
|
+
key: ['min_temperature_limit'],
|
|
3332
|
+
convertSet: async (entity, key, value, meta) => {
|
|
3333
|
+
await tuya.sendDataPointValue(entity, tuya.dataPoints.moesMinTempLimit, value);
|
|
3334
|
+
},
|
|
3335
|
+
},
|
|
3330
3336
|
moes_thermostat_max_temperature_limit: {
|
|
3331
3337
|
key: ['max_temperature_limit'],
|
|
3332
3338
|
convertSet: async (entity, key, value, meta) => {
|
package/devices/candeo.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
const exposes = require('../lib/exposes');
|
|
2
|
+
const fz = require('../converters/fromZigbee');
|
|
1
3
|
const reporting = require('../lib/reporting');
|
|
2
4
|
const extend = require('../lib/extend');
|
|
5
|
+
const e = exposes.presets;
|
|
3
6
|
|
|
4
7
|
module.exports = [
|
|
5
8
|
{
|
|
@@ -21,4 +24,26 @@ module.exports = [
|
|
|
21
24
|
await reporting.brightness(endpoint, {min: 1});
|
|
22
25
|
},
|
|
23
26
|
},
|
|
27
|
+
{
|
|
28
|
+
zigbeeModel: ['C204'],
|
|
29
|
+
model: 'C204',
|
|
30
|
+
vendor: 'Candeo',
|
|
31
|
+
description: 'Zigbee micro smart dimmer',
|
|
32
|
+
fromZigbee: extend.light_onoff_brightness().fromZigbee.concat([fz.electrical_measurement, fz.metering, fz.ignore_genOta]),
|
|
33
|
+
toZigbee: extend.light_onoff_brightness().toZigbee,
|
|
34
|
+
exposes: [e.light_brightness(), e.power(), e.voltage(), e.current(), e.energy()],
|
|
35
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
36
|
+
const endpoint = device.getEndpoint(1);
|
|
37
|
+
const binds = ['genOnOff', 'genLevelCtrl', 'haElectricalMeasurement', 'seMetering'];
|
|
38
|
+
await reporting.bind(endpoint, coordinatorEndpoint, binds);
|
|
39
|
+
await reporting.onOff(endpoint);
|
|
40
|
+
await reporting.brightness(endpoint);
|
|
41
|
+
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
|
|
42
|
+
await reporting.activePower(endpoint);
|
|
43
|
+
await reporting.rmsCurrent(endpoint, {min: 10, change: 10});
|
|
44
|
+
await reporting.rmsVoltage(endpoint, {min: 10});
|
|
45
|
+
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
46
|
+
await reporting.currentSummDelivered(endpoint);
|
|
47
|
+
},
|
|
48
|
+
},
|
|
24
49
|
];
|
package/devices/moes.js
CHANGED
|
@@ -181,8 +181,8 @@ module.exports = [
|
|
|
181
181
|
fromZigbee: [fz.moes_thermostat],
|
|
182
182
|
toZigbee: [tz.moes_thermostat_child_lock, tz.moes_thermostat_current_heating_setpoint, tz.moes_thermostat_mode,
|
|
183
183
|
tz.moes_thermostat_standby, tz.moes_thermostat_sensor, tz.moes_thermostat_calibration,
|
|
184
|
-
tz.moes_thermostat_deadzone_temperature, tz.moes_thermostat_max_temperature_limit],
|
|
185
|
-
exposes: [e.child_lock(), e.deadzone_temperature(), e.max_temperature_limit(),
|
|
184
|
+
tz.moes_thermostat_deadzone_temperature, tz.moes_thermostat_max_temperature_limit, tz.moes_thermostat_min_temperature_limit],
|
|
185
|
+
exposes: [e.child_lock(), e.deadzone_temperature(), e.max_temperature_limit(), e.min_temperature_limit(),
|
|
186
186
|
exposes.climate().withSetpoint('current_heating_setpoint', 5, 30, 1, ea.STATE_SET)
|
|
187
187
|
.withLocalTemperature(ea.STATE).withLocalTemperatureCalibration(-30, 30, 0.1, ea.STATE_SET)
|
|
188
188
|
.withSystemMode(['off', 'heat'], ea.STATE_SET).withRunningState(['idle', 'heat', 'cool'], ea.STATE)
|
package/devices/nyce.js
CHANGED
|
@@ -40,7 +40,6 @@ module.exports = [
|
|
|
40
40
|
fromZigbee: [fz.occupancy, fz.humidity, fz.temperature, fz.ignore_basic_report, fz.ignore_genIdentify, fz.ignore_poll_ctrl,
|
|
41
41
|
fz.battery, fz.ignore_iaszone_report, fz.ias_occupancy_alarm_2],
|
|
42
42
|
toZigbee: [],
|
|
43
|
-
meta: {battery: {dontDividePercentage: true}},
|
|
44
43
|
exposes: [e.occupancy(), e.humidity(), e.temperature(), e.battery(), e.battery_low(), e.tamper()],
|
|
45
44
|
},
|
|
46
45
|
{
|
package/devices/tuya.js
CHANGED
|
@@ -3182,6 +3182,7 @@ module.exports = [
|
|
|
3182
3182
|
{
|
|
3183
3183
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_ikvncluo'},
|
|
3184
3184
|
{modelID: 'TS0601', manufacturerName: '_TZE200_lyetpprm'},
|
|
3185
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_jva8ink8'},
|
|
3185
3186
|
{modelID: 'TS0601', manufacturerName: '_TZE200_wukb7rhc'},
|
|
3186
3187
|
{modelID: 'TS0601', manufacturerName: '_TZE200_ztc6ggyl'}],
|
|
3187
3188
|
model: 'TS0601_smart_human_presense_sensor',
|
package/lib/exposes.js
CHANGED
|
@@ -588,7 +588,8 @@ module.exports = {
|
|
|
588
588
|
max_heat_setpoint_limit: (min, max, step) => new Numeric('max_heat_setpoint_limit', access.ALL).withUnit('°C').withDescription('Maximum Heating set point limit').withValueMin(min).withValueMax(max).withValueStep(step),
|
|
589
589
|
min_heat_setpoint_limit: (min, max, step) => new Numeric('min_heat_setpoint_limit', access.ALL).withUnit('°C').withDescription('Minimum Heating set point limit').withValueMin(min).withValueMax(max).withValueStep(step),
|
|
590
590
|
max_temperature: () => new Numeric('max_temperature', access.STATE_SET).withUnit('°C').withDescription('Maximum temperature').withValueMin(15).withValueMax(35),
|
|
591
|
-
max_temperature_limit: () => new Numeric('max_temperature_limit', access.STATE_SET).withUnit('°C').withDescription('Maximum temperature limit').withValueMin(
|
|
591
|
+
max_temperature_limit: () => new Numeric('max_temperature_limit', access.STATE_SET).withUnit('°C').withDescription('Maximum temperature limit. Cuts the thermostat out regardless of air temperature if the external floor sensor exceeds this temperature. Only used by the thermostat when in AL sensor mode.').withValueMin(20).withValueMax(70),
|
|
592
|
+
min_temperature_limit: () => new Numeric('min_temperature_limit', access.STATE_SET).withUnit('°C').withDescription('Minimum temperature limit for frost protection. Turns the thermostat on regardless of setpoint if the tempreature drops below this.').withValueMin(1).withValueMax(5),
|
|
592
593
|
min_temperature: () => new Numeric('min_temperature', access.STATE_SET).withUnit('°C').withDescription('Minimum temperature').withValueMin(1).withValueMax(15),
|
|
593
594
|
noise: () => new Numeric('noise', access.STATE).withUnit('dBA').withDescription('The measured noise value'),
|
|
594
595
|
noise_detected: () => new Binary('noise_detected', access.STATE, true, false).withDescription('Indicates whether the device detected noise'),
|
package/lib/tuya.js
CHANGED