iobroker.hue 3.5.23 → 3.5.28

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 CHANGED
@@ -59,6 +59,18 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
59
59
  Placeholder for the next version (at the beginning of the line):
60
60
  ### __WORK IN PROGRESS__
61
61
  -->
62
+ ### 3.5.28 (2021-11-04)
63
+ * (foxriver76) another fix for ivnalid ct values (fixes #234)
64
+
65
+ ### 3.5.27 (2021-11-01)
66
+ * (foxriver76) we fixed missing object type of some scenes (closes #255)
67
+
68
+ ### 3.5.26 (2021-10-20)
69
+ * (foxriver76) fixed an issue with the username set in Hue API (fixes 249)
70
+ * (klein0r) fixed translation of search popup (fixes #247)
71
+
72
+ ### 3.5.25 (2021-09-15)
73
+ * (foxriver76) if we cannot determine correct ct value, we won't set it (fixes #234)
62
74
 
63
75
  ### 3.5.23 (2021-08-26)
64
76
  * (Pmant) fix for third party devices delivering wrong ct values
@@ -86,7 +98,7 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
86
98
 
87
99
  ### 3.5.14 (2021-05-04)
88
100
  * (foxriver76) protect the user token from access by foreign adapters
89
- * (foxriver76) fixed types of default values on groups
101
+ * (foxriver76) fixed types of default values on groups
90
102
 
91
103
  ### 3.5.13 (2021-05-03)
92
104
  * (foxriver76) we fixed some more types
@@ -118,7 +130,7 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
118
130
  * (foxriver76) fix crashes if wrong data type or invalid value passed for ct and hue, now logging an error
119
131
  * (foxriver76) fix crashes if rgb where outside allowed range or wrong type
120
132
  * (foxriver76) fix potential crashes on bridge discovery, due to unnecessary stringify/parse logic
121
- * (foxriver76) fix graphical issue with the label of bridge user when newly created, due to missing call of updateTextFields
133
+ * (foxriver76) fix graphical issue with the label of bridge user when newly created, due to missing call of updateTextFields
122
134
 
123
135
  ### 3.5.1 (2021-02-20)
124
136
  * (foxriver76) avoid crash cases on invalid xy, setting state for non-existing device and on failing user creation
@@ -150,7 +162,7 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
150
162
  * (foxriver76) fixed issue on frontend validation of polling intervals starting with 1
151
163
 
152
164
  ### 3.3.4 (2020-06-02)
153
- * (foxriver76) implemented fix for problems with switches and handling id conflicts
165
+ * (foxriver76) implemented fix for problems with switches and handling id conflicts
154
166
 
155
167
  ### 3.3.3 (2020-05-31)
156
168
  * (foxriver76) we now handle potential id conflicts, when adding devices from different type with same name over time
@@ -411,7 +423,4 @@ __ATTENTION: Remove all objects once, ids have changed__
411
423
  Apache 2.0
412
424
 
413
425
  Copyright (c) 2017-2021 Bluefox <dogafox@gmail.com>
414
- Copyright (c) 2014-2016 hobbyquaker
415
-
416
-
417
-
426
+ Copyright (c) 2014-2016 hobbyquaker
@@ -101,10 +101,10 @@
101
101
  return;
102
102
  }
103
103
 
104
- $('#dialog-bridges .modal-content').html(_('Please wait, searching for bridge.<br>' +
104
+ $('#dialog-bridges .modal-content').html(_('Please wait, searching for bridge.') + '<br>' +
105
105
  '<div class="progress">' +
106
106
  ' <div class="indeterminate"></div>' +
107
- '</div>'));
107
+ '</div>');
108
108
 
109
109
  $('#dialog-bridges').modal('open');
110
110
  $('#dialog-bridges .btn-close').addClass('disabled');
package/admin/words.js CHANGED
@@ -2,33 +2,340 @@
2
2
  'use strict';
3
3
 
4
4
  systemDictionary = {
5
- "\"Legacy\" structure": { "en": "\"Legacy\" structure", "de": "\"Legacy\"-Struktur", "ru": "\"Наследие\" структура", "pt": "Estrutura \"herdada\"", "nl": "\"Legacy\"-structuur", "fr": "\"Legacy\" structure", "it": "Struttura \"legacy\"", "es": "Estructura \"heredada\"", "pl": "Struktura „Legacy”", "zh-cn": "“传统”结构"},
6
- "'Please wait, searching for bridge.'": { "en": "Please wait, searching for bridge.", "de": "Suche Bridge. Bitte warten...", "ru": "Ищем устройство. Подождите... ", "pt": "Please wait, searching for bridge.", "nl": "Please wait, searching for bridge.", "fr": "Please wait, searching for bridge.", "it": "Please wait, searching for bridge.", "es": "Please wait, searching for bridge.", "pl": "Please wait, searching for bridge.", "zh-cn": "请稍候,正在寻找桥梁。"},
7
- "Auto setup": { "en": "Auto setup", "de": "Auto-Setup", "ru": "Авто настройка", "pt": "Auto setup", "nl": "Auto setup", "fr": "Auto setup", "it": "Auto setup", "es": "Auto setup", "pl": "Auto setup", "zh-cn": "自动设置"},
8
- "Bridge Address": { "en": "Bridge Address", "de": "Bridge-Adresse", "ru": "Адрес HUE bridge", "pt": "Bridge Address", "nl": "Bridge Address", "fr": "Bridge Address", "it": "Bridge Address", "es": "Bridge Address", "pl": "Bridge Address", "zh-cn": "网桥地址"},
9
- "Bridge User": { "en": "Bridge User", "de": "Bridge-Anwender", "ru": "Пользователь hue bridge", "pt": "Bridge User", "nl": "Bridge User", "fr": "Bridge User", "it": "Bridge User", "es": "Bridge User", "pl": "Bridge User", "zh-cn": "网桥用户"},
10
- "Bridge port": { "en": "Bridge port", "de": "Bridge-Port", "ru": "Порт HUE bridge", "pt": "Bridge port", "nl": "Bridge port", "fr": "Bridge port", "it": "Bridge port", "es": "Bridge port", "pl": "Bridge port", "zh-cn": "桥口"},
11
- "Cannot find bridge": { "en": "Cannot find bridge", "de": "Kann keine Bridge finden", "ru": "Не удается найти хаб", "pt": "Não é possível encontrar bridge", "nl": "Ik kan bridge niet vinden", "fr": "Impossible de trouver le bridge", "it": "Non riesci a trovare il bridge", "es": "No se puede encontrar el bridge", "pl": "Nie mogę znaleźć bridge", "zh-cn": "找不到桥"},
12
- "Close": { "en": "Close", "de": "Schließen", "ru": "Закрыть", "pt": "Perto", "nl": "Dichtbij", "fr": "Fermer", "it": "Vicino", "es": "Cerca", "pl": "Blisko", "zh-cn": "关闭"},
13
- "Create User": { "en": "Create User", "de": "Erstelle User", "ru": "Создать пользователя", "pt": "Create User", "nl": "Create User", "fr": "Create User", "it": "Create User", "es": "Create User", "pl": "Create User", "zh-cn": "创建用户"},
14
- "Enable adapter first": { "en": "Enable adapter first", "de": "Aktivier Adapter zuerst", "ru": "Сначала надо активировать драйвер", "pt": "Enable adapter first", "nl": "Enable adapter first", "fr": "Enable adapter first", "it": "Enable adapter first", "es": "Enable adapter first", "pl": "Enable adapter first", "zh-cn": "首先启用适配器"},
15
- "Find Bridge": { "en": "Find Bridge", "de": "Suche Bridge", "ru": "Найти HUE bridge", "pt": "Find Bridge", "nl": "Find Bridge", "fr": "Find Bridge", "it": "Find Bridge", "es": "Find Bridge", "pl": "Find Bridge", "zh-cn": "找桥"},
16
- "Ignore groups": { "en": "Ignore groups", "de": "Gruppen ignorieren", "ru": "Игнорировать группы", "pt": "Ignorar grupos", "nl": "Negeer groepen", "fr": "Ignorer les groupes", "it": "Ignora gruppi", "es": "Ignorar grupos", "pl": "Ignoruj ​​grupy", "zh-cn": "忽略组"},
17
- "Ignore scenes": { "en": "Ignore scenes", "de": "Szenen ignorieren", "ru": "Игнорировать сцены", "pt": "Ignorar cenas", "nl": "Negeer scènes", "fr": "Ignorer les scènes", "it": "Ignora le scene", "es": "Ignorar escenas", "pl": "Ignoruj sceny", "zh-cn": "忽略场景"},
18
- "Instruction": { "en": "Please press link button now! <br />You have 30 seconds.", "de": "Bitte Link unter dem Knopf klicken! <br />Sie haben 30 Sekunden.", "ru": "Нажмите ссылку снизу кнопки в течении следующих 30 секунд.", "pt": "Please press link button now! <br />You have 30 seconds.", "nl": "Please press link button now! <br />You have 30 seconds.", "fr": "Please press link button now! <br />You have 30 seconds.", "it": "Please press link button now! <br />You have 30 seconds.", "es": "Please press link button now! <br />You have 30 seconds.", "pl": "Please press link button now! <br />You have 30 seconds.", "zh-cn": "请立即按下链接按钮! "},
19
- "Minimal polling interval is 2 seconds": { "en": "Minimal polling interval is 2 seconds", "de": "Das minimale Abfrageintervall beträgt 2 Sekunden", "ru": "Минимальный интервал опроса составляет 2 секунды", "pt": "O intervalo mínimo de pesquisa é de 2 segundos", "nl": "Minimaal polling-interval is 2 seconden", "fr": "L'intervalle d'interrogation minimal est de 2 secondes", "it": "L'intervallo di polling minimo è di 2 secondi", "es": "El intervalo mínimo de sondeo es de 2 segundos.", "pl": "Minimalny interwał odpytywania wynosi 2 sekundy", "zh-cn": "最小轮询间隔为2秒"},
20
- "Native turn off/on behaviour": { "en": "Native turn off/on behaviour", "de": "Natives Ein- und Ausschaltverhalten", "ru": "Родное поведение включения / выключения", "pt": "Comportamento de ativação / desativação nativo", "nl": "Eigen in- / uitschakelgedrag", "fr": "Comportement natif d'activation / désactivation", "it": "Disattivazione / attivazione nativa del comportamento", "es": "Comportamiento nativo de apagado / encendido", "pl": "Natywne zachowanie wyłączania / włączania", "zh-cn": "本机关闭/打开行为"},
21
- "Ok": { "en": "Ok", "de": "Ok", "ru": "Ok", "pt": "Ok", "nl": "Ok", "fr": "Ok", "it": "Ok", "es": "Ok", "pl": "Ok", "zh-cn": "好的"},
22
- "Philips HUE adapter settings": { "en": "Philips HUE adapter settings", "de": "Philips HUE adapter settings", "ru": "Настройки драйвера Philips HUE", "pt": "Philips HUE adapter settings", "nl": "Philips HUE adapter settings", "fr": "Philips HUE adapter settings", "it": "Philips HUE adapter settings", "es": "Philips HUE adapter settings", "pl": "Philips HUE adapter settings", "zh-cn": "飞利浦 HUE 适配器设置"},
23
- "Please wait, searching for bridge.": { "en": "Please wait, searching for bridge.", "de": "Bitte warten Sie, auf der Suche nach Bridge.", "ru": "Подождите, ищу хаб.", "pt": "Por favor aguarde, procurando por bridge.", "nl": "Even geduld, op zoek naar bridge.", "fr": "Veuillez patienter, recherche de bridge.", "it": "Per favore aspetta, cercando il bridge.", "es": "Por favor espera, busca bridge.", "pl": "Proszę czekać, szukając bridge.", "zh-cn": "请稍候,正在寻找桥梁。"},
24
- "Polling": { "en": "Polling", "de": "Polling", "ru": "Опрос", "pt": "Polling", "nl": "Polling", "fr": "Polling", "it": "Polling", "es": "Polling", "pl": "Polling", "zh-cn": "轮询"},
25
- "Polling interval (sec)": { "en": "Polling interval(sec)", "de": "Pollintervall(sek)", "ru": "Интервал опроса(сек)", "pt": "Polling interval(sec)", "nl": "Polling interval(sec)", "fr": "Polling interval(sec)", "it": "Polling interval(sec)", "es": "Polling interval(sec)", "pl": "Polling interval(sec)", "zh-cn": "轮询间隔(秒)"},
26
- "Select a bridge:": { "en": "Select a bridge:", "de": "Wähle eine Bridge aus:", "ru": "Выберите хаб:", "pt": "Select a bridge:", "nl": "Select a bridge:", "fr": "Select a bridge:", "it": "Select a bridge:", "es": "Select a bridge:", "pl": "Select a bridge:", "zh-cn": "选择桥:"},
27
- "Settings": { "en": "Settings", "de": "Einstellungen", "ru": "Настройки", "pt": "Settings", "nl": "Settings", "fr": "Settings", "it": "Settings", "es": "Settings", "pl": "Settings", "zh-cn": "设置"},
28
- "Sync software sensors": { "en": "Sync software sensors", "de": "Software-Sensoren synchronisieren", "ru": "Синхронизация программного обеспечения датчиков", "pt": "Sincronizar sensores de software", "nl": "Synchroniseer software sensoren", "fr": "Capteurs logiciels de synchronisation", "it": "Sincronizza i sensori del software", "es": "Sincronizar sensores de software", "pl": "Synchronizuj czujniki oprogramowania", "zh-cn": "同步软件传感器"},
29
- "error creating user: ": { "en": "error creating user: ", "de": "Fehler beim Anwendererzeugen: ", "ru": "Ошибка создания пользователя: ", "pt": "error creating user: ", "nl": "error creating user: ", "fr": "error creating user: ", "it": "error creating user: ", "es": "error creating user: ", "pl": "error creating user: ", "zh-cn": "创建用户时出错:"},
30
- "error finding bridge": { "en": "error finding bridge", "de": "Fehler beim Finden der Brücke", "ru": "ошибка обнаружения моста", "pt": "error finding bridge", "nl": "error finding bridge", "fr": "error finding bridge", "it": "error finding bridge", "es": "error finding bridge", "pl": "error finding bridge", "zh-cn": "查错桥"},
31
- "ignoreOsram": { "en": "ignore Osram", "de": "ignoriere Osram", "ru": "игнорировать Osram", "pt": "ignore Osram", "nl": "ignore Osram", "fr": "ignore Osram", "it": "ignore Osram", "es": "ignore Osram", "pl": "ignore Osram", "zh-cn": "忽略欧司朗"},
32
- "link button not pressed": { "en": "link button not pressed", "de": "Link-Knopf nicht gedruckt", "ru": "Кнопка для соединения не нажата.", "pt": "link button not pressed", "nl": "link button not pressed", "fr": "link button not pressed", "it": "link button not pressed", "es": "link button not pressed", "pl": "link button not pressed", "zh-cn": "未按下链接按钮"},
33
- "polling_warning": { "en": "Notice: Adapter may send only 10 commands in 1 second.", "de": "Hinweis: Der Adapter kann nur 10 Befehle in 1 Sekunde senden.", "ru": "Примечание. Адаптер может отправлять только 10 команд за 1 секунду.", "pt": "Aviso: O adaptador pode enviar apenas 10 comandos em 1 segundo.", "nl": "Opmerking: de adapter verzendt slechts 10 opdrachten in 1 seconde.", "fr": "Avis: L'adaptateur peut envoyer seulement 10 commandes en 1 seconde.", "it": "Avviso: l'adattatore può inviare solo 10 comandi in 1 secondo.", "es": "Aviso: el adaptador puede enviar solo 10 comandos en 1 segundo.", "pl": "Uwaga: Adapter może wysłać tylko 10 poleceń w ciągu 1 sekundy.", "zh-cn": "注意:适配器在1秒钟内只能发送10条命令。"},
34
- };
5
+ '"Legacy" structure': {
6
+ 'en': '"Legacy" structure',
7
+ 'de': '"Legacy"-Struktur',
8
+ 'ru': '"Наследие" структура',
9
+ 'pt': 'Estrutura "herdada"',
10
+ 'nl': '"Legacy"-structuur',
11
+ 'fr': '"Legacy" structure',
12
+ 'it': 'Struttura "legacy"',
13
+ 'es': 'Estructura "heredada"',
14
+ 'pl': 'Struktura „Legacy”',
15
+ 'zh-cn': '“传统”结构'
16
+ },
17
+ 'Auto setup': {
18
+ 'en': 'Auto setup',
19
+ 'de': 'Auto-Setup',
20
+ 'ru': 'Авто настройка',
21
+ 'pt': 'Auto setup',
22
+ 'nl': 'Auto setup',
23
+ 'fr': 'Auto setup',
24
+ 'it': 'Auto setup',
25
+ 'es': 'Auto setup',
26
+ 'pl': 'Auto setup',
27
+ 'zh-cn': '自动设置'
28
+ },
29
+ 'Bridge Address': {
30
+ 'en': 'Bridge Address',
31
+ 'de': 'Bridge-Adresse',
32
+ 'ru': 'Адрес HUE bridge',
33
+ 'pt': 'Bridge Address',
34
+ 'nl': 'Bridge Address',
35
+ 'fr': 'Bridge Address',
36
+ 'it': 'Bridge Address',
37
+ 'es': 'Bridge Address',
38
+ 'pl': 'Bridge Address',
39
+ 'zh-cn': '网桥地址'
40
+ },
41
+ 'Bridge User': {
42
+ 'en': 'Bridge User',
43
+ 'de': 'Bridge-Benutzer',
44
+ 'ru': 'Пользователь hue bridge',
45
+ 'pt': 'Bridge User',
46
+ 'nl': 'Bridge User',
47
+ 'fr': 'Bridge User',
48
+ 'it': 'Bridge User',
49
+ 'es': 'Bridge User',
50
+ 'pl': 'Bridge User',
51
+ 'zh-cn': '网桥用户'
52
+ },
53
+ 'Bridge port': {
54
+ 'en': 'Bridge port',
55
+ 'de': 'Bridge-Port',
56
+ 'ru': 'Порт HUE bridge',
57
+ 'pt': 'Bridge port',
58
+ 'nl': 'Bridge port',
59
+ 'fr': 'Bridge port',
60
+ 'it': 'Bridge port',
61
+ 'es': 'Bridge port',
62
+ 'pl': 'Bridge port',
63
+ 'zh-cn': '桥口'
64
+ },
65
+ 'Cannot find bridge': {
66
+ 'en': 'Cannot find bridge',
67
+ 'de': 'Kann keine Bridge finden',
68
+ 'ru': 'Не удается найти хаб',
69
+ 'pt': 'Não é possível encontrar bridge',
70
+ 'nl': 'Ik kan bridge niet vinden',
71
+ 'fr': 'Impossible de trouver le bridge',
72
+ 'it': 'Non riesci a trovare il bridge',
73
+ 'es': 'No se puede encontrar el bridge',
74
+ 'pl': 'Nie mogę znaleźć bridge',
75
+ 'zh-cn': '找不到桥'
76
+ },
77
+ 'Close': {
78
+ 'en': 'Close',
79
+ 'de': 'Schließen',
80
+ 'ru': 'Закрыть',
81
+ 'pt': 'Perto',
82
+ 'nl': 'Dichtbij',
83
+ 'fr': 'Fermer',
84
+ 'it': 'Vicino',
85
+ 'es': 'Cerca',
86
+ 'pl': 'Blisko',
87
+ 'zh-cn': '关闭'
88
+ },
89
+ 'Create User': {
90
+ 'en': 'Create User',
91
+ 'de': 'Erstelle User',
92
+ 'ru': 'Создать пользователя',
93
+ 'pt': 'Create User',
94
+ 'nl': 'Create User',
95
+ 'fr': 'Create User',
96
+ 'it': 'Create User',
97
+ 'es': 'Create User',
98
+ 'pl': 'Create User',
99
+ 'zh-cn': '创建用户'
100
+ },
101
+ 'Enable adapter first': {
102
+ 'en': 'Enable adapter first',
103
+ 'de': 'Aktivier Adapter zuerst',
104
+ 'ru': 'Сначала надо активировать драйвер',
105
+ 'pt': 'Enable adapter first',
106
+ 'nl': 'Enable adapter first',
107
+ 'fr': 'Enable adapter first',
108
+ 'it': 'Enable adapter first',
109
+ 'es': 'Enable adapter first',
110
+ 'pl': 'Enable adapter first',
111
+ 'zh-cn': '首先启用适配器'
112
+ },
113
+ 'Find Bridge': {
114
+ 'en': 'Find Bridge',
115
+ 'de': 'Suche Bridge',
116
+ 'ru': 'Найти HUE bridge',
117
+ 'pt': 'Procurar Bridge',
118
+ 'nl': 'Find Bridge',
119
+ 'fr': 'Find Bridge',
120
+ 'it': 'Find Bridge',
121
+ 'es': 'Find Bridge',
122
+ 'pl': 'Find Bridge',
123
+ 'zh-cn': '找桥'
124
+ },
125
+ 'Ignore groups': {
126
+ 'en': 'Ignore groups',
127
+ 'de': 'Gruppen ignorieren',
128
+ 'ru': 'Игнорировать группы',
129
+ 'pt': 'Ignorar grupos',
130
+ 'nl': 'Negeer groepen',
131
+ 'fr': 'Ignorer les groupes',
132
+ 'it': 'Ignora gruppi',
133
+ 'es': 'Ignorar grupos',
134
+ 'pl': 'Ignoruj ​​grupy',
135
+ 'zh-cn': '忽略组'
136
+ },
137
+ 'Ignore scenes': {
138
+ 'en': 'Ignore scenes',
139
+ 'de': 'Szenen ignorieren',
140
+ 'ru': 'Игнорировать сцены',
141
+ 'pt': 'Ignorar cenas',
142
+ 'nl': 'Negeer scènes',
143
+ 'fr': 'Ignorer les scènes',
144
+ 'it': 'Ignora le scene',
145
+ 'es': 'Ignorar escenas',
146
+ 'pl': 'Ignoruj sceny',
147
+ 'zh-cn': '忽略场景'
148
+ },
149
+ 'Instruction': {
150
+ 'en': 'Please press link button now! <br />You have 30 seconds.',
151
+ 'de': 'Bitte Link unter dem Knopf klicken! <br />Sie haben 30 Sekunden.',
152
+ 'ru': 'Нажмите ссылку снизу кнопки в течении следующих 30 секунд.',
153
+ 'pt': 'Please press link button now! <br />You have 30 seconds.',
154
+ 'nl': 'Please press link button now! <br />You have 30 seconds.',
155
+ 'fr': 'Please press link button now! <br />You have 30 seconds.',
156
+ 'it': 'Please press link button now! <br />You have 30 seconds.',
157
+ 'es': 'Please press link button now! <br />You have 30 seconds.',
158
+ 'pl': 'Please press link button now! <br />You have 30 seconds.',
159
+ 'zh-cn': '请立即按下链接按钮! '
160
+ },
161
+ 'Minimal polling interval is 2 seconds': {
162
+ 'en': 'Minimal polling interval is 2 seconds',
163
+ 'de': 'Das minimale Abfrageintervall beträgt 2 Sekunden',
164
+ 'ru': 'Минимальный интервал опроса составляет 2 секунды',
165
+ 'pt': 'O intervalo mínimo de pesquisa é de 2 segundos',
166
+ 'nl': 'Minimaal polling-interval is 2 seconden',
167
+ 'fr': 'L\'intervalle d\'interrogation minimal est de 2 secondes',
168
+ 'it': 'L\'intervallo di polling minimo è di 2 secondi',
169
+ 'es': 'El intervalo mínimo de sondeo es de 2 segundos.',
170
+ 'pl': 'Minimalny interwał odpytywania wynosi 2 sekundy',
171
+ 'zh-cn': '最小轮询间隔为2秒'
172
+ },
173
+ 'Native turn off/on behaviour': {
174
+ 'en': 'Native turn off/on behaviour',
175
+ 'de': 'Natives Ein- und Ausschaltverhalten',
176
+ 'ru': 'Родное поведение включения / выключения',
177
+ 'pt': 'Comportamento de ativação / desativação nativo',
178
+ 'nl': 'Eigen in- / uitschakelgedrag',
179
+ 'fr': 'Comportement natif d\'activation / désactivation',
180
+ 'it': 'Disattivazione / attivazione nativa del comportamento',
181
+ 'es': 'Comportamiento nativo de apagado / encendido',
182
+ 'pl': 'Natywne zachowanie wyłączania / włączania',
183
+ 'zh-cn': '本机关闭/打开行为'
184
+ },
185
+ 'Ok': {
186
+ 'en': 'Ok',
187
+ 'de': 'Ok',
188
+ 'ru': 'Ok',
189
+ 'pt': 'Ok',
190
+ 'nl': 'Ok',
191
+ 'fr': 'Ok',
192
+ 'it': 'Ok',
193
+ 'es': 'Ok',
194
+ 'pl': 'Ok',
195
+ 'zh-cn': '好的'
196
+ },
197
+ 'Philips HUE adapter settings': {
198
+ 'en': 'Philips HUE adapter settings',
199
+ 'de': 'Philips HUE adapter settings',
200
+ 'ru': 'Настройки драйвера Philips HUE',
201
+ 'pt': 'Philips HUE adapter settings',
202
+ 'nl': 'Philips HUE adapter settings',
203
+ 'fr': 'Philips HUE adapter settings',
204
+ 'it': 'Philips HUE adapter settings',
205
+ 'es': 'Philips HUE adapter settings',
206
+ 'pl': 'Philips HUE adapter settings',
207
+ 'zh-cn': '飞利浦 HUE 适配器设置'
208
+ },
209
+ 'Please wait, searching for bridge.': {
210
+ 'en': 'Please wait, searching for bridge.',
211
+ 'de': 'Bitte warten, suche nach Bridge.',
212
+ 'ru': 'Подождите, ищу хаб.',
213
+ 'pt': 'Por favor aguarde, procurando por bridge.',
214
+ 'nl': 'Even geduld, op zoek naar bridge.',
215
+ 'fr': 'Veuillez patienter, recherche de bridge.',
216
+ 'it': 'Per favore aspetta, cercando il bridge.',
217
+ 'es': 'Por favor espera, busca bridge.',
218
+ 'pl': 'Proszę czekać, szukając bridge.',
219
+ 'zh-cn': '请稍候,正在寻找桥梁。'
220
+ },
221
+ 'Polling': {
222
+ 'en': 'Polling',
223
+ 'de': 'Polling',
224
+ 'ru': 'Опрос',
225
+ 'pt': 'Polling',
226
+ 'nl': 'Polling',
227
+ 'fr': 'Polling',
228
+ 'it': 'Polling',
229
+ 'es': 'Polling',
230
+ 'pl': 'Polling',
231
+ 'zh-cn': '轮询'
232
+ },
233
+ 'Polling interval (sec)': {
234
+ 'en': 'Polling interval(sec)',
235
+ 'de': 'Pollintervall(sek)',
236
+ 'ru': 'Интервал опроса(сек)',
237
+ 'pt': 'Polling interval(sec)',
238
+ 'nl': 'Polling interval(sec)',
239
+ 'fr': 'Polling interval(sec)',
240
+ 'it': 'Polling interval(sec)',
241
+ 'es': 'Polling interval(sec)',
242
+ 'pl': 'Polling interval(sec)',
243
+ 'zh-cn': '轮询间隔(秒)'
244
+ },
245
+ 'Select a bridge:': {
246
+ 'en': 'Select a bridge:',
247
+ 'de': 'Wähle eine Bridge aus:',
248
+ 'ru': 'Выберите хаб:',
249
+ 'pt': 'Select a bridge:',
250
+ 'nl': 'Select a bridge:',
251
+ 'fr': 'Select a bridge:',
252
+ 'it': 'Select a bridge:',
253
+ 'es': 'Select a bridge:',
254
+ 'pl': 'Select a bridge:',
255
+ 'zh-cn': '选择桥:'
256
+ },
257
+ 'Settings': {
258
+ 'en': 'Settings',
259
+ 'de': 'Einstellungen',
260
+ 'ru': 'Настройки',
261
+ 'pt': 'Settings',
262
+ 'nl': 'Settings',
263
+ 'fr': 'Settings',
264
+ 'it': 'Settings',
265
+ 'es': 'Settings',
266
+ 'pl': 'Settings',
267
+ 'zh-cn': '设置'
268
+ },
269
+ 'Sync software sensors': {
270
+ 'en': 'Sync software sensors',
271
+ 'de': 'Software-Sensoren synchronisieren',
272
+ 'ru': 'Синхронизация программного обеспечения датчиков',
273
+ 'pt': 'Sincronizar sensores de software',
274
+ 'nl': 'Synchroniseer software sensoren',
275
+ 'fr': 'Capteurs logiciels de synchronisation',
276
+ 'it': 'Sincronizza i sensori del software',
277
+ 'es': 'Sincronizar sensores de software',
278
+ 'pl': 'Synchronizuj czujniki oprogramowania',
279
+ 'zh-cn': '同步软件传感器'
280
+ },
281
+ 'error creating user: ': {
282
+ 'en': 'error creating user: ',
283
+ 'de': 'Fehler beim Erzeugen des Benutzers: ',
284
+ 'ru': 'Ошибка создания пользователя: ',
285
+ 'pt': 'error creating user: ',
286
+ 'nl': 'error creating user: ',
287
+ 'fr': 'error creating user: ',
288
+ 'it': 'error creating user: ',
289
+ 'es': 'error creating user: ',
290
+ 'pl': 'error creating user: ',
291
+ 'zh-cn': '创建用户时出错:'
292
+ },
293
+ 'error finding bridge': {
294
+ 'en': 'error finding bridge',
295
+ 'de': 'Fehler beim Finden der Brücke',
296
+ 'ru': 'ошибка обнаружения моста',
297
+ 'pt': 'error finding bridge',
298
+ 'nl': 'error finding bridge',
299
+ 'fr': 'error finding bridge',
300
+ 'it': 'error finding bridge',
301
+ 'es': 'error finding bridge',
302
+ 'pl': 'error finding bridge',
303
+ 'zh-cn': '查错桥'
304
+ },
305
+ 'ignoreOsram': {
306
+ 'en': 'ignore Osram',
307
+ 'de': 'ignoriere Osram',
308
+ 'ru': 'игнорировать Osram',
309
+ 'pt': 'ignore Osram',
310
+ 'nl': 'ignore Osram',
311
+ 'fr': 'ignore Osram',
312
+ 'it': 'ignore Osram',
313
+ 'es': 'ignore Osram',
314
+ 'pl': 'ignore Osram',
315
+ 'zh-cn': '忽略欧司朗'
316
+ },
317
+ 'link button not pressed': {
318
+ 'en': 'link button not pressed',
319
+ 'de': 'Link-Knopf nicht gedruckt',
320
+ 'ru': 'Кнопка для соединения не нажата.',
321
+ 'pt': 'link button not pressed',
322
+ 'nl': 'link button not pressed',
323
+ 'fr': 'link button not pressed',
324
+ 'it': 'link button not pressed',
325
+ 'es': 'link button not pressed',
326
+ 'pl': 'link button not pressed',
327
+ 'zh-cn': '未按下链接按钮'
328
+ },
329
+ 'polling_warning': {
330
+ 'en': 'Notice: Adapter may send only 10 commands in 1 second.',
331
+ 'de': 'Hinweis: Der Adapter kann nur 10 Befehle in 1 Sekunde senden.',
332
+ 'ru': 'Примечание. Адаптер может отправлять только 10 команд за 1 секунду.',
333
+ 'pt': 'Aviso: O adaptador pode enviar apenas 10 comandos em 1 segundo.',
334
+ 'nl': 'Opmerking: de adapter verzendt slechts 10 opdrachten in 1 seconde.',
335
+ 'fr': 'Avis: L\'adaptateur peut envoyer seulement 10 commandes en 1 seconde.',
336
+ 'it': 'Avviso: l\'adattatore può inviare solo 10 comandi in 1 secondo.',
337
+ 'es': 'Aviso: el adaptador puede enviar solo 10 comandos en 1 segundo.',
338
+ 'pl': 'Uwaga: Adapter może wysłać tylko 10 poleceń w ciągu 1 sekundy.',
339
+ 'zh-cn': '注意:适配器在1秒钟内只能发送10条命令。'
340
+ }
341
+ };
package/io-package.json CHANGED
@@ -1,342 +1,186 @@
1
1
  {
2
- "common": {
3
- "name": "hue",
4
- "version": "3.5.23",
5
- "tier": 2,
6
- "news": {
7
- "3.5.23": {
8
- "en": "fix for third party devices delivering wrong ct values",
9
- "de": "Fix für Geräte von Drittanbietern, die falsche ct-Werte liefern",
10
- "ru": "исправить для сторонних устройств, доставляющих неправильные значения ct",
11
- "pt": "correção para dispositivos de terceiros que fornecem valores CT incorretos",
12
- "nl": "oplossing voor apparaten van derden die verkeerde ct-waarden leveren",
13
- "fr": "correctif pour les appareils tiers fournissant des valeurs de ct erronées",
14
- "it": "correzione per dispositivi di terze parti che forniscono valori ct errati",
15
- "es": "corrección para dispositivos de terceros que entregan valores de CT incorrectos",
16
- "pl": "poprawka dla urządzeń firm trzecich dostarczających błędne wartości ct",
17
- "zh-cn": "修复提供错误 ct 值的第三方设备"
18
- },
19
- "3.5.22": {
20
- "en": "fixed several sentry issues (closes #217, closes #218, closes #219, closes #220)",
21
- "de": "Mehrere Wachenprobleme behoben (schließt #217, schließt #218, schließt #219, schließt #220)",
22
- "ru": "исправлено несколько проблем с часовой (закрывает # 217, закрывает # 218, закрывает # 219, закрывает # 220)",
23
- "pt": "corrigiu vários problemas de sentinela (fecha # 217, fecha # 218, fecha # 219, fecha # 220)",
24
- "nl": "verschillende schildwachtproblemen opgelost (sluit #217, sluit #218, sluit #219, sluit #220)",
25
- "fr": "correction de plusieurs problèmes de sentinelle (ferme #217, ferme #218, ferme #219, ferme #220)",
26
- "it": "risolti diversi problemi di sentinella (chiude #217, chiude #218, chiude #219, chiude #220)",
27
- "es": "Se corrigieron varios problemas de centinela (cierra # 217, cierra # 218, cierra # 219, cierra # 220)",
28
- "pl": "naprawiono kilka błędów wartowników (zamykanie #217, zamykanie #218, zamykanie #219, zamykanie #220)",
29
- "zh-cn": "修复了几个哨兵问题(关闭#217,关闭#218,关闭#219,关闭#220)"
30
- },
31
- "3.5.20": {
32
- "en": "we now define minimum ct of groups to 2000 instead of 2179 (fixes #216)",
33
- "de": "wir definieren jetzt die minimale Anzahl von Gruppen auf 2000 statt 2179 (Fixes #216)",
34
- "ru": "теперь мы определяем минимальный ct групп равным 2000 вместо 2179 (исправления # 216)",
35
- "pt": "agora definimos o ct mínimo de grupos para 2.000 em vez de 2.179 (correções # 216)",
36
- "nl": "we definiëren nu minimum ct van groepen tot 2000 in plaats van 2179 (fixes #216)",
37
- "fr": "nous définissons maintenant le nombre minimum de groupes à 2000 au lieu de 2179 (corrections #216)",
38
- "it": "ora definiamo il ct minimo di gruppi a 2000 invece di 2179 (correzioni #216)",
39
- "es": "ahora definimos ct mínimo de grupos a 2000 en lugar de 2179 (arreglos # 216)",
40
- "pl": "teraz definiujemy minimalny ct grup do 2000 zamiast 2179 (poprawki #216)",
41
- "zh-cn": "我们现在将组的最小 ct 定义为 2000 而不是 2179(修复 #216)"
42
- },
43
- "3.5.19": {
44
- "en": "fix crash case if we cannot get min/max ct values",
45
- "de": "Crash-Fall beheben, wenn wir keine Min/Max-CT-Werte erhalten können",
46
- "ru": "исправить случай сбоя, если мы не можем получить минимальные / максимальные значения ct",
47
- "pt": "consertar o caso de falha se não conseguirmos obter os valores min / max ct",
48
- "nl": "crashgeval repareren als we geen min/max ct-waarden kunnen krijgen",
49
- "fr": "corriger le cas de plantage si nous ne pouvons pas obtenir les valeurs min/max ct",
50
- "it": "risolvere il caso di arresto anomalo se non riusciamo a ottenere i valori ct min/max",
51
- "es": "arreglar caso de falla si no podemos obtener valores mínimos / máximos de ct",
52
- "pl": "napraw przypadek awarii, jeśli nie możemy uzyskać wartości min/max ct",
53
- "zh-cn": "如果我们无法获得最小/最大 ct 值,则修复崩溃案例"
54
- },
55
- "3.5.18": {
56
- "en": "get the correct min/max ct values from api for lights (closes #192)",
57
- "de": "Holen Sie sich die richtigen Min / Max-Ct-Werte von der API für Lichter (schließt # 192)",
58
- "ru": "получить правильные значения min / max ct из api для источников света (закрывается # 192)",
59
- "pt": "obter os valores min / max ct corretos da api para luzes (fecha # 192)",
60
- "nl": "verkrijg de juiste min / max ct-waarden van api voor lichten (sluit # 192)",
61
- "fr": "obtenir les valeurs correctes min / max ct de l'API pour les lumières (ferme # 192)",
62
- "it": "ottenere i valori ct min / max corretti dall'api per le luci (chiude # 192)",
63
- "es": "obtenga los valores de ct min / max correctos de api para luces (cierra # 192)",
64
- "pl": "pobierz prawidłowe wartości min / max ct z interfejsu API dla świateł (zamyka # 192)",
65
- "zh-cn": "从api获取正确的最小/最大ct值(关闭#192)"
66
- },
67
- "3.5.17": {
68
- "en": "prevent edge case crash (fixes #196)",
69
- "de": "Kantenabsturz verhindern (Fixes # 196)",
70
- "ru": "предотвращение краха краевого случая (исправления # 196)",
71
- "pt": "evita a falha do caso extremo (corrige # 196)",
72
- "nl": "voorkomen edge case crash (fixes # 196)",
73
- "fr": "empêcher le crash du cas de bord (corrections # 196)",
74
- "it": "prevenire l'arresto anomalo del case edge (correzioni # 196)",
75
- "es": "prevenir el bloqueo de la caja del borde (arreglos # 196)",
76
- "pl": "zapobiegaj awariom Edge Case (poprawki # 196)",
77
- "zh-cn": "防止边缘情况崩溃(修复#196)"
78
- },
79
- "3.5.16": {
80
- "en": "make buttons type `boolean` (closes #189)",
81
- "de": "make-Schaltflächen geben \"boolean\" ein (schließt # 189)",
82
- "ru": "сделать кнопки типа `boolean` (закрывает # 189)",
83
- "pt": "botões de make tipo `boolean` (fecha # 189)",
84
- "nl": "laat knoppen 'boolean' typen (sluit # 189)",
85
- "fr": "faire des boutons de type `booléen` (ferme # 189)",
86
- "it": "fare in modo che i pulsanti digitino `booleano` (chiude # 189)",
87
- "es": "hacer botones tipo `boolean` (cierra # 189)",
88
- "pl": "uczynić przyciski typu `boolean` (zamyka # 189)",
89
- "zh-cn": "使按钮类型为布尔值(关闭#189)"
90
- },
91
- "3.5.15": {
92
- "en": "fixed some default type values, which produced warnings once",
93
- "de": "Einige Standardtypwerte wurden behoben, die einmal zu Warnungen führten",
94
- "ru": "исправлены некоторые значения типов по умолчанию, которые один раз выдавали предупреждения",
95
- "pt": "corrigiu alguns valores de tipo padrão, que produziram avisos uma vez",
96
- "nl": "enkele standaard typewaarden gerepareerd, die eenmaal waarschuwingen produceerden",
97
- "fr": "correction de certaines valeurs de type par défaut, qui produisaient des avertissements une fois",
98
- "it": "risolti alcuni valori di tipo predefinito, che producevano avvisi una volta",
99
- "es": "se corrigieron algunos valores de tipo predeterminados, que producían advertencias una vez",
100
- "pl": "naprawiono niektóre domyślne wartości typu, które raz generowały ostrzeżenia",
101
- "zh-cn": "修复了一些默认类型值,该默认值一旦产生警告"
102
- },
103
- "3.5.14": {
104
- "en": "protect the user token from access by foreign adapters\nfixed types of default values on groups",
105
- "de": "Schützen Sie das Benutzertoken vor dem Zugriff durch fremde Adapter\nFeste Arten von Standardwerten für Gruppen",
106
- "ru": "защитить токен пользователя от доступа посторонних адаптеров\nфиксированные типы значений по умолчанию для групп",
107
- "pt": "proteger o token do usuário do acesso por adaptadores estrangeiros\ntipos fixos de valores padrão em grupos",
108
- "nl": "bescherm het gebruikerstoken tegen toegang door buitenlandse adapters\nvaste soorten standaardwaarden voor groepen",
109
- "fr": "protéger le jeton utilisateur contre l'accès par des adaptateurs étrangers\ntypes fixes de valeurs par défaut sur les groupes",
110
- "it": "proteggere il token utente dall'accesso da parte di adattatori esterni\ntipi fissi di valori predefiniti sui gruppi",
111
- "es": "proteger el token de usuario del acceso de adaptadores externos\ntipos fijos de valores predeterminados en grupos",
112
- "pl": "chronić token użytkownika przed dostępem obcych adapterów\nustalone typy wartości domyślnych na grupach",
113
- "zh-cn": "保护用户令牌不被外部适配器访问\n固定类型的默认值在组上"
114
- },
115
- "3.5.13": {
116
- "en": "we fixed some more types",
117
- "de": "Wir haben einige weitere Typen behoben",
118
- "ru": "мы исправили еще несколько типов",
119
- "pt": "nós consertamos mais alguns tipos",
120
- "nl": "we hebben nog wat meer soorten gerepareerd",
121
- "fr": "nous avons corrigé d'autres types",
122
- "it": "abbiamo corretto altri tipi",
123
- "es": "arreglamos algunos tipos más",
124
- "pl": "naprawiliśmy kilka innych typów",
125
- "zh-cn": "我们修复了更多类型"
126
- },
127
- "3.5.12": {
128
- "en": "we give skipped switches common.type 'mixed' instead of none\nwe have corrected the min max of color temperature (empirically found)",
129
- "de": "Wir geben übersprungene Schalter common.type 'gemischt' anstelle von keiner\nWir haben das minimale Maximum der Farbtemperatur korrigiert (empirisch gefunden).",
130
- "ru": "мы указываем пропущенные переключатели common.type 'смешанный' вместо none\nмы скорректировали минимальный максимум цветовой температуры (найденный эмпирическим путем)",
131
- "pt": "damos opções ignoradas common.type 'mixed' em vez de nenhuma\ncorrigimos o mínimo máximo de temperatura de cor (encontrado empiricamente)",
132
- "nl": "we geven overgeslagen schakelaars common.type 'gemengd' in plaats van geen\nwe hebben de min max van kleurtemperatuur gecorrigeerd (empirisch gevonden)",
133
- "fr": "nous donnons des commutateurs sautés common.type 'mixed' au lieu de none\nnous avons corrigé le min max de la température de couleur (trouvé empiriquement)",
134
- "it": "diamo interruttori saltati common.type 'misto' invece di nessuno\nabbiamo corretto il min max della temperatura colore (rilevato empiricamente)",
135
- "es": "le damos a los interruptores omitidos common.type 'mixed' en lugar de ninguno\nhemos corregido el mínimo máximo de temperatura de color (encontrado empíricamente)",
136
- "pl": "dajemy pominięte przełączniki common.type „mieszane” zamiast żadnych\npoprawiliśmy minimalną maksymalną temperaturę barwową (stwierdzono empirycznie)",
137
- "zh-cn": "我们给跳过的开关common.type'mixed'而不是none\n我们更正了色温的最小最大值(凭经验发现)"
138
- },
139
- "3.5.11": {
140
- "en": "we now update objects if type has changed",
141
- "de": "Wir aktualisieren jetzt Objekte, wenn sich der Typ geändert hat",
142
- "ru": "теперь мы обновляем объекты, если тип изменился",
143
- "pt": "agora atualizamos objetos se o tipo mudou",
144
- "nl": "we werken nu objecten bij als het type is gewijzigd",
145
- "fr": "nous mettons maintenant à jour les objets si le type a changé",
146
- "it": "ora aggiorniamo gli oggetti se il tipo è cambiato",
147
- "es": "ahora actualizamos los objetos si el tipo ha cambiado",
148
- "pl": "teraz aktualizujemy obiekty, jeśli zmienił się typ",
149
- "zh-cn": "现在,如果类型已更改,我们将更新对象"
150
- },
151
- "3.5.10": {
152
- "en": "we removed the common.max from lightlevel, was 17,000 but can be much higher\nwe added common.type for states where the attribute was missing",
153
- "de": "wir haben die common.max von lightlevel entfernt, war 17.000, kann aber viel höher sein\nWir haben common.type für Zustände hinzugefügt, in denen das Attribut fehlte",
154
- "ru": "мы удалили common.max из уровня освещенности, было 17000, но может быть намного выше\nмы добавили common.type для состояний, в которых отсутствовал атрибут",
155
- "pt": "removemos o common.max do lightlevel, era 17.000, mas pode ser muito maior\nadicionamos common.type para estados em que o atributo estava ausente",
156
- "nl": "we hebben de common.max verwijderd van lightlevel, was 17.000 maar kan veel hoger zijn\nwe hebben common.type toegevoegd voor staten waar het attribuut ontbrak",
157
- "fr": "nous avons supprimé le common.max du niveau de lumière, était de 17000 mais peut être beaucoup plus élevé\nnous avons ajouté common.type pour les états où l'attribut était manquant",
158
- "it": "abbiamo rimosso common.max da lightlevel, era 17.000 ma può essere molto più alto\nabbiamo aggiunto common.type per gli stati in cui l'attributo mancava",
159
- "es": "eliminamos el common.max del nivel de luz, era 17,000 pero puede ser mucho más alto\nagregamos common.type para los estados donde faltaba el atributo",
160
- "pl": "usunęliśmy common.max z poziomu lightlevel, który wynosił 17 000, ale może być znacznie wyższy\ndodaliśmy common.type dla stanów, w których brakowało atrybutu",
161
- "zh-cn": "我们从光水平移除了common.max,它是17,000,但可能更高\n我们为缺少属性的州添加了common.type"
162
- },
163
- "3.5.9": {
164
- "en": "start this adapter in TIER 2",
165
- "de": "Starten Sie diesen Adapter in TIER 2",
166
- "ru": "запустить этот адаптер на УРОВНЕ 2",
167
- "pt": "inicie este adaptador em TIER 2",
168
- "nl": "start deze adapter in TIER 2",
169
- "fr": "démarrer cet adaptateur au TIER 2",
170
- "it": "avviare questo adattatore in TIER 2",
171
- "es": "inicie este adaptador en TIER 2",
172
- "pl": "uruchom ten adapter w TIER 2",
173
- "zh-cn": "在TIER 2中启动此适配器"
174
- },
175
- "3.5.8": {
176
- "en": "minor changes",
177
- "de": "kleinere Änderungen",
178
- "ru": "небольшие изменения",
179
- "pt": "pequenas mudanças",
180
- "nl": "kleine veranderingen",
181
- "fr": "des changements mineurs",
182
- "it": "modifiche minori",
183
- "es": "cambios menores",
184
- "pl": "drobne zmiany",
185
- "zh-cn": "细微的变化"
186
- },
187
- "3.5.5": {
188
- "en": "fixed a bug where an error on user creation crashed the adapter instance",
189
- "de": "Es wurde ein Fehler behoben, durch den ein Fehler bei der Benutzererstellung die Adapterinstanz zum Absturz brachte",
190
- "ru": "исправлена ошибка, из-за которой ошибка при создании пользователя приводила к сбою экземпляра адаптера",
191
- "pt": "corrigiu um bug em que um erro na criação do usuário travava a instância do adaptador",
192
- "nl": "een bug verholpen waarbij een fout bij het maken van de gebruiker de adapterinstantie crashte",
193
- "fr": "correction d'un bug où une erreur lors de la création de l'utilisateur bloquait l'instance d'adaptateur",
194
- "it": "risolto un bug in cui un errore nella creazione dell'utente causava il crash dell'istanza dell'adattatore",
195
- "es": "Se corrigió un error en el que un error en la creación del usuario bloqueaba la instancia del adaptador.",
196
- "pl": "naprawiono błąd polegający na tym, że błąd podczas tworzenia użytkownika powodował awarię instancji adaptera",
197
- "zh-cn": "修复了用户创建错误使适配器实例崩溃的错误"
198
- },
199
- "3.5.4": {
200
- "en": "fixing several edge case crashes",
201
- "de": "Beheben mehrerer Abstürze des Randgehäuses",
202
- "ru": "исправление нескольких сбоев краевого корпуса",
203
- "pt": "consertando várias falhas de casos extremos",
204
- "nl": "het oplossen van verschillende crashes aan de rand",
205
- "fr": "correction de plusieurs plantages de bordures",
206
- "it": "risolvendo diversi crash del case edge",
207
- "es": "arreglando varios choques de la caja del borde",
208
- "pl": "naprawianie kilku awarii krawędzi",
209
- "zh-cn": "修复多个边缘案例崩溃"
210
- },
211
- "3.5.2": {
212
- "en": "fix crashes if wrong data type or invalid value passed for ct and hue, now logging an error\nfix crashes if rgb where outside allowed range or wrong type\nfix potential crashes on bridge discovery, due to unnecessary stringify/parse logic\nfix graphical issue with the label of bridge user when newly created, due to missing call of updateTextFields",
213
- "de": "Behebung von Abstürzen, wenn ein falscher Datentyp oder ein ungültiger Wert für ct und hue übergeben wurde und jetzt ein Fehler protokolliert wird\nBehebung von Abstürzen, wenn RGB außerhalb des zulässigen Bereichs oder des falschen Typs liegt\nBeheben Sie mögliche Abstürze bei der Bridge-Erkennung aufgrund unnötiger Stringify / Parse-Logik\nBehebung eines Grafikproblems mit der Bezeichnung des Bridge-Benutzers bei der Neuerstellung aufgrund eines fehlenden Aufrufs von updateTextFields",
214
- "ru": "исправить сбои, если для ct и hue передан неправильный тип данных или недопустимое значение, теперь регистрируется ошибка\nисправить сбои, если rgb находится за пределами допустимого диапазона или неправильного типа\nисправить потенциальные сбои при обнаружении моста из-за ненужной логики преобразования / синтаксического анализа\nисправить графическую проблему с меткой пользователя моста при создании нового из-за отсутствия вызова updateTextFields",
215
- "pt": "consertar falhas se o tipo de dado errado ou valor inválido for passado para ct e hue, agora registrando um erro\nconsertar falhas se rgb estiver fora do intervalo permitido ou tipo errado\nconsertar possíveis falhas na descoberta da ponte, devido à lógica de stringify / parse desnecessária\ncorrigir o problema gráfico com o rótulo do usuário ponte quando recém-criado, devido à chamada ausente de updateTextFields",
216
- "nl": "fix crasht als er een verkeerd gegevenstype of een ongeldige waarde wordt doorgegeven voor ct en hue, nu een fout wordt geregistreerd\nrepareer crashes als rgb buiten het toegestane bereik valt of het verkeerde type is\nmogelijke crashes bij bridge-detectie oplossen als gevolg van onnodige stringify / parse-logica\nlos grafisch probleem op met het label van de bridge-gebruiker wanneer deze nieuw werd gemaakt, vanwege een ontbrekende aanroep van updateTextFields",
217
- "fr": "correction des plantages en cas de type de données incorrect ou de valeur non valide transmise pour ct et hue, consignant maintenant une erreur\ncorrection des plantages si rgb était hors de la plage autorisée ou type incorrect\ncorrection des plantages potentiels lors de la découverte de ponts, en raison d'une logique stringify / parse inutile\ncorrection d'un problème graphique avec l'étiquette de l'utilisateur du pont lors de sa nouvelle création, en raison d'un appel manquant de updateTextFields",
218
- "it": "risolve gli arresti anomali se viene passato un tipo di dati errato o un valore non valido per ct e hue, registrando un errore\nrisolve arresti anomali se rgb era al di fuori dell'intervallo consentito o di tipo sbagliato\nrisolvere potenziali arresti anomali durante la scoperta del bridge, a causa di una logica stringify / parse non necessaria\nrisolve il problema grafico con l'etichetta dell'utente bridge quando viene creata di recente, a causa della chiamata mancante di updateTextFields",
219
- "es": "corrige fallas si se pasa un tipo de datos incorrecto o un valor no válido para ct y hue, ahora registrando un error\narregla los bloqueos si rgb fuera del rango permitido o del tipo incorrecto\ncorregir posibles bloqueos en el descubrimiento de puentes, debido a una lógica de secuenciación / análisis innecesaria\nSolucione el problema gráfico con la etiqueta del usuario del puente cuando se creó nuevamente, debido a la falta de llamada de updateTextFields",
220
- "pl": "naprawa awarie, jeśli nieprawidłowy typ danych lub nieprawidłowa wartość przekazana dla ct i hue, teraz rejestruje błąd\nnaprawić awarie, jeśli rgb jest poza dozwolonym zakresem lub niewłaściwy typ\nnaprawia potencjalne awarie przy wykrywaniu mostów z powodu niepotrzebnej logiki stringify / parse\nnaprawa graficznego problemu z etykietą użytkownika mostka po jego utworzeniu z powodu braku wywołania updateTextFields",
221
- "zh-cn": "如果为ct和hue传递了错误的数据类型或无效值,则修复崩溃,现在记录错误\n如果rgb超出允许范围或错误类型,则修复崩溃\n修复由于不必要的字符串化/解析逻辑而可能导致网桥发现崩溃的问题\n由于缺少对updateTextFields的调用,修复了新创建时桥用户标签的图形问题"
222
- },
223
- "3.5.1": {
224
- "en": "avoid crash cases on invalid xy, setting state for non-existing device and on failing user creation",
225
- "de": "Vermeiden Sie Absturzfälle auf ungültigem xy, setzen Sie den Status für nicht vorhandenes Gerät und schlagen Sie die Benutzererstellung fehl",
226
- "ru": "Избегайте сбоев при недопустимом xy, настройке состояния для несуществующего устройства и при сбое создания пользователя",
227
- "pt": "evite casos de falha em xy inválido, configuração de estado para dispositivo não existente e falha na criação do usuário",
228
- "nl": "vermijd crashgevallen op ongeldige xy, instellingstoestand voor niet-bestaand apparaat en bij mislukte aanmaak van gebruikers",
229
- "fr": "éviter les cas de plantage sur un xy non valide, définir l'état d'un périphérique non existant et en cas d'échec de la création d'utilisateur",
230
- "it": "evitare casi di arresto anomalo su xy non valido, impostazione dello stato per dispositivo inesistente e mancata creazione dell'utente",
231
- "es": "evitar casos de bloqueo en xy no válido, establecer el estado para el dispositivo no existente y en la creación de un usuario fallido",
232
- "pl": "unikaj przypadków awarii na nieprawidłowym xy, ustawianiu stanu dla nieistniejącego urządzenia i niepowodzeniu tworzenia użytkownika",
233
- "zh-cn": "避免在无效的xy,不存在的设备的设置状态以及用户创建失败时发生崩溃的情况"
234
- },
235
- "3.5.0": {
236
- "en": "use official js-controller regex for replacing forbidden chars (fixes #165)\nuse release-script\nsentry added",
237
- "de": "Verwenden Sie den offiziellen regulären Ausdruck für js-controller, um verbotene Zeichen zu ersetzen (Fixes # 165).\nbenutze das Release-Skript\nWachposten hinzugefügt",
238
- "ru": "использовать официальное регулярное выражение js-controller для замены запрещенных символов (исправления # 165)\nиспользовать релиз-скрипт\nдобавлен часовой",
239
- "pt": "use o regex oficial do js-controller para substituir os caracteres proibidos (correções # 165)\nusar script de lançamento\nsentinela adicionada",
240
- "nl": "gebruik officiële js-controller regex voor het vervangen van verboden tekens (fixes # 165)\ngebruik release-script\nsentry toegevoegd",
241
- "fr": "utiliser l'expression régulière js-controller pour remplacer les caractères interdits (correctifs # 165)\nutiliser release-script\nsentinelle ajoutée",
242
- "it": "usa regex js-controller ufficiale per sostituire i caratteri proibiti (correzioni # 165)\nusa lo script di rilascio\nsentinella aggiunta",
243
- "es": "use la expresión regular js-controller oficial para reemplazar caracteres prohibidos (correcciones # 165)\nusar script de lanzamiento\ncentinela agregado",
244
- "pl": "użyj oficjalnego wyrażenia regularnego js-controller do zamiany zabronionych znaków (poprawki # 165)\nużyj skryptu wydania\ndodany wartownik",
245
- "zh-cn": "使用官方js控制器正则表达式替换禁止的字符(修复#165)\n使用发布脚本\n哨兵已添加"
246
- }
247
- },
248
- "titleLang": {
249
- "en": "Philips Hue Bridge",
250
- "de": "Philips Hue-Bridge",
251
- "ru": "Philips Hue Bridge",
252
- "pt": "Philips Hue Bridge",
253
- "nl": "Philips Hue Bridge",
254
- "fr": "Philips Hue Bridge",
255
- "it": "Philips Hue Bridge",
256
- "es": "Philips Hue Bridge",
257
- "pl": "Philips Hue Bridge",
258
- "zh-cn": "飞利浦 Hue 桥"
259
- },
260
- "desc": {
261
- "en": "Connects Philips Hue LED Bulbs, Friends of Hue LED Lamps and Stripes and other SmartLink capable Devices (LivingWhites, some LivingColors) via Philips Hue Bridges with ioBroker",
262
- "de": "Verbinden Sie Philips Hue LED Birnen, Friends of Hue LED Lampen und Streifen und andere SmartLink fähige Geräte (LivingWhites, einige LivingColors) über Philips Hue Bridges mit ioBroker",
263
- "ru": "Соединяет светодиодные лампы Philips Hue, светодиодные лампы и ленты Friends of Hue и другие устройства, поддерживающие SmartLink (LivingWhites, некоторые LivingColors) через Philips Hue Bridges",
264
- "pt": "Conecta Lâmpadas LED Philips Hue, Lâmpadas LED e Listras Friends of Hue e outros Dispositivos com capacidade para SmartLink (LivingWhites, alguns LivingColors) via Philips Hue Bridges com ioBroker",
265
- "nl": "Verbindt Philips Hue LED-lampen, Friends of Hue LED-lampen en -stroken en andere SmartLink-compatibele apparaten (LivingWhites, sommige LivingColors) via Philips Hue Bridges met ioBroker",
266
- "fr": "Permet de connecter les ampoules LED Philips Hue, les lampes et les bandes LED Friends of Hue et d'autres périphériques compatibles SmartLink (LivingWhites, certains LivingColors) via Philips Hue Bridges avec ioBroker",
267
- "it": "Collega lampadine LED Philips Hue, lampade e strisce LED Friends of Hue e altri dispositivi compatibili SmartLink (LivingWhite, alcuni LivingColors) tramite Philips Hue Bridges con ioBroker",
268
- "es": "Conecta bombillas LED Philips Hue, lámparas y rayas LED Friends of Hue y otros dispositivos compatibles con SmartLink (LivingWhites, algunos LivingColors) a través de Philips Hue Bridges con ioBroker",
269
- "pl": "Łączy żarówki Philips Hue LED, lampy i paski Friends of Hue oraz inne urządzenia z funkcją SmartLink (LivingWhites, niektóre kolory LivingColors) za pośrednictwem Philips Hue Bridges z ioBroker",
270
- "zh-cn": "通过飞利浦 Hue 桥接器与 ioBroker 连接飞利浦 Hue LED 灯泡、Hue LED 灯和条纹之友以及其他支持 SmartLink 的设备(LivingWhites、一些 LivingColors)"
271
- },
272
- "authors": [
273
- "hobbyquaker <hq@ccu.io>",
274
- "Pmant <patrickmo@gmx.de>",
275
- "Bluefox <dogafox@gmail.com>",
276
- "Moritz Heusinger <moritz.heusinger@gmail.com>"
277
- ],
278
- "license": "Apache-2.0",
279
- "platform": "Javascript/Node.js",
280
- "mode": "daemon",
281
- "messagebox": true,
282
- "dependencies": [
283
- {
284
- "js-controller": ">=3.2.0"
285
- }
286
- ],
287
- "plugins": {
288
- "sentry": {
289
- "dsn": "https://032355a1870c46b9a3fb6a879412bd2f@sentry.iobroker.net/42",
290
- "pathWhitelist": [],
291
- "errorBlacklist": [
292
- "SyntaxError"
293
- ]
294
- }
295
- },
296
- "enabled": true,
297
- "compact": true,
298
- "readme": "https://github.com/iobroker-community-adapters/ioBroker.hue/blob/master/README.md",
299
- "loglevel": "info",
300
- "keywords": [
301
- "philips",
302
- "hue",
303
- "led",
304
- "rgb",
305
- "smartlink",
306
- "zigbee"
307
- ],
308
- "materialize": true,
309
- "icon": "hue.jpeg",
310
- "extIcon": "https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.hue/master/admin/hue.jpeg",
311
- "type": "lighting",
312
- "connectionType": "local",
313
- "dataSource": "poll"
2
+ "common": {
3
+ "name": "hue",
4
+ "version": "3.5.28",
5
+ "tier": 2,
6
+ "news": {
7
+ "3.5.28": {
8
+ "en": "another fix for ivnalid ct values (fixes #234)",
9
+ "de": "ein weiterer Fix für ivnalid ct-Werte (Fixes #234)",
10
+ "ru": "еще одно исправление для значений ct ivnalid (исправления # 234)",
11
+ "pt": "outra correção para valores ivnalid ct (correções # 234)",
12
+ "nl": "een andere oplossing voor ivnalid ct-waarden (fixes #234)",
13
+ "fr": "un autre correctif pour les valeurs ivnalid ct (corrections #234)",
14
+ "it": "un'altra correzione per i valori ct ivnalid (correzioni #234)",
15
+ "es": "otra corrección para los valores de ivnalid ct (correcciones # 234)",
16
+ "pl": "kolejna poprawka dla wartości ivnalid ct (poprawki #234)",
17
+ "zh-cn": "ivnalid ct 值的另一个修复(修复 #234)"
18
+ },
19
+ "3.5.27": {
20
+ "en": "we fixed missing object type of some scenes (closes #255)",
21
+ "de": "wir haben den fehlenden Objekttyp einiger Szenen behoben (schließt #255)",
22
+ "ru": "мы исправили отсутствующий тип объекта в некоторых сценах (закрывает # 255)",
23
+ "pt": "corrigimos o tipo de objeto ausente em algumas cenas (fecha # 255)",
24
+ "nl": "we hebben het ontbrekende objecttype van sommige scènes gerepareerd (sluit # 255)",
25
+ "fr": "nous avons corrigé le type d'objet manquant de certaines scènes (ferme #255)",
26
+ "it": "abbiamo corretto il tipo di oggetto mancante di alcune scene (chiude #255)",
27
+ "es": "arreglamos el tipo de objeto faltante de algunas escenas (cierra # 255)",
28
+ "pl": "naprawiliśmy brakujący typ obiektu w niektórych scenach (zamyka #255)",
29
+ "zh-cn": "我们修复了某些场景中缺少的对象类型(关闭 #255)"
30
+ },
31
+ "3.5.26": {
32
+ "en": "fixed an issue with the username set in Hue API (fixes 249)\nfixed translation of search popup (fixes #247)",
33
+ "de": "Ein Problem mit dem in der Hue-API festgelegten Benutzernamen wurde behoben (behebt 249)\nÜbersetzung des Such-Popups korrigiert (Fixes Nr. 247)",
34
+ "ru": "исправлена проблема с именем пользователя, установленным в Hue API (исправления 249)\nисправлен перевод всплывающего окна поиска (исправления # 247)",
35
+ "pt": "corrigiu um problema com o nome de usuário definido na API Hue (correções 249)\ntradução corrigida do pop-up de pesquisa (correções # 247)",
36
+ "nl": "een probleem opgelost met de gebruikersnaam ingesteld in Hue API (fixes 249)\nvaste vertaling van zoekpop-up (fixes #247)",
37
+ "fr": "correction d'un problème avec le nom d'utilisateur défini dans l'API Hue (corrections 249)\ntraduction fixe de la fenêtre contextuelle de recherche (corrections #247)",
38
+ "it": "risolto un problema con il nome utente impostato nell'API Hue (correzioni 249)\ncorretta traduzione del popup di ricerca (correzioni #247)",
39
+ "es": "solucionó un problema con el nombre de usuario establecido en la API de Hue (corrige 249)\ntraducción fija de la ventana emergente de búsqueda (arreglos # 247)",
40
+ "pl": "naprawiono problem z nazwą użytkownika ustawioną w Hue API (poprawki 249)\npoprawione tłumaczenie wyskakującego okienka wyszukiwania (poprawki #247)",
41
+ "zh-cn": "修复了 Hue API 中设置的用户名问题(修复 249)\n搜索弹出窗口的固定翻译(修复#247)"
42
+ },
43
+ "3.5.25": {
44
+ "en": "if we cannot determine correct ct value, we won't set it (fixes #234)",
45
+ "de": "Wenn wir den korrekten ct-Wert nicht bestimmen können, werden wir ihn nicht festlegen (fixes #234)",
46
+ "ru": "если мы не можем определить правильное значение ct, мы не будем его устанавливать (исправления # 234)",
47
+ "pt": "se não pudermos determinar o valor correto de ct, não o definiremos (corrige # 234)",
48
+ "nl": "als we de juiste ct-waarde niet kunnen bepalen, stellen we deze niet in (fixes #234)",
49
+ "fr": "si nous ne pouvons pas déterminer la valeur ct correcte, nous ne la définirons pas (corrections #234)",
50
+ "it": "se non riusciamo a determinare il valore ct corretto, non lo imposteremo (correzioni #234)",
51
+ "es": "si no podemos determinar el valor de ct correcto, no lo configuraremos (arreglos # 234)",
52
+ "pl": "jeśli nie możemy określić prawidłowej wartości ct, nie ustawimy jej (poprawki #234)",
53
+ "zh-cn": "如果我们无法确定正确的 ct 值,我们将不会设置它(修复 #234)"
54
+ },
55
+ "3.5.24": {
56
+ "en": "if we cannot determine correct ct value, we won't set it (fixes #234)",
57
+ "de": "Wenn wir den korrekten ct-Wert nicht bestimmen können, werden wir ihn nicht festlegen (fixes #234)",
58
+ "ru": "если мы не можем определить правильное значение ct, мы не будем его устанавливать (исправления # 234)",
59
+ "pt": "se não pudermos determinar o valor correto de ct, não o definiremos (corrige # 234)",
60
+ "nl": "als we de juiste ct-waarde niet kunnen bepalen, stellen we deze niet in (fixes #234)",
61
+ "fr": "si nous ne pouvons pas déterminer la valeur ct correcte, nous ne la définirons pas (corrections #234)",
62
+ "it": "se non riusciamo a determinare il valore ct corretto, non lo imposteremo (correzioni #234)",
63
+ "es": "si no podemos determinar el valor de ct correcto, no lo configuraremos (arreglos # 234)",
64
+ "pl": "jeśli nie możemy określić prawidłowej wartości ct, nie ustawimy jej (poprawki #234)",
65
+ "zh-cn": "如果我们无法确定正确的 ct 值,我们将不会设置它(修复 #234)"
66
+ },
67
+ "3.5.23": {
68
+ "en": "fix for third party devices delivering wrong ct values",
69
+ "de": "Fix für Geräte von Drittanbietern, die falsche ct-Werte liefern",
70
+ "ru": "исправить для сторонних устройств, доставляющих неправильные значения ct",
71
+ "pt": "correção para dispositivos de terceiros que fornecem valores CT incorretos",
72
+ "nl": "oplossing voor apparaten van derden die verkeerde ct-waarden leveren",
73
+ "fr": "correctif pour les appareils tiers fournissant des valeurs de ct erronées",
74
+ "it": "correzione per dispositivi di terze parti che forniscono valori ct errati",
75
+ "es": "corrección para dispositivos de terceros que entregan valores de CT incorrectos",
76
+ "pl": "poprawka dla urządzeń firm trzecich dostarczających błędne wartości ct",
77
+ "zh-cn": "修复提供错误 ct 值的第三方设备"
78
+ },
79
+ "3.5.22": {
80
+ "en": "fixed several sentry issues (closes #217, closes #218, closes #219, closes #220)",
81
+ "de": "Mehrere Wachenprobleme behoben (schließt #217, schließt #218, schließt #219, schließt #220)",
82
+ "ru": "исправлено несколько проблем с часовой (закрывает # 217, закрывает # 218, закрывает # 219, закрывает # 220)",
83
+ "pt": "corrigiu vários problemas de sentinela (fecha # 217, fecha # 218, fecha # 219, fecha # 220)",
84
+ "nl": "verschillende schildwachtproblemen opgelost (sluit #217, sluit #218, sluit #219, sluit #220)",
85
+ "fr": "correction de plusieurs problèmes de sentinelle (ferme #217, ferme #218, ferme #219, ferme #220)",
86
+ "it": "risolti diversi problemi di sentinella (chiude #217, chiude #218, chiude #219, chiude #220)",
87
+ "es": "Se corrigieron varios problemas de centinela (cierra # 217, cierra # 218, cierra # 219, cierra # 220)",
88
+ "pl": "naprawiono kilka błędów wartowników (zamykanie #217, zamykanie #218, zamykanie #219, zamykanie #220)",
89
+ "zh-cn": "修复了几个哨兵问题(关闭#217,关闭#218,关闭#219,关闭#220)"
90
+ }
314
91
  },
315
- "native": {
316
- "bridge": "",
317
- "port": 443,
318
- "user": "",
319
- "polling": true,
320
- "pollingInterval": 10,
321
- "ignoreGroups": false,
322
- "ignoreScenes": false,
323
- "useLegacyStructure": false,
324
- "nativeTurnOffBehaviour": false,
325
- "ssl": true,
326
- "syncSoftwareSensors": false
92
+ "titleLang": {
93
+ "en": "Philips Hue Bridge",
94
+ "de": "Philips Hue-Bridge",
95
+ "ru": "Philips Hue Bridge",
96
+ "pt": "Philips Hue Bridge",
97
+ "nl": "Philips Hue Bridge",
98
+ "fr": "Philips Hue Bridge",
99
+ "it": "Philips Hue Bridge",
100
+ "es": "Philips Hue Bridge",
101
+ "pl": "Philips Hue Bridge",
102
+ "zh-cn": "飞利浦 Hue 桥"
327
103
  },
328
- "protectedNative": [
329
- "user"
104
+ "desc": {
105
+ "en": "Connects Philips Hue LED Bulbs, Friends of Hue LED Lamps and Stripes and other SmartLink capable Devices (LivingWhites, some LivingColors) via Philips Hue Bridges with ioBroker",
106
+ "de": "Verbinden Sie Philips Hue LED Birnen, Friends of Hue LED Lampen und Streifen und andere SmartLink fähige Geräte (LivingWhites, einige LivingColors) über Philips Hue Bridges mit ioBroker",
107
+ "ru": "Соединяет светодиодные лампы Philips Hue, светодиодные лампы и ленты Friends of Hue и другие устройства, поддерживающие SmartLink (LivingWhites, некоторые LivingColors) через Philips Hue Bridges",
108
+ "pt": "Conecta Lâmpadas LED Philips Hue, Lâmpadas LED e Listras Friends of Hue e outros Dispositivos com capacidade para SmartLink (LivingWhites, alguns LivingColors) via Philips Hue Bridges com ioBroker",
109
+ "nl": "Verbindt Philips Hue LED-lampen, Friends of Hue LED-lampen en -stroken en andere SmartLink-compatibele apparaten (LivingWhites, sommige LivingColors) via Philips Hue Bridges met ioBroker",
110
+ "fr": "Permet de connecter les ampoules LED Philips Hue, les lampes et les bandes LED Friends of Hue et d'autres périphériques compatibles SmartLink (LivingWhites, certains LivingColors) via Philips Hue Bridges avec ioBroker",
111
+ "it": "Collega lampadine LED Philips Hue, lampade e strisce LED Friends of Hue e altri dispositivi compatibili SmartLink (LivingWhite, alcuni LivingColors) tramite Philips Hue Bridges con ioBroker",
112
+ "es": "Conecta bombillas LED Philips Hue, lámparas y rayas LED Friends of Hue y otros dispositivos compatibles con SmartLink (LivingWhites, algunos LivingColors) a través de Philips Hue Bridges con ioBroker",
113
+ "pl": "Łączy żarówki Philips Hue LED, lampy i paski Friends of Hue oraz inne urządzenia z funkcją SmartLink (LivingWhites, niektóre kolory LivingColors) za pośrednictwem Philips Hue Bridges z ioBroker",
114
+ "zh-cn": "通过飞利浦 Hue 桥接器与 ioBroker 连接飞利浦 Hue LED 灯泡、Hue LED 灯和条纹之友以及其他支持 SmartLink 的设备(LivingWhites、一些 LivingColors)"
115
+ },
116
+ "authors": [
117
+ "hobbyquaker <hq@ccu.io>",
118
+ "Pmant <patrickmo@gmx.de>",
119
+ "Bluefox <dogafox@gmail.com>",
120
+ "Moritz Heusinger <moritz.heusinger@gmail.com>"
121
+ ],
122
+ "license": "Apache-2.0",
123
+ "platform": "Javascript/Node.js",
124
+ "mode": "daemon",
125
+ "messagebox": true,
126
+ "dependencies": [
127
+ {
128
+ "js-controller": ">=3.2.0"
129
+ }
130
+ ],
131
+ "plugins": {
132
+ "sentry": {
133
+ "dsn": "https://032355a1870c46b9a3fb6a879412bd2f@sentry.iobroker.net/42",
134
+ "pathWhitelist": [],
135
+ "errorBlacklist": [
136
+ "SyntaxError"
137
+ ]
138
+ }
139
+ },
140
+ "enabled": true,
141
+ "compact": true,
142
+ "readme": "https://github.com/iobroker-community-adapters/ioBroker.hue/blob/master/README.md",
143
+ "loglevel": "info",
144
+ "keywords": [
145
+ "philips",
146
+ "hue",
147
+ "led",
148
+ "rgb",
149
+ "smartlink",
150
+ "zigbee"
330
151
  ],
331
- "objects": [
332
- {
333
- "_id": "enum.functions.color",
334
- "common": {
335
- "name": "Color",
336
- "members": []
337
- },
338
- "type": "enum",
339
- "native": {}
340
- }
341
- ]
342
- }
152
+ "materialize": true,
153
+ "icon": "hue.jpeg",
154
+ "extIcon": "https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.hue/master/admin/hue.jpeg",
155
+ "type": "lighting",
156
+ "connectionType": "local",
157
+ "dataSource": "poll"
158
+ },
159
+ "native": {
160
+ "bridge": "",
161
+ "port": 443,
162
+ "user": "",
163
+ "polling": true,
164
+ "pollingInterval": 10,
165
+ "ignoreGroups": false,
166
+ "ignoreScenes": false,
167
+ "useLegacyStructure": false,
168
+ "nativeTurnOffBehaviour": false,
169
+ "ssl": true,
170
+ "syncSoftwareSensors": false
171
+ },
172
+ "protectedNative": [
173
+ "user"
174
+ ],
175
+ "objects": [
176
+ {
177
+ "_id": "enum.functions.color",
178
+ "common": {
179
+ "name": "Color",
180
+ "members": []
181
+ },
182
+ "type": "enum",
183
+ "native": {}
184
+ }
185
+ ]
186
+ }
package/main.js CHANGED
@@ -684,11 +684,10 @@ async function browse(timeout) {
684
684
  * @returns {Promise<object>}
685
685
  */
686
686
  async function createUser(ip) {
687
- const newUserName = null;
688
- const userDescription = 'ioBroker.hue';
687
+ const deviceName = 'ioBroker.hue';
689
688
  try {
690
689
  const api = adapter.config.ssl ? await v3.api.createLocal(ip, adapter.config.port).connect() : await v3.api.createInsecureLocal(ip, adapter.config.port).connect();
691
- const newUser = await api.users.createUser(ip, newUserName, userDescription);
690
+ const newUser = await api.users.createUser(ip, deviceName);
692
691
  adapter.log.info(`created new User: ${newUser.username}`);
693
692
  return {error: 0, message: newUser.username};
694
693
  } catch (e) {
@@ -1180,6 +1179,10 @@ async function connect() {
1180
1179
  lobj.common.min = Math.round(1e6 / ctObj.max); // this way, because with higher Kelvin -> smaller Mired
1181
1180
  lobj.common.max = Math.round(1e6 / ctObj.min);
1182
1181
  value = Math.round(1e6 / value);
1182
+ if (!isFinite(value)) { // issue #234
1183
+ // invalid value we cannot determine the meant value, fallback to max
1184
+ value = lobj.common.max;
1185
+ }
1183
1186
  break;
1184
1187
  }
1185
1188
  case 'alert':
@@ -1390,6 +1393,10 @@ async function connect() {
1390
1393
  gobj.common.max = 6536; // 153
1391
1394
  // mired to kelvin
1392
1395
  group.action[action] = Math.round(1e6 / group.action[action]);
1396
+ if (!isFinite(group.action[action])) { // issue #234
1397
+ // invalid value we cannot determine the meant value, fallback to max
1398
+ group.action[action] = gobj.common.max;
1399
+ }
1393
1400
  break;
1394
1401
  case 'alert':
1395
1402
  gobj.common.type = 'string';
@@ -1545,9 +1552,11 @@ async function connect() {
1545
1552
  _id: `${adapter.namespace}.${groupNames[scene.group]}.scene_${scene.name.replace(/[\s.]/g, '_').replace(adapter.FORBIDDEN_CHARS, '').toLowerCase()}`,
1546
1553
  type: 'state',
1547
1554
  common: {
1548
- type: 'boolean',
1549
1555
  name: `Scene ${scene.name}`,
1550
- role: 'button'
1556
+ role: 'button',
1557
+ type: 'boolean',
1558
+ read: false,
1559
+ write: true
1551
1560
  },
1552
1561
  native: {
1553
1562
  id: sceneId,
@@ -1574,7 +1583,10 @@ async function connect() {
1574
1583
  type: 'state',
1575
1584
  common: {
1576
1585
  name: `Scene ${scene.name}`,
1577
- role: 'button'
1586
+ role: 'button',
1587
+ type: 'boolean',
1588
+ read: false,
1589
+ write: true
1578
1590
  },
1579
1591
  native: {
1580
1592
  id: sceneId
@@ -1807,6 +1819,13 @@ async function poll() {
1807
1819
  if (states.ct !== undefined) {
1808
1820
  // convert color temperature from mired to kelvin
1809
1821
  states.ct = Math.round(1e6 / states.ct);
1822
+
1823
+ // some devices send 0 -> infinity (issue #234)
1824
+ if (!isFinite(states.ct)) {
1825
+ // invalid value we cannot determine the meant value
1826
+ adapter.log.debug(`Cannot determine ct value of "${light.name}", received value "${states.ct}"`);
1827
+ delete states.ct;
1828
+ }
1810
1829
  }
1811
1830
  for (const stateB of Object.keys(states)) {
1812
1831
  values.push({
@@ -1873,9 +1892,17 @@ async function poll() {
1873
1892
  if (states.hue !== undefined) {
1874
1893
  states.hue = Math.round(states.hue / 65535 * 360);
1875
1894
  }
1895
+
1876
1896
  if (states.ct !== undefined) {
1877
1897
  // convert color temperature from mired to kelvin
1878
1898
  states.ct = Math.round(1e6 / states.ct);
1899
+
1900
+ // some devices send 0 -> infinity (issue #234)
1901
+ if (!isFinite(states.ct)) {
1902
+ // invalid value we cannot determine the meant value
1903
+ adapter.log.debug(`Cannot determine ct value of "${groupName}", received value "${states.ct}"`);
1904
+ delete states.ct;
1905
+ }
1879
1906
  }
1880
1907
 
1881
1908
  // Next two are entertainment states
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.hue",
3
- "version": "3.5.23",
3
+ "version": "3.5.28",
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": [
@@ -32,20 +32,21 @@
32
32
  "node-hue-api": "^4.0.10"
33
33
  },
34
34
  "devDependencies": {
35
- "@alcalzone/release-script": "^2.2.1",
36
- "@iobroker/testing": "^2.4.4",
37
- "axios": "^0.21.1",
35
+ "@alcalzone/release-script": "^3.4.1",
36
+ "@alcalzone/release-script-plugin-iobroker": "^3.4.1",
37
+ "@iobroker/testing": "^2.5.2",
38
+ "axios": "^0.24.0",
38
39
  "chai": "^4.3.4",
39
- "eslint": "^7.32.0",
40
+ "eslint": "^8.1.0",
40
41
  "gulp": "^4.0.2",
41
- "mocha": "^9.1.0"
42
+ "mocha": "^9.1.3"
42
43
  },
43
44
  "scripts": {
44
45
  "test:unit": "mocha test/unitAdapter --exit",
45
46
  "test:package": "mocha test/packageFiles --exit",
46
47
  "test:integration": "mocha test/integrationAdapter --exit",
47
48
  "test": "mocha --exit",
48
- "release": "release-script"
49
+ "release": "release-script -p iobroker"
49
50
  },
50
51
  "bugs": {
51
52
  "url": "https://github.com/iobroker-community-adapters/ioBroker.hue/issues"