iobroker.hue 3.5.30 → 3.5.31
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 +3 -0
- package/io-package.json +13 -13
- package/main.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,6 +58,9 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
|
|
|
58
58
|
Placeholder for the next version (at the beginning of the line):
|
|
59
59
|
### __WORK IN PROGRESS__
|
|
60
60
|
-->
|
|
61
|
+
### 3.5.31 (2021-11-20)
|
|
62
|
+
* (foxriver76) ct value fix of #234 ported for 0 (All) group
|
|
63
|
+
|
|
61
64
|
### 3.5.30 (2021-11-14)
|
|
62
65
|
* (foxriver76) we fixed Sentry IOBROKER-HUE-1K, IOBROKER-HUE-A, IOBROKER-HUE-1J
|
|
63
66
|
|
package/io-package.json
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "hue",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.31",
|
|
5
5
|
"tier": 2,
|
|
6
6
|
"news": {
|
|
7
|
+
"3.5.31": {
|
|
8
|
+
"en": "ct value fix of #234 ported for 0 (All) group",
|
|
9
|
+
"de": "ct-Wert-Fix von #234 portiert für 0 (Alle) Gruppe",
|
|
10
|
+
"ru": "Исправлено значение ct # 234, перенесенное для группы 0 (All)",
|
|
11
|
+
"pt": "correção do valor ct de # 234 portado para o grupo 0 (todos)",
|
|
12
|
+
"nl": "ct-waarde fix van #234 geport voor 0 (Alle) groep",
|
|
13
|
+
"fr": "Correction de la valeur ct de #234 porté pour le groupe 0 (Tous)",
|
|
14
|
+
"it": "Correzione del valore ct di #234 portato per il gruppo 0 (Tutti)",
|
|
15
|
+
"es": "Corrección del valor ct de # 234 portado para el grupo 0 (Todos)",
|
|
16
|
+
"pl": "Ustalona wartość ct z #234 przeniesiona dla grupy 0 (Wszystkie)",
|
|
17
|
+
"zh-cn": "为 0(所有)组移植的 #234 的 ct 值修复"
|
|
18
|
+
},
|
|
7
19
|
"3.5.30": {
|
|
8
20
|
"en": "we fixed Sentry IOBROKER-HUE-1K, IOBROKER-HUE-A, IOBROKER-HUE-1J",
|
|
9
21
|
"de": "wir reparierten Sentry IOBROKER-HUE-1K, IOBROKER-HUE-A, IOBROKER-HUE-1J",
|
|
@@ -75,18 +87,6 @@
|
|
|
75
87
|
"es": "si no podemos determinar el valor de ct correcto, no lo configuraremos (arreglos # 234)",
|
|
76
88
|
"pl": "jeśli nie możemy określić prawidłowej wartości ct, nie ustawimy jej (poprawki #234)",
|
|
77
89
|
"zh-cn": "如果我们无法确定正确的 ct 值,我们将不会设置它(修复 #234)"
|
|
78
|
-
},
|
|
79
|
-
"3.5.24": {
|
|
80
|
-
"en": "if we cannot determine correct ct value, we won't set it (fixes #234)",
|
|
81
|
-
"de": "Wenn wir den korrekten ct-Wert nicht bestimmen können, werden wir ihn nicht festlegen (fixes #234)",
|
|
82
|
-
"ru": "если мы не можем определить правильное значение ct, мы не будем его устанавливать (исправления # 234)",
|
|
83
|
-
"pt": "se não pudermos determinar o valor correto de ct, não o definiremos (corrige # 234)",
|
|
84
|
-
"nl": "als we de juiste ct-waarde niet kunnen bepalen, stellen we deze niet in (fixes #234)",
|
|
85
|
-
"fr": "si nous ne pouvons pas déterminer la valeur ct correcte, nous ne la définirons pas (corrections #234)",
|
|
86
|
-
"it": "se non riusciamo a determinare il valore ct corretto, non lo imposteremo (correzioni #234)",
|
|
87
|
-
"es": "si no podemos determinar el valor de ct correcto, no lo configuraremos (arreglos # 234)",
|
|
88
|
-
"pl": "jeśli nie możemy określić prawidłowej wartości ct, nie ustawimy jej (poprawki #234)",
|
|
89
|
-
"zh-cn": "如果我们无法确定正确的 ct 值,我们将不会设置它(修复 #234)"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"titleLang": {
|
package/main.js
CHANGED
|
@@ -765,6 +765,10 @@ async function updateGroupState(group) {
|
|
|
765
765
|
if (states.ct !== undefined) {
|
|
766
766
|
// convert color temperature from mired to kelvin
|
|
767
767
|
states.ct = Math.round(1e6 / states.ct);
|
|
768
|
+
if (!isFinite(states.ct)) { // issue #234
|
|
769
|
+
// invalid value we cannot determine the meant value, fallback to max
|
|
770
|
+
states.ct = 6536; // 153
|
|
771
|
+
}
|
|
768
772
|
}
|
|
769
773
|
|
|
770
774
|
// Next two are entertainment states
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.hue",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.31",
|
|
4
4
|
"description": "Connects Philips Hue LED Bulbs, Friends of Hue LED Lamps and Stripes and other SmartLink capable Devices (LivingWhites, some LivingColors) via Philips Hue Bridges",
|
|
5
5
|
"author": "hobbyquaker <hq@ccu.io>",
|
|
6
6
|
"contributors": [
|