zigbee-herdsman-converters 14.0.567 → 14.0.570
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/fromZigbee.js +9 -4
- package/converters/toZigbee.js +11 -0
- package/devices/adeo.js +7 -0
- package/devices/ctm.js +961 -0
- package/devices/custom_devices_diy.js +160 -1
- package/devices/danfoss.js +5 -4
- package/devices/evology.js +24 -0
- package/devices/heiman.js +2 -1
- package/devices/hgkg.js +38 -9
- package/devices/hive.js +3 -2
- package/devices/ledvance.js +8 -0
- package/devices/osram.js +2 -3
- package/devices/tuya.js +53 -0
- package/lib/exposes.js +2 -2
- package/lib/extend.js +2 -2
- package/lib/tuya.js +2 -0
- package/lib/utils.js +2 -2
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
|
@@ -3597,10 +3597,13 @@ const converters = {
|
|
|
3597
3597
|
msg.data['danfossRoomStatusCode'];
|
|
3598
3598
|
}
|
|
3599
3599
|
if (msg.data.hasOwnProperty('danfossOutputStatus')) {
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3600
|
+
if (msg.data['danfossOutputStatus'] === 1) {
|
|
3601
|
+
result[postfixWithEndpointName('output_status', msg, model)] = 'active';
|
|
3602
|
+
result[postfixWithEndpointName('running_state', msg, model)] = 'heat';
|
|
3603
|
+
} else {
|
|
3604
|
+
result[postfixWithEndpointName('output_status', msg, model)] = 'inactive';
|
|
3605
|
+
result[postfixWithEndpointName('running_state', msg, model)] = 'idle';
|
|
3606
|
+
}
|
|
3604
3607
|
}
|
|
3605
3608
|
return result;
|
|
3606
3609
|
},
|
|
@@ -4028,6 +4031,8 @@ const converters = {
|
|
|
4028
4031
|
default:
|
|
4029
4032
|
return {sensor: 'not_supported'};
|
|
4030
4033
|
}
|
|
4034
|
+
case tuya.dataPoints.bacFanMode:
|
|
4035
|
+
return {fan_mode: tuya.fanModes[value]};
|
|
4031
4036
|
default: // DataPoint 17 is unknown
|
|
4032
4037
|
meta.logger.warn(`zigbee-herdsman-converters:Moes BHT-002: Unrecognized DP #${
|
|
4033
4038
|
dp} with data ${JSON.stringify(dpValue)}`);
|
package/converters/toZigbee.js
CHANGED
|
@@ -4807,6 +4807,17 @@ const converters = {
|
|
|
4807
4807
|
}
|
|
4808
4808
|
},
|
|
4809
4809
|
},
|
|
4810
|
+
tuya_thermostat_bac_fan_mode: {
|
|
4811
|
+
key: ['fan_mode'],
|
|
4812
|
+
convertSet: async (entity, key, value, meta) => {
|
|
4813
|
+
const modeId = utils.getKey(tuya.fanModes, value, null, Number);
|
|
4814
|
+
if (modeId !== null) {
|
|
4815
|
+
await tuya.sendDataPointEnum(entity, tuya.dataPoints.bacFanMode, parseInt(modeId));
|
|
4816
|
+
} else {
|
|
4817
|
+
throw new Error(`TRV fan mode ${value} is not recognized.`);
|
|
4818
|
+
}
|
|
4819
|
+
},
|
|
4820
|
+
},
|
|
4810
4821
|
tuya_thermostat_auto_lock: {
|
|
4811
4822
|
key: ['auto_lock'],
|
|
4812
4823
|
convertSet: async (entity, key, value, meta) => {
|
package/devices/adeo.js
CHANGED
|
@@ -29,6 +29,13 @@ module.exports = [
|
|
|
29
29
|
description: 'ENKI LEXMAN E27 LED white filament 1055 lumen',
|
|
30
30
|
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
zigbeeModel: ['ZBEK-9'],
|
|
34
|
+
model: 'IA-CDZFB2AA007NA-MZN-02',
|
|
35
|
+
vendor: 'ADEO',
|
|
36
|
+
description: 'ENKI LEXMAN E27 LED white',
|
|
37
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 454]}),
|
|
38
|
+
},
|
|
32
39
|
{
|
|
33
40
|
zigbeeModel: ['ZBEK-4'],
|
|
34
41
|
model: 'IM-CDZDGAAA0005KA_MAN',
|