zigbee-herdsman-converters 23.10.0 → 23.11.0
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/CHANGELOG.md +17 -0
- package/dist/devices/efekta.d.ts.map +1 -1
- package/dist/devices/efekta.js +515 -0
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +2 -0
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/mazda.d.ts.map +1 -1
- package/dist/devices/mazda.js +40 -54
- package/dist/devices/mazda.js.map +1 -1
- package/dist/devices/mindy.d.ts +3 -0
- package/dist/devices/mindy.d.ts.map +1 -0
- package/dist/devices/mindy.js +384 -0
- package/dist/devices/mindy.js.map +1 -0
- package/dist/devices/third_reality.js +2 -2
- package/dist/devices/third_reality.js.map +1 -1
- package/dist/devices/tuya.js +3 -3
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/vimar.d.ts.map +1 -1
- package/dist/devices/vimar.js +7 -0
- package/dist/devices/vimar.js.map +1 -1
- package/dist/devices/yandex.d.ts.map +1 -1
- package/dist/devices/yandex.js +45 -0
- package/dist/devices/yandex.js.map +1 -1
- package/dist/lib/modernExtend.d.ts +1 -0
- package/dist/lib/modernExtend.d.ts.map +1 -1
- package/dist/lib/modernExtend.js +1 -1
- package/dist/lib/modernExtend.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/devices/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/devices/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;AA6UvD,QAAA,MAAM,WAAW,EAAE,oBAAoB,EA4UtC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/dist/devices/index.js
CHANGED
|
@@ -190,6 +190,7 @@ const meazon_1 = require("./meazon");
|
|
|
190
190
|
const mercator_1 = require("./mercator");
|
|
191
191
|
const miboxer_1 = require("./miboxer");
|
|
192
192
|
const micromatic_1 = require("./micromatic");
|
|
193
|
+
const mindy_1 = require("./mindy");
|
|
193
194
|
const modular_1 = require("./modular");
|
|
194
195
|
const moes_1 = require("./moes");
|
|
195
196
|
const muller_licht_1 = require("./muller_licht");
|
|
@@ -520,6 +521,7 @@ const definitions = [
|
|
|
520
521
|
...mercator_1.definitions,
|
|
521
522
|
...miboxer_1.definitions,
|
|
522
523
|
...micromatic_1.definitions,
|
|
524
|
+
...mindy_1.definitions,
|
|
523
525
|
...modular_1.definitions,
|
|
524
526
|
...moes_1.definitions,
|
|
525
527
|
...muller_licht_1.definitions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/devices/index.ts"],"names":[],"mappings":";;AACA,+CAAyD;AACzD,mCAA6C;AAC7C,qEAA6E;AAC7E,iCAA2C;AAC3C,6CAAuD;AACvD,qCAA+C;AAC/C,mCAA6C;AAC7C,mDAA4D;AAC5D,+CAAwD;AACxD,qCAA+C;AAC/C,uCAAiD;AACjD,iCAA2C;AAC3C,qCAA+C;AAC/C,mCAA6C;AAC7C,qCAA+C;AAC/C,yCAAmD;AACnD,uCAAiD;AACjD,qCAA+C;AAC/C,uDAAgE;AAChE,2CAAqD;AACrD,qCAA+C;AAC/C,iCAA2C;AAC3C,iCAA2C;AAC3C,uCAAiD;AACjD,iCAA2C;AAC3C,qCAA+C;AAC/C,qCAA+C;AAC/C,mDAA4D;AAC5D,2CAAqD;AACrD,2CAAqD;AACrD,mCAA6C;AAC7C,iDAA0D;AAC1D,uCAAiD;AACjD,iDAA0D;AAC1D,mCAA6C;AAC7C,uCAAiD;AACjD,iDAA0D;AAC1D,iCAA2C;AAC3C,mCA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BAAa;IAChB,GAAG,uBAAS;IACZ,GAAG,oBAAM;IACT,GAAG,mBAAK;IACR,GAAG,qBAAO;IACV,GAAG,kBAAI;IACP,GAAG,oBAAM;IACT,GAAG,mBAAK;IACR,GAAG,kBAAI;IACP,GAAG,uCAAuB;IAC1B,GAAG,mBAAK;IACR,GAAG,uBAAS;IACZ,GAAG,uBAAS;IACZ,GAAG,2BAAY;IACf,GAAG,mBAAK;IACR,GAAG,qBAAO;IACV,GAAG,kBAAI;IACP,GAAG,mBAAK;IACR,GAAG,oBAAM;IACT,GAAG,oBAAM;IACT,GAAG,mBAAK;IACR,GAAG,wBAAU;IACb,GAAG,oBAAM;IACT,GAAG,qBAAO;IACV,GAAG,kBAAI;IACP,GAAG,kBAAI;IACP,GAAG,kBAAI;IACP,GAAG,iBAAG;IACN,GAAG,yBAAW;IACd,GAAG,oBAAM;IACT,GAAG,kBAAI;IACP,GAAG,oBAAM;IACT,GAAG,kBAAI;IACP,GAAG,mBAAK;IACR,GAAG,oBAAM;IACT,GAAG,oBAAM;IACT,GAAG,uBAAS;IACZ,GAAG,iBAAG;IACN,GAAG,uBAAS;IACZ,GAAG,oBAAM;IACT,GAAG,gBAAE;CACR,CAAC;AAEF,kBAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mazda.d.ts","sourceRoot":"","sources":["../../src/devices/mazda.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,oBAAoB,EAA2B,MAAM,cAAc,CAAC;AASjF,eAAO,MAAM,WAAW,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"mazda.d.ts","sourceRoot":"","sources":["../../src/devices/mazda.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,oBAAoB,EAA2B,MAAM,cAAc,CAAC;AASjF,eAAO,MAAM,WAAW,EAAE,oBAAoB,EA2G7C,CAAC"}
|
package/dist/devices/mazda.js
CHANGED
|
@@ -36,7 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.definitions = void 0;
|
|
37
37
|
const exposes = __importStar(require("../lib/exposes"));
|
|
38
38
|
const tuya = __importStar(require("../lib/tuya"));
|
|
39
|
-
const utils = __importStar(require("../lib/utils"));
|
|
40
39
|
const e = exposes.presets;
|
|
41
40
|
const ea = exposes.access;
|
|
42
41
|
exports.definitions = [
|
|
@@ -52,12 +51,16 @@ exports.definitions = [
|
|
|
52
51
|
exposes: [
|
|
53
52
|
e.battery(),
|
|
54
53
|
e.child_lock(),
|
|
55
|
-
e
|
|
54
|
+
e
|
|
55
|
+
.binary("window_detection", ea.STATE_SET, "ON", "OFF")
|
|
56
|
+
.withDescription("Enables/disables window detection on the device")
|
|
57
|
+
.withCategory("config"),
|
|
58
|
+
e.window_open(),
|
|
56
59
|
tuya.exposes.frostProtection(),
|
|
57
60
|
e.binary("alarm_switch", ea.STATE, "ON", "OFF").withDescription("Thermostat in error state"),
|
|
58
|
-
e.comfort_temperature().withValueMin(5).withValueMax(35).withDescription("Comfort mode temperature"),
|
|
59
|
-
e.eco_temperature().withValueMin(5).withValueMax(35).withDescription("Eco mode temperature"),
|
|
60
|
-
e.holiday_temperature().withValueMin(5).withValueMax(35).withDescription("Holiday mode temperature"),
|
|
61
|
+
e.comfort_temperature().withValueMin(5).withValueMax(35).withDescription("Comfort mode temperature").withCategory("config"),
|
|
62
|
+
e.eco_temperature().withValueMin(5).withValueMax(35).withDescription("Eco mode temperature").withCategory("config"),
|
|
63
|
+
e.holiday_temperature().withValueMin(5).withValueMax(35).withDescription("Holiday mode temperature").withCategory("config"),
|
|
61
64
|
e
|
|
62
65
|
.numeric("temperature_sensitivity", ea.STATE_SET)
|
|
63
66
|
.withUnit("°C")
|
|
@@ -67,9 +70,10 @@ exports.definitions = [
|
|
|
67
70
|
.withDescription("Temperature sensitivity"),
|
|
68
71
|
e
|
|
69
72
|
.climate()
|
|
73
|
+
.withSystemMode(["off", "heat"], ea.STATE_SET, "Basic modes")
|
|
70
74
|
.withLocalTemperature(ea.STATE)
|
|
71
75
|
.withSetpoint("current_heating_setpoint", 5, 35, 0.5, ea.STATE_SET)
|
|
72
|
-
.withPreset(["
|
|
76
|
+
.withPreset(["schedule", "eco", "comfort", "frost_protection", "holiday"])
|
|
73
77
|
.withRunningState(["idle", "heat"], ea.STATE)
|
|
74
78
|
.withSystemMode(["off", "heat"], ea.STATE, "Only for Homeassistant")
|
|
75
79
|
.withLocalTemperatureCalibration(-9.5, 9.5, 0.5, ea.STATE_SET),
|
|
@@ -79,60 +83,42 @@ exports.definitions = [
|
|
|
79
83
|
tuyaDatapoints: [
|
|
80
84
|
[
|
|
81
85
|
2,
|
|
82
|
-
|
|
83
|
-
{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
5: "holiday",
|
|
93
|
-
6: "off",
|
|
94
|
-
};
|
|
95
|
-
return presetLookup[v];
|
|
86
|
+
null,
|
|
87
|
+
tuya.valueConverter.thermostatSystemModeAndPresetMap({
|
|
88
|
+
fromMap: {
|
|
89
|
+
0: { deviceMode: "manual", systemMode: "heat", preset: "none" },
|
|
90
|
+
1: { deviceMode: "schedule", systemMode: "heat", preset: "schedule" },
|
|
91
|
+
2: { deviceMode: "eco", systemMode: "heat", preset: "eco" },
|
|
92
|
+
3: { deviceMode: "comfort", systemMode: "heat", preset: "comfort" },
|
|
93
|
+
4: { deviceMode: "frost_protection", systemMode: "heat", preset: "frost_protection" },
|
|
94
|
+
5: { deviceMode: "holiday", systemMode: "heat", preset: "holiday" },
|
|
95
|
+
6: { deviceMode: "off", systemMode: "off", preset: "none" },
|
|
96
96
|
},
|
|
97
|
-
|
|
98
|
-
const lookup = {
|
|
99
|
-
manual: tuya.enum(0),
|
|
100
|
-
schedule: tuya.enum(1),
|
|
101
|
-
eco: tuya.enum(2),
|
|
102
|
-
comfort: tuya.enum(3),
|
|
103
|
-
frost_protection: tuya.enum(4),
|
|
104
|
-
holiday: tuya.enum(5),
|
|
105
|
-
};
|
|
106
|
-
// Update system_mode when preset changes
|
|
107
|
-
if (meta) {
|
|
108
|
-
meta.state.system_mode = v === "off" ? "off" : "heat";
|
|
109
|
-
}
|
|
110
|
-
return utils.getFromLookup(v, lookup);
|
|
111
|
-
},
|
|
112
|
-
},
|
|
97
|
+
}),
|
|
113
98
|
],
|
|
114
99
|
[
|
|
115
100
|
2,
|
|
116
101
|
"system_mode",
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
|
|
102
|
+
tuya.valueConverter.thermostatSystemModeAndPresetMap({
|
|
103
|
+
toMap: {
|
|
104
|
+
heat: new tuya.Enum(0), // manual
|
|
105
|
+
off: new tuya.Enum(6), // off
|
|
120
106
|
},
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
107
|
+
}),
|
|
108
|
+
],
|
|
109
|
+
[
|
|
110
|
+
2,
|
|
111
|
+
"preset",
|
|
112
|
+
tuya.valueConverter.thermostatSystemModeAndPresetMap({
|
|
113
|
+
toMap: {
|
|
114
|
+
none: new tuya.Enum(0), // manual
|
|
115
|
+
schedule: new tuya.Enum(1), // schedule
|
|
116
|
+
eco: new tuya.Enum(2), // eco
|
|
117
|
+
comfort: new tuya.Enum(3), // comfort
|
|
118
|
+
frost_protection: new tuya.Enum(4), // frost_protection
|
|
119
|
+
holiday: new tuya.Enum(5), // holiday
|
|
134
120
|
},
|
|
135
|
-
},
|
|
121
|
+
}),
|
|
136
122
|
],
|
|
137
123
|
[3, "running_state", tuya.valueConverterBasic.lookup({ heat: 1, idle: 0 })],
|
|
138
124
|
[4, "current_heating_setpoint", tuya.valueConverter.divideBy10],
|
|
@@ -144,8 +130,8 @@ exports.definitions = [
|
|
|
144
130
|
[105, "frost_temperature", tuya.valueConverter.divideBy10],
|
|
145
131
|
[102, "temperature_sensitivity", tuya.valueConverter.divideBy10],
|
|
146
132
|
[21, "holiday_temperature", tuya.valueConverter.divideBy10],
|
|
147
|
-
[15, "window", tuya.valueConverterBasic.lookup({ OPEN: 1, CLOSE: 0 })],
|
|
148
133
|
[14, "window_detection", tuya.valueConverter.onOff],
|
|
134
|
+
[15, "window_open", tuya.valueConverter.trueFalseEnum0],
|
|
149
135
|
[35, "alarm_switch", tuya.valueConverter.onOff],
|
|
150
136
|
[36, "frost_protection", tuya.valueConverter.onOff],
|
|
151
137
|
[28, "schedule_monday", tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(1, 6)],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mazda.js","sourceRoot":"","sources":["../../src/devices/mazda.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA0C;AAC1C,kDAAoC;
|
|
1
|
+
{"version":3,"file":"mazda.js","sourceRoot":"","sources":["../../src/devices/mazda.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wDAA0C;AAC1C,kDAAoC;AAIpC,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;AAC1B,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;AAKb,QAAA,WAAW,GAA2B;IAC/C;QACI,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;QACjF,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,6BAA6B;QAC1C,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC;QAChC,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC;QAC9B,OAAO,EAAE,IAAI,CAAC,cAAc;QAC5B,SAAS,EAA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I,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC/F,CAAC,EAAE,EAAE,mBAAmB,EAAE,IAAI,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC9F,CAAC,EAAE,EAAE,iBAAiB,EAAE,IAAI,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC5F,CAAC,EAAE,EAAE,mBAAmB,EAAE,IAAI,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC9F,CAAC,EAAE,EAAE,iBAAiB,EAAE,IAAI,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC5F,CAAC,EAAE,EAAE,+BAA+B,EAAE,IAAI,CAAC,cAAc,CAAC,qBAAqB,CAAC;aACnF;SACJ;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mindy.d.ts","sourceRoot":"","sources":["../../src/devices/mindy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,oBAAoB,EAAgC,MAAM,cAAc,CAAC;AAoHtF,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAmP7C,CAAC"}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.definitions = void 0;
|
|
37
|
+
const zigbee_herdsman_1 = require("zigbee-herdsman");
|
|
38
|
+
const exposes = __importStar(require("../lib/exposes"));
|
|
39
|
+
const m = __importStar(require("../lib/modernExtend"));
|
|
40
|
+
const utils = __importStar(require("../lib/utils"));
|
|
41
|
+
const e = exposes.presets;
|
|
42
|
+
const ea = exposes.access;
|
|
43
|
+
const customAttrIds = {
|
|
44
|
+
genBasic: {
|
|
45
|
+
readInterval: 0x0200,
|
|
46
|
+
nightMode: 0x0240,
|
|
47
|
+
nightOnTime: 0x0241,
|
|
48
|
+
nightOffTime: 0x0242,
|
|
49
|
+
},
|
|
50
|
+
msCO2: {
|
|
51
|
+
control: 0x0220,
|
|
52
|
+
invert: 0x0221,
|
|
53
|
+
levelHigh: 0x0222,
|
|
54
|
+
levelLow: 0x0223,
|
|
55
|
+
factoryReset: 0x0230,
|
|
56
|
+
forcedRecalibration: 0x0231,
|
|
57
|
+
autoCalibration: 0x0232,
|
|
58
|
+
},
|
|
59
|
+
msIlluminanceMeasurement: {
|
|
60
|
+
control: 0x0220,
|
|
61
|
+
invert: 0x0221,
|
|
62
|
+
levelHigh: 0x0222,
|
|
63
|
+
levelLow: 0x0223,
|
|
64
|
+
offset: 0x0210,
|
|
65
|
+
},
|
|
66
|
+
msTemperatureMeasurement: {
|
|
67
|
+
offset: 0x0210,
|
|
68
|
+
sensor: 0x0211,
|
|
69
|
+
},
|
|
70
|
+
msRelativeHumidity: {
|
|
71
|
+
offset: 0x0210,
|
|
72
|
+
},
|
|
73
|
+
msPressureMeasurement: {
|
|
74
|
+
offset: 0x0210,
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
const tzLocal = {
|
|
78
|
+
last_boot: {
|
|
79
|
+
key: ["last_boot"],
|
|
80
|
+
convertGet: async (entity, key, meta) => {
|
|
81
|
+
await entity.read("genTime", ["lastSetTime"]);
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
wifi: {
|
|
85
|
+
key: ["wifi"],
|
|
86
|
+
convertGet: async (entity, key, meta) => {
|
|
87
|
+
await entity.read("genBasic", ["locationDesc"]);
|
|
88
|
+
},
|
|
89
|
+
convertSet: async (entity, key, value, meta) => {
|
|
90
|
+
await entity.write("genBasic", { locationDesc: value === "ON" ? "1" : "0" });
|
|
91
|
+
const retryRead = async (attempts) => {
|
|
92
|
+
if (attempts > 0) {
|
|
93
|
+
try {
|
|
94
|
+
await entity.read("genBasic", ["locationDesc"]);
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
/* Do nothing */
|
|
98
|
+
}
|
|
99
|
+
setTimeout(() => retryRead(attempts - 1), 10000);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
retryRead(3);
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
const fzLocal = {
|
|
107
|
+
last_boot: {
|
|
108
|
+
cluster: "genTime",
|
|
109
|
+
type: ["readResponse"],
|
|
110
|
+
convert: (model, msg, publish, options, meta) => {
|
|
111
|
+
if (msg.data.lastSetTime) {
|
|
112
|
+
const data = msg.data.lastSetTime;
|
|
113
|
+
// Assuming the epoch is January 1, 2000
|
|
114
|
+
const epoch = new Date("2000-01-01T00:00:00Z").getTime() / 1000;
|
|
115
|
+
const date = new Date((epoch + data) * 1000); // Convert seconds to milliseconds
|
|
116
|
+
const boot_date_time = date.toISOString();
|
|
117
|
+
return { last_boot: boot_date_time };
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
wifi: {
|
|
122
|
+
cluster: "genBasic",
|
|
123
|
+
type: ["readResponse"],
|
|
124
|
+
convert: (model, msg, publish, options, meta) => {
|
|
125
|
+
if (msg.data.locationDesc) {
|
|
126
|
+
const data = msg.data;
|
|
127
|
+
const wifi = data.locationDesc && data.locationDesc.trim().length > 0 ? "ON" : "OFF";
|
|
128
|
+
return { ip_address: data.locationDesc.trim(), wifi: wifi };
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
const optionsLocal = {
|
|
134
|
+
last_boot_update: () => {
|
|
135
|
+
return e
|
|
136
|
+
.numeric("last_boot_update", ea.STATE_SET)
|
|
137
|
+
.withValueMin(10)
|
|
138
|
+
.withDescription("Interval for request boot datetime from device. (default 60 seconds)");
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
exports.definitions = [
|
|
142
|
+
{
|
|
143
|
+
zigbeeModel: ["Leleka"],
|
|
144
|
+
model: "Leleka",
|
|
145
|
+
vendor: "MindY",
|
|
146
|
+
description: "Advanced Environmental Monitoring Device",
|
|
147
|
+
ota: true,
|
|
148
|
+
fromZigbee: [fzLocal.last_boot, fzLocal.wifi],
|
|
149
|
+
toZigbee: [tzLocal.last_boot, tzLocal.wifi],
|
|
150
|
+
options: [optionsLocal.last_boot_update()],
|
|
151
|
+
onEvent: (type, data, device, options) => {
|
|
152
|
+
const endpoint = device.getEndpoint(1);
|
|
153
|
+
const poll = async () => {
|
|
154
|
+
await endpoint.read("genTime", ["lastSetTime"]);
|
|
155
|
+
await endpoint.read("genBasic", ["locationDesc"]);
|
|
156
|
+
};
|
|
157
|
+
utils.onEventPoll(type, data, device, options, "last_boot_update", 60, poll);
|
|
158
|
+
},
|
|
159
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
160
|
+
const endpoint = device.getEndpoint(1);
|
|
161
|
+
for (const [cluster, attributes] of Object.entries(customAttrIds)) {
|
|
162
|
+
for (const attributeName in attributes) {
|
|
163
|
+
await endpoint.read(cluster, [attributes[attributeName]]);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
extend: [
|
|
168
|
+
m.temperature(),
|
|
169
|
+
m.humidity(),
|
|
170
|
+
m.pressure(),
|
|
171
|
+
m.co2(),
|
|
172
|
+
m.illuminance(),
|
|
173
|
+
m.light({ configureReporting: true, powerOnBehavior: false, effect: false }),
|
|
174
|
+
m.identify(),
|
|
175
|
+
m.numeric({
|
|
176
|
+
name: "read_interval",
|
|
177
|
+
unit: "seconds",
|
|
178
|
+
valueMin: 5,
|
|
179
|
+
valueMax: 600,
|
|
180
|
+
access: "ALL",
|
|
181
|
+
cluster: "genBasic",
|
|
182
|
+
attribute: { ID: customAttrIds.genBasic.readInterval, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
183
|
+
description: "Read interval of sensors. Default 30",
|
|
184
|
+
entityCategory: "config",
|
|
185
|
+
}),
|
|
186
|
+
m.binary({
|
|
187
|
+
name: "night_mode",
|
|
188
|
+
valueOn: ["ON", 1],
|
|
189
|
+
valueOff: ["OFF", 0],
|
|
190
|
+
cluster: "genBasic",
|
|
191
|
+
attribute: { ID: customAttrIds.genBasic.nightMode, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
192
|
+
description: "Turn OFF LED at night",
|
|
193
|
+
}),
|
|
194
|
+
m.numeric({
|
|
195
|
+
name: "night_on_time",
|
|
196
|
+
unit: "Hr",
|
|
197
|
+
valueMin: 0,
|
|
198
|
+
valueMax: 23,
|
|
199
|
+
cluster: "genBasic",
|
|
200
|
+
attribute: { ID: customAttrIds.genBasic.nightOnTime, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
201
|
+
description: "Night mode activation time",
|
|
202
|
+
}),
|
|
203
|
+
m.numeric({
|
|
204
|
+
name: "night_off_time",
|
|
205
|
+
unit: "Hr",
|
|
206
|
+
valueMin: 0,
|
|
207
|
+
valueMax: 23,
|
|
208
|
+
cluster: "genBasic",
|
|
209
|
+
attribute: { ID: customAttrIds.genBasic.nightOffTime, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
210
|
+
description: "Night mode deactivation time",
|
|
211
|
+
}),
|
|
212
|
+
m.binary({
|
|
213
|
+
name: "co2_control",
|
|
214
|
+
valueOn: ["ON", 1],
|
|
215
|
+
valueOff: ["OFF", 0],
|
|
216
|
+
cluster: "msCO2",
|
|
217
|
+
attribute: { ID: customAttrIds.msCO2.control, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
218
|
+
description: "Enable CO2 bind-control",
|
|
219
|
+
}),
|
|
220
|
+
m.binary({
|
|
221
|
+
name: "co2_invert",
|
|
222
|
+
valueOn: ["ON", 1],
|
|
223
|
+
valueOff: ["OFF", 0],
|
|
224
|
+
cluster: "msCO2",
|
|
225
|
+
attribute: { ID: customAttrIds.msCO2.invert, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
226
|
+
description: "Invert CO2 control logic",
|
|
227
|
+
}),
|
|
228
|
+
m.numeric({
|
|
229
|
+
name: "co2_level_high",
|
|
230
|
+
unit: "ppm",
|
|
231
|
+
access: "ALL",
|
|
232
|
+
cluster: "msCO2",
|
|
233
|
+
attribute: { ID: customAttrIds.msCO2.levelHigh, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
234
|
+
description: "High CO2 threshold",
|
|
235
|
+
precision: 0,
|
|
236
|
+
valueMin: 400,
|
|
237
|
+
valueMax: 2000,
|
|
238
|
+
}),
|
|
239
|
+
m.numeric({
|
|
240
|
+
name: "co2_level_low",
|
|
241
|
+
unit: "ppm",
|
|
242
|
+
access: "ALL",
|
|
243
|
+
cluster: "msCO2",
|
|
244
|
+
attribute: { ID: customAttrIds.msCO2.levelLow, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
245
|
+
description: "Low CO2 threshold",
|
|
246
|
+
precision: 0,
|
|
247
|
+
valueMin: 400,
|
|
248
|
+
valueMax: 2000,
|
|
249
|
+
}),
|
|
250
|
+
m.binary({
|
|
251
|
+
name: "co2_auto_calibration",
|
|
252
|
+
valueOn: ["ON", 1],
|
|
253
|
+
valueOff: ["OFF", 0],
|
|
254
|
+
cluster: "msCO2",
|
|
255
|
+
attribute: { ID: customAttrIds.msCO2.autoCalibration, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
256
|
+
description: "Automatic self calibration",
|
|
257
|
+
entityCategory: "config",
|
|
258
|
+
}),
|
|
259
|
+
m.numeric({
|
|
260
|
+
name: "co2_forced_recalibration",
|
|
261
|
+
unit: "ppm",
|
|
262
|
+
valueMin: 0,
|
|
263
|
+
valueMax: 5000,
|
|
264
|
+
cluster: "msCO2",
|
|
265
|
+
attribute: { ID: customAttrIds.msCO2.forcedRecalibration, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
266
|
+
description: "Start FRC by setting the value",
|
|
267
|
+
entityCategory: "config",
|
|
268
|
+
}),
|
|
269
|
+
m.binary({
|
|
270
|
+
name: "co2_factory_reset",
|
|
271
|
+
valueOn: ["ON", 1],
|
|
272
|
+
valueOff: ["OFF", 0],
|
|
273
|
+
cluster: "msCO2",
|
|
274
|
+
attribute: { ID: customAttrIds.msCO2.factoryReset, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
275
|
+
description: "Factory Reset CO2 sensor",
|
|
276
|
+
entityCategory: "config",
|
|
277
|
+
}),
|
|
278
|
+
m.binary({
|
|
279
|
+
name: "lux_control",
|
|
280
|
+
valueOn: ["ON", 1],
|
|
281
|
+
valueOff: ["OFF", 0],
|
|
282
|
+
cluster: "msIlluminanceMeasurement",
|
|
283
|
+
attribute: { ID: customAttrIds.msIlluminanceMeasurement.control, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
284
|
+
description: "Enable illuminance bind-control",
|
|
285
|
+
}),
|
|
286
|
+
m.binary({
|
|
287
|
+
name: "lux_invert",
|
|
288
|
+
valueOn: ["ON", 1],
|
|
289
|
+
valueOff: ["OFF", 0],
|
|
290
|
+
cluster: "msIlluminanceMeasurement",
|
|
291
|
+
attribute: { ID: customAttrIds.msIlluminanceMeasurement.invert, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
292
|
+
description: "Invert illuminance control logic",
|
|
293
|
+
}),
|
|
294
|
+
m.numeric({
|
|
295
|
+
name: "lux_level_high",
|
|
296
|
+
unit: "lx",
|
|
297
|
+
access: "ALL",
|
|
298
|
+
cluster: "msIlluminanceMeasurement",
|
|
299
|
+
attribute: { ID: customAttrIds.msIlluminanceMeasurement.levelHigh, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
300
|
+
description: "High illuminance threshold",
|
|
301
|
+
valueMin: 100,
|
|
302
|
+
valueMax: 10000,
|
|
303
|
+
precision: 0,
|
|
304
|
+
}),
|
|
305
|
+
m.numeric({
|
|
306
|
+
name: "lux_level_low",
|
|
307
|
+
unit: "lx",
|
|
308
|
+
access: "ALL",
|
|
309
|
+
cluster: "msIlluminanceMeasurement",
|
|
310
|
+
attribute: { ID: customAttrIds.msIlluminanceMeasurement.levelLow, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
311
|
+
description: "Low illuminance threshold",
|
|
312
|
+
valueMin: 100,
|
|
313
|
+
valueMax: 10000,
|
|
314
|
+
precision: 0,
|
|
315
|
+
}),
|
|
316
|
+
m.numeric({
|
|
317
|
+
name: "offset_illuminance",
|
|
318
|
+
unit: "lx",
|
|
319
|
+
valueMin: -500,
|
|
320
|
+
valueMax: 500,
|
|
321
|
+
valueStep: 1,
|
|
322
|
+
scale: 1,
|
|
323
|
+
access: "ALL",
|
|
324
|
+
cluster: "msIlluminanceMeasurement",
|
|
325
|
+
attribute: { ID: customAttrIds.msIlluminanceMeasurement.offset, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
326
|
+
description: "Adjust illuminance",
|
|
327
|
+
entityCategory: "config",
|
|
328
|
+
}),
|
|
329
|
+
m.enumLookup({
|
|
330
|
+
name: "temperature_sensor",
|
|
331
|
+
lookup: { CPU: 0, SCD4X: 1, BMP280: 2 },
|
|
332
|
+
cluster: "msTemperatureMeasurement",
|
|
333
|
+
attribute: { ID: customAttrIds.msTemperatureMeasurement.sensor, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
334
|
+
description: "Active temperature sensor",
|
|
335
|
+
entityCategory: "config",
|
|
336
|
+
}),
|
|
337
|
+
m.numeric({
|
|
338
|
+
name: "offset_temperature",
|
|
339
|
+
unit: "°C",
|
|
340
|
+
valueMin: -50,
|
|
341
|
+
valueMax: 50,
|
|
342
|
+
valueStep: 0.1,
|
|
343
|
+
scale: 10,
|
|
344
|
+
access: "ALL",
|
|
345
|
+
cluster: "msTemperatureMeasurement",
|
|
346
|
+
attribute: { ID: customAttrIds.msTemperatureMeasurement.offset, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
347
|
+
description: "Adjust temperature",
|
|
348
|
+
entityCategory: "config",
|
|
349
|
+
}),
|
|
350
|
+
m.numeric({
|
|
351
|
+
name: "offset_humidity",
|
|
352
|
+
unit: "%",
|
|
353
|
+
valueMin: -50,
|
|
354
|
+
valueMax: 50,
|
|
355
|
+
valueStep: 0.1,
|
|
356
|
+
scale: 10,
|
|
357
|
+
access: "ALL",
|
|
358
|
+
cluster: "msRelativeHumidity",
|
|
359
|
+
attribute: { ID: customAttrIds.msRelativeHumidity.offset, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
360
|
+
description: "Adjust humidity",
|
|
361
|
+
entityCategory: "config",
|
|
362
|
+
}),
|
|
363
|
+
m.numeric({
|
|
364
|
+
name: "offset_pressure",
|
|
365
|
+
unit: "kPa",
|
|
366
|
+
valueMin: -100,
|
|
367
|
+
valueMax: 100,
|
|
368
|
+
valueStep: 0.01,
|
|
369
|
+
scale: 100,
|
|
370
|
+
access: "ALL",
|
|
371
|
+
cluster: "msPressureMeasurement",
|
|
372
|
+
attribute: { ID: customAttrIds.msPressureMeasurement.offset, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
373
|
+
description: "Adjust pressure",
|
|
374
|
+
entityCategory: "config",
|
|
375
|
+
}),
|
|
376
|
+
],
|
|
377
|
+
exposes: [
|
|
378
|
+
e.text("last_boot", ea.STATE_GET).withDescription("Device boot date and time").withCategory("diagnostic"),
|
|
379
|
+
e.binary("wifi", ea.ALL, "ON", "OFF").withDescription("Device WiFi state").withCategory("config"),
|
|
380
|
+
e.text("ip_address", ea.STATE).withDescription("Device IP address").withCategory("diagnostic"),
|
|
381
|
+
],
|
|
382
|
+
},
|
|
383
|
+
];
|
|
384
|
+
//# sourceMappingURL=mindy.js.map
|