iobroker.zigbee2mqtt 2.13.3 → 2.13.4
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/README.md +4 -0
- package/io-package.json +15 -14
- package/lib/exposes.js +34 -0
- package/package.json +13 -10
package/README.md
CHANGED
|
@@ -32,6 +32,10 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
|
|
|
32
32
|
Placeholder for the next version (at the beginning of the line):
|
|
33
33
|
### **WORK IN PROGRESS**
|
|
34
34
|
-->
|
|
35
|
+
### 2.13.4 (2023-12-17)
|
|
36
|
+
|
|
37
|
+
- (o0shojo0o) fixed unnecessary warning for special value ([269](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269))
|
|
38
|
+
|
|
35
39
|
### 2.13.3 (2023-10-10)
|
|
36
40
|
|
|
37
41
|
- (o0shojo0o) fixed devices erroneous offline indication ([#255](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/255))
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zigbee2mqtt",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.13.4": {
|
|
7
|
+
"en": "fixed unnecessary warning for special value ([269](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269))",
|
|
8
|
+
"de": "feste unnötige Warnung für Sonderwert [269](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/269)",
|
|
9
|
+
"ru": "фиксированное ненужное предупреждение для особенного значения [269](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269)",
|
|
10
|
+
"pt": "aviso desnecessário fixo para valor especial [269](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269)",
|
|
11
|
+
"nl": "onnodig gewaarschuwd voor speciale waarde voor speciale waarde [269)",
|
|
12
|
+
"fr": "avertissement inutile fixe pour valeur spéciale [269](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/269)",
|
|
13
|
+
"it": "[269](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/269)",
|
|
14
|
+
"es": "fija innecesaria advertencia para valor especial [269](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269)",
|
|
15
|
+
"pl": "niepotrzebne ostrzeżenie dla specjalnej wartości (269)(https:/github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269)",
|
|
16
|
+
"uk": "виправлено непотрібне попередження про спеціальне значення [269] (https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/269)",
|
|
17
|
+
"zh-cn": "(http://github.com/oshojo0o/ioBroker.zigbee2mqt/issues/269)"
|
|
18
|
+
},
|
|
6
19
|
"2.13.3": {
|
|
7
20
|
"en": "fixed devices erroneous offline indication ([#255](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/255))",
|
|
8
21
|
"de": "feste Geräte fehlerhafte Offline-Anzeige #[255](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/255)",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "dodał automatyczny pobranie obrazu zigbee2mqtt na meta-storage\ndodał dodatki do opcjonalnych zdjęć z Zigbee2Mqtt i używał ich jako ikon obiektowych. `\nugruntowany\ndodano opcjonalne stany Hold i Release. `\ndodano możliwość generowanego prostego Move'a i Stop states'\ndodał opcję \"Generate simple Press and Release states\". `",
|
|
81
94
|
"uk": "додано автоматичне завантаження зображення пристрою з zigbee2mqtt до мета-сторage\nдодано опцію `Завантажити зображення пристроїв з Zigbee2Mqtt і використовувати їх як іконки об'єкта. й\nфіксована Hue_Move\nдодано варіант `Generate simple Hold and Release State й\nдодано варіант `Generate Simple Move and Stop State`\nдодано варіант `Generate simple Press and Release State й",
|
|
82
95
|
"zh-cn": "加上自齐格贝德二米克特自动下载器图像\n添加了“Zigbee2Mqt的载荷装置图像”的备选办法,并将这些图像作为目标。 目 录\n固定的He_Move\n增加“简单的霍乱和释放国”的选择 目 录\n增加“简单的摩托和托儿”\n增加的“简单新闻”选择 目 录"
|
|
83
|
-
},
|
|
84
|
-
"2.10.1": {
|
|
85
|
-
"en": "fix type definitions (thx @arteck)",
|
|
86
|
-
"de": "fix typdefinitionen (thx @arteck)",
|
|
87
|
-
"ru": "определение типа исправления (thx @arteck)",
|
|
88
|
-
"pt": "definições de tipo de correção (thx @arteck)",
|
|
89
|
-
"nl": "vertaling:",
|
|
90
|
-
"fr": "définitions de type fixe (thx @arteck)",
|
|
91
|
-
"it": "correggere le definizioni di tipo (thx @arteck)",
|
|
92
|
-
"es": "fijar definiciones tipo (thx @arteck)",
|
|
93
|
-
"pl": "definicja typów (tx @arteck)",
|
|
94
|
-
"uk": "фіксувати визначення типу (thx @arteck)",
|
|
95
|
-
"zh-cn": "fix类定义(x @arteck)"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"messages": [
|
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
"type": "hardware",
|
|
187
187
|
"compact": true,
|
|
188
188
|
"stopTimeout": 2000,
|
|
189
|
+
"tier": 2,
|
|
189
190
|
"connectionType": "local",
|
|
190
191
|
"dataSource": "push",
|
|
191
192
|
"adminUI": {
|
package/lib/exposes.js
CHANGED
|
@@ -447,6 +447,40 @@ async function createDeviceFromExposes(devicesMessag, adapter) {
|
|
|
447
447
|
}, prop.access);
|
|
448
448
|
break;
|
|
449
449
|
}
|
|
450
|
+
case 'color_temp_startup': {
|
|
451
|
+
const stateName = expose.endpoint ? `colortempstartup_${expose.endpoint}` : 'colortempstartup';
|
|
452
|
+
const propName = expose.endpoint ? `color_temp_startup_${expose.endpoint}` : 'color_temp_startup';
|
|
453
|
+
//const colorMode = expose.endpoint ? `color_mode_${expose.endpoint}` : 'color_mode';
|
|
454
|
+
pushToStates({
|
|
455
|
+
id: stateName,
|
|
456
|
+
prop: propName,
|
|
457
|
+
name: `${prop.description} ${expose.endpoint ? `(${expose.endpoint})` : ''}`.trim(),
|
|
458
|
+
//options: ['transition'],
|
|
459
|
+
icon: undefined,
|
|
460
|
+
role: 'level.color.temperature',
|
|
461
|
+
write: true,
|
|
462
|
+
read: true,
|
|
463
|
+
type: 'number',
|
|
464
|
+
min: 0,
|
|
465
|
+
max: 65535,
|
|
466
|
+
def: undefined,
|
|
467
|
+
unit: config.useKelvin == true ? 'K' : 'mired',
|
|
468
|
+
setter: (value) => {
|
|
469
|
+
return utils.toMired(value);
|
|
470
|
+
},
|
|
471
|
+
getter: (payload) => {
|
|
472
|
+
//if (payload[colorMode] != 'color_temp') {
|
|
473
|
+
// return undefined;
|
|
474
|
+
//}
|
|
475
|
+
if (config.useKelvin == true) {
|
|
476
|
+
return utils.miredKelvinConversion(payload[propName]);
|
|
477
|
+
} else {
|
|
478
|
+
return payload[propName];
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
}, prop.access);
|
|
482
|
+
break;
|
|
483
|
+
}
|
|
450
484
|
case 'color_xy': {
|
|
451
485
|
const stateName = expose.endpoint ? `color_${expose.endpoint}` : 'color';
|
|
452
486
|
const colorMode = expose.endpoint ? `color_mode_${expose.endpoint}` : 'color_mode';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.zigbee2mqtt",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.4",
|
|
4
4
|
"description": "Zigbee2MQTT adapter for ioBroker",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Dennis Rathjen",
|
|
@@ -18,37 +18,40 @@
|
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/o0shojo0o/ioBroker.zigbee2mqtt.git"
|
|
20
20
|
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">= 16"
|
|
23
|
+
},
|
|
21
24
|
"dependencies": {
|
|
22
|
-
"@iobroker/adapter-core": "^3.0.
|
|
25
|
+
"@iobroker/adapter-core": "^3.0.4",
|
|
23
26
|
"aedes": "^0.50.0",
|
|
24
27
|
"aedes-persistence-nedb": "^2.0.3",
|
|
25
|
-
"mqtt": "~5.
|
|
28
|
+
"mqtt": "~5.1.4",
|
|
26
29
|
"net": "^1.0.2",
|
|
27
30
|
"node-schedule": "^2.1.1",
|
|
28
31
|
"sharp": "^0.32.6",
|
|
29
32
|
"ws": "^8.13.0"
|
|
30
33
|
},
|
|
31
34
|
"devDependencies": {
|
|
32
|
-
"@alcalzone/release-script": "^3.
|
|
35
|
+
"@alcalzone/release-script": "^3.7.0",
|
|
33
36
|
"@alcalzone/release-script-plugin-iobroker": "^3.6.0",
|
|
34
|
-
"@alcalzone/release-script-plugin-license": "^3.
|
|
35
|
-
"@alcalzone/release-script-plugin-manual-review": "^3.
|
|
37
|
+
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
38
|
+
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
36
39
|
"@iobroker/adapter-dev": "^1.2.0",
|
|
37
40
|
"@iobroker/testing": "^4.1.0",
|
|
38
41
|
"@tsconfig/node14": "^14.1.0",
|
|
39
42
|
"@types/chai": "^4.3.5",
|
|
40
|
-
"@types/chai-as-promised": "^7.1.
|
|
43
|
+
"@types/chai-as-promised": "^7.1.8",
|
|
41
44
|
"@types/mocha": "^10.0.2",
|
|
42
|
-
"@types/node": "^20.
|
|
45
|
+
"@types/node": "^20.8.10",
|
|
43
46
|
"@types/node-schedule": "^2.1.0",
|
|
44
|
-
"@types/proxyquire": "^1.3.
|
|
47
|
+
"@types/proxyquire": "^1.3.31",
|
|
45
48
|
"@types/sinon": "^10.0.16",
|
|
46
49
|
"@types/sinon-chai": "^3.2.9",
|
|
47
50
|
"chai": "^4.3.8",
|
|
48
51
|
"chai-as-promised": "^7.1.1",
|
|
49
52
|
"eslint": "^8.50.0",
|
|
50
53
|
"eslint-config-prettier": "^9.0.0",
|
|
51
|
-
"eslint-plugin-prettier": "^5.0.
|
|
54
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
52
55
|
"mocha": "^10.2.0",
|
|
53
56
|
"prettier": "^3.0.3",
|
|
54
57
|
"proxyquire": "^2.1.3",
|