iobroker.tr-064 4.2.18 → 4.3.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.
@@ -0,0 +1,116 @@
1
+ # Older changes
2
+ ## 4.2.14 (2021-07-21)
3
+ * (Apollon77) Further optimizations for js-controller 3.3
4
+
5
+ ## 4.2.13 (2021-07-12)
6
+ * (Apollon77) Optimize for js-controller 3.3 and prevent warnings (you pot. need to delete datapoints if you still see errors, they will be recreated)
7
+
8
+ ## 4.2.12 (2021-04-16)
9
+ * (Apollon77) prevent html template for call lists to be overwritten by default one
10
+ * (Apollon77) fix crash case (Sentry IOBROKER-TR-064-2M)
11
+
12
+ ## 4.2.11 (2021-03-12)
13
+ * (Apollon77) fix id-reset detection for single calls
14
+
15
+ ## 4.2.10 (2021-03-11)
16
+ * (Apollon77) better handle caller id resets by reboots/FW updates to also update list specific counter and log when this happened
17
+
18
+ ## 4.2.9 (2021-03-10)
19
+ * (Apollon77) try to better handle calllist resets on FW updates
20
+ * (Apollon77) Make sure jsonDeviceList do not get deleted on start
21
+ * (Apollon77) Better handle not initialized calllist templates
22
+
23
+ ## 4.2.8 (2021-03-09)
24
+ * (Apollon77) Optimize customized HTML templates if state is empty
25
+
26
+ ## 4.2.7 (2021-03-08)
27
+ * (Apollon77) Allow customized HTML templates again
28
+
29
+ ## 4.2.6 (2021-02-18)
30
+ * (Apollon77) Fix crash case (IOBROKER-TR-064-20)
31
+ * (Apollon77) Get calllists working again
32
+
33
+ ## 4.2.4 (2021-02-02)
34
+ * (Apollon77) Prevent crash case (Sentry IOBROKER-TR-064-1T)
35
+
36
+ ## 4.2.3 (2021-01-16)
37
+ * (Apollon77) Crash case prevented (Sentry IOBROKER-TR-064-1N)
38
+
39
+ ## 4.2.2 (2020-12-25)
40
+ * (Apollon77) Crash case prevented (Sentry IOBROKER-TR-064-1K)
41
+
42
+ ## 4.2.1 (2020-11-13)
43
+ * (Apollon77) try to fix pot. not working disabling commands
44
+
45
+ ## 4.2.0 (2020-11-09)
46
+ * (Apollon77) Crash case prevented (Sentry IOBROKER-TR-064-15, IOBROKER-TR-064-16)
47
+ * (Apollon77) Try to solve error 500 problem with offline devices
48
+ * (SliX185) Add IPv6 states
49
+ * (foxriver76) optimizations
50
+ * (Apollon77) Fix initialization if ip/host
51
+
52
+ ## 4.1.0 (2020-09-17)
53
+ * (Apollon77) Fix crash case (Sentry IOBROKER-TR-064-14)
54
+ * (bazidibavaria) added tablesort to device search
55
+ * (bazidibavaria) added Fritzbox link to admin
56
+
57
+ ## 4.0.13 (2020-08-17)
58
+ * (Apollon77) Crash prevented (Sentry IOBROKER-TR-064-10)
59
+
60
+ ## 4.0.12 (2020-08-06)
61
+ * (Apollon77) Crash prevented (Sentry IOBROKER-TR-064-Y)
62
+
63
+ ## 4.0.11 (2020-07-26)
64
+ * (Apollon77) Crash prevented (Sentry IOBROKER-TR-064-W)
65
+
66
+ ## 4.0.9 (2020-07-01)
67
+ * (Apollon77) handle cases correctly when no hosts are existing on device (Sentry IOBROKER-TR-064-R)
68
+
69
+ ## 4.0.8 (2020-06-20)
70
+ * (Apollon77) Make sure states are only subscribed if initialization is done (Sentry IOBROKER-TR-064-J)
71
+
72
+ ## 4.0.7 (2020-06-09)
73
+ * (Apollon77) Fix Admin UI to allow setting poll Interval correctly again
74
+
75
+ ## 4.0.4 (2020-06-05)
76
+ * (Apollon77) Make sure adapter do not crash of no calls were returned (Sentry IOBROKER-TR-064-D)
77
+ * (Apollon77) Make sure adapter do not crash when invalid parameter are provided (Sentry IOBROKER-TR-064-B)
78
+ * (Apollon77) https is not supported right now (Sentry IOBROKER-TR-064-E)
79
+
80
+ ## 4.0.3 (2020-05-11)
81
+ * (Apollon77) Make sure adapter do not crash of no calls were returned (Sentry IOBROKER-TR-064-7)
82
+ * (Apollon77) Make sure adapter do not crash when providing a non string to "ring" state (Sentry IOBROKER-TR-064-8)
83
+
84
+ ## 4.0.1 (2020-04-23)
85
+ * (Apollon77) handle case where no Phone deflections are available (Sentry IOBROKER-TR-064-1/2)
86
+
87
+ ## 4.0.0 (2020-04-12)
88
+ * (Apollon77) update dependencies, use auto decrypt features with js-controller 3.0
89
+ * (foxriver76) make callmonitor compatible with js-controller 3.0
90
+
91
+ ## 3.1.4 (2020-01-26)
92
+ * (Apollon77) fix error and check some other code check comments
93
+ * (Apollon77) Add proper meta data for buttons
94
+
95
+ ## 3.1.1 (2020-01-25)
96
+ * (bluefox) Configuration dialog was improved
97
+ * (bluefox) Soef library was removed
98
+
99
+ ## 3.0.0 (2020-01-24)
100
+ * (Apollon77) Switch Name back to tr064 because ewe got it from npmjs
101
+ * (maeb3) Enhance call handling and fix wrong data for currently active calls
102
+ * (Apollon77) Remove unused state phonebook.ringing
103
+
104
+ ## 2.0.3 (2019-12-17)
105
+ * (Jey Cee) fix delete last device from list
106
+
107
+ ## 2.0.2 (2019-12-16)
108
+ * __requires js-controller v2__
109
+ * (foxriver76) no longer use adapter.objects
110
+ * (Apollon77) several fixes, Call lists working again, Phonebook fixed and many more
111
+
112
+ ## 1.1.0 (2019-11-10)
113
+ * (jey cee) added Admin v3 support
114
+
115
+ ## 1.0.0 (2019-04-01)
116
+ * (ldittmar) first version for the community
package/LICENSE CHANGED
@@ -1,5 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
+ Copyright (c) 2023-2024 ioBroker Community Developers <iobroker-community-adapters@gmx.de>
3
4
  Copyright (c) 2015-2023 soef <soef@gmx.net>
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/README.md CHANGED
@@ -10,8 +10,6 @@
10
10
  [![Downloads](https://img.shields.io/npm/dm/iobroker.tr-064.svg)](https://www.npmjs.com/package/iobroker.tr-064)
11
11
 
12
12
 
13
- ***This adapter requires at least Node 8.x***
14
-
15
13
  **This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
16
14
 
17
15
  ## Info
@@ -135,6 +133,14 @@ To use the call monitor feature it must be first enabled in the AVM Fritz!Box.
135
133
  To enable the call monitor dial ```#96*5*``` and the TCP/IP Port 1012 will be opened. To close the port dial ```#96*4*```.
136
134
 
137
135
  ## Changelog
136
+ <!--
137
+ Placeholder for the next version (at the beginning of the line):
138
+ ### **WORK IN PROGRESS**
139
+ -->
140
+ ### 4.3.0 (2024-04-30)
141
+ * (mcm1957) Adapter requires node.js >= 18 and js-controller >= 5 now
142
+ * (mcm1957) Dependencies have been updated
143
+
138
144
  ### 4.2.18 (2023-01-04)
139
145
  * (Apollon77) Prepare for future js-controller verisons
140
146
 
@@ -150,125 +156,10 @@ To enable the call monitor dial ```#96*5*``` and the TCP/IP Port 1012 will be o
150
156
  ### 4.2.15 (2021-12-08)
151
157
  * (bluefox) fix crash case (Sentry IOBROKER-TR-064-35)
152
158
 
153
- ### 4.2.14 (2021-07-21)
154
- * (Apollon77) Further optimizations for js-controller 3.3
155
-
156
- ### 4.2.13 (2021-07-12)
157
- * (Apollon77) Optimize for js-controller 3.3 and prevent warnings (you pot. need to delete datapoints if you still see errors, they will be recreated)
158
-
159
- ### 4.2.12 (2021-04-16)
160
- * (Apollon77) prevent html template for call lists to be overwritten by default one
161
- * (Apollon77) fix crash case (Sentry IOBROKER-TR-064-2M)
162
-
163
- ### 4.2.11 (2021-03-12)
164
- * (Apollon77) fix id-reset detection for single calls
165
-
166
- ### 4.2.10 (2021-03-11)
167
- * (Apollon77) better handle caller id resets by reboots/FW updates to also update list specific counter and log when this happened
168
-
169
- ### 4.2.9 (2021-03-10)
170
- * (Apollon77) try to better handle calllist resets on FW updates
171
- * (Apollon77) Make sure jsonDeviceList do not get deleted on start
172
- * (Apollon77) Better handle not initialized calllist templates
173
-
174
- ### 4.2.8 (2021-03-09)
175
- * (Apollon77) Optimize customized HTML templates if state is empty
176
-
177
- ### 4.2.7 (2021-03-08)
178
- * (Apollon77) Allow customized HTML templates again
179
-
180
- ### 4.2.6 (2021-02-18)
181
- * (Apollon77) Fix crash case (IOBROKER-TR-064-20)
182
- * (Apollon77) Get calllists working again
183
-
184
- ### 4.2.4 (2021-02-02)
185
- * (Apollon77) Prevent crash case (Sentry IOBROKER-TR-064-1T)
186
-
187
- ### 4.2.3 (2021-01-16)
188
- * (Apollon77) Crash case prevented (Sentry IOBROKER-TR-064-1N)
189
-
190
- ### 4.2.2 (2020-12-25)
191
- * (Apollon77) Crash case prevented (Sentry IOBROKER-TR-064-1K)
192
-
193
- ### 4.2.1 (2020-11-13)
194
- * (Apollon77) try to fix pot. not working disabling commands
195
-
196
- ### 4.2.0 (2020-11-09)
197
- * (Apollon77) Crash case prevented (Sentry IOBROKER-TR-064-15, IOBROKER-TR-064-16)
198
- * (Apollon77) Try to solve error 500 problem with offline devices
199
- * (SliX185) Add IPv6 states
200
- * (foxriver76) optimizations
201
- * (Apollon77) Fix initialization if ip/host
202
-
203
- ### 4.1.0 (2020-09-17)
204
- * (Apollon77) Fix crash case (Sentry IOBROKER-TR-064-14)
205
- * (bazidibavaria) added tablesort to device search
206
- * (bazidibavaria) added Fritzbox link to admin
207
-
208
- ### 4.0.13 (2020-08-17)
209
- * (Apollon77) Crash prevented (Sentry IOBROKER-TR-064-10)
210
-
211
- ### 4.0.12 (2020-08-06)
212
- * (Apollon77) Crash prevented (Sentry IOBROKER-TR-064-Y)
213
-
214
- ### 4.0.11 (2020-07-26)
215
- * (Apollon77) Crash prevented (Sentry IOBROKER-TR-064-W)
216
-
217
- ### 4.0.9 (2020-07-01)
218
- * (Apollon77) handle cases correctly when no hosts are existing on device (Sentry IOBROKER-TR-064-R)
219
-
220
- ### 4.0.8 (2020-06-20)
221
- * (Apollon77) Make sure states are only subscribed if initialization is done (Sentry IOBROKER-TR-064-J)
222
-
223
- ### 4.0.7 (2020-06-09)
224
- * (Apollon77) Fix Admin UI to allow setting poll Interval correctly again
225
-
226
- ### 4.0.4 (2020-06-05)
227
- * (Apollon77) Make sure adapter do not crash of no calls were returned (Sentry IOBROKER-TR-064-D)
228
- * (Apollon77) Make sure adapter do not crash when invalid parameter are provided (Sentry IOBROKER-TR-064-B)
229
- * (Apollon77) https is not supported right now (Sentry IOBROKER-TR-064-E)
230
-
231
- ### 4.0.3 (2020-05-11)
232
- * (Apollon77) Make sure adapter do not crash of no calls were returned (Sentry IOBROKER-TR-064-7)
233
- * (Apollon77) Make sure adapter do not crash when providing a non string to "ring" state (Sentry IOBROKER-TR-064-8)
234
-
235
- ### 4.0.1 (2020-04-23)
236
- * (Apollon77) handle case where no Phone deflections are available (Sentry IOBROKER-TR-064-1/2)
237
-
238
- ### 4.0.0 (2020-04-12)
239
- * (Apollon77) update dependencies, use auto decrypt features with js-controller 3.0
240
- * (foxriver76) make callmonitor compatible with js-controller 3.0
241
-
242
- ### 3.1.4 (2020-01-26)
243
- * (Apollon77) fix error and check some other code check comments
244
- * (Apollon77) Add proper meta data for buttons
245
-
246
- ### 3.1.1 (2020-01-25)
247
- * (bluefox) Configuration dialog was improved
248
- * (bluefox) Soef library was removed
249
-
250
- ### 3.0.0 (2020-01-24)
251
- * (Apollon77) Switch Name back to tr064 because ewe got it from npmjs
252
- * (maeb3) Enhance call handling and fix wrong data for currently active calls
253
- * (Apollon77) Remove unused state phonebook.ringing
254
-
255
- ### 2.0.3 (2019-12-17)
256
- * (Jey Cee) fix delete last device from list
257
-
258
- ### 2.0.2 (2019-12-16)
259
- * __requires js-controller v2__
260
- * (foxriver76) no longer use adapter.objects
261
- * (Apollon77) several fixes, Call lists working again, Phonebook fixed and many more
262
-
263
- ### 1.1.0 (2019-11-10)
264
- * (jey cee) added Admin v3 support
265
-
266
- ### 1.0.0 (2019-04-01)
267
- * (ldittmar) first version for the community
268
-
269
159
  ## License
270
160
  The MIT License (MIT)
271
161
 
162
+ Copyright (c) 2023-2024 ioBroker Community Developers <iobroker-community-adapters@gmx.de>
272
163
  Copyright (c) 2015-2023 soef <soef@gmx.net>, ioBroker-Community-Developers
273
164
 
274
165
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/admin/words.js CHANGED
@@ -14,7 +14,7 @@ systemDictionary = {
14
14
  "Calllists": { "en": "Calllists", "de": "Anruflisten", "ru": "Calllists", "pt": "Listas de chamadas", "nl": "Calllists", "fr": "Listes d'appels", "it": "Calllists", "es": "Calistas", "pl": "Listy połączeń", "uk": "Calllists", "zh-cn": "通话清单"},
15
15
  "Cannot find any device": { "en": "Cannot find new devices", "de": "Kein neues Gerät gefunden", "ru": "Ничего не найдено", "pt": "Não é possível encontrar novos dispositivos", "nl": "Kan geen nieuwe apparaten vinden", "fr": "Impossible de trouver de nouveaux appareils", "it": "Non riesci a trovare nuovi dispositivi", "es": "No puedo encontrar nuevos dispositivos", "pl": "Nie można znaleźć nowych urządzeń", "uk": "Не вдається знайти нові пристрої", "zh-cn": "无法找到新的设备"},
16
16
  "Choose Device": { "en": "Choose Device", "de": "Gerät auswählen", "ru": "Выберите устройство", "pt": "Escolha o dispositivo", "nl": "Kies apparaat", "fr": "Choisissez un appareil", "it": "Scegli dispositivo", "es": "Elegir dispositivo", "pl": "Wybierz urządzenie", "uk": "Виберіть Пристрій", "zh-cn": "选择设备"},
17
- "Close": { "en": "Close", "de": "Schließen", "ru": "Закрыть", "pt": "Fechar", "nl": "Dichtbij", "fr": "Fermer", "it": "Vicino", "es": "Cerca", "pl": "Blisko", "uk": "Закрити", "zh-cn": "关闭"},
17
+ "Close": { "en": "Close", "de": "Schließen", "ru": "Закрыть", "pt": "Fechar", "nl": "Dichtbij", "fr": "Fermer", "it": "Vicino", "es": "Cerca", "pl": "Zamknij", "uk": "Закрити", "zh-cn": "关闭"},
18
18
  "Create Json device list": { "en": "Create JSON device list", "de": "JSON Geräteliste erstellen", "ru": "Создать список устройств JSON", "pt": "Criar lista de dispositivos JSON", "nl": "Maak een JSON-apparatenlijst", "fr": "Créer une liste de périphériques JSON", "it": "Crea un elenco di dispositivi JSON", "es": "Crear lista de dispositivos JSON", "pl": "Utwórz listę urządzeń JSON", "uk": "Створіть список пристроїв JSON", "zh-cn": "创建JSON设备列表"},
19
19
  "Devices": { "en": "Devices", "de": "Geräte", "ru": "Устройства", "pt": "Dispositivos", "nl": "Apparaten", "fr": "Dispositifs", "it": "dispositivi", "es": "Dispositivos", "pl": "Urządzenia", "uk": "Пристрої", "zh-cn": "设备"},
20
20
  "ERROR": { "en": "Error", "de": "Fehler", "ru": "ОШИБКА", "pt": "ERRO", "nl": "FOUT", "fr": "ERREUR", "it": "ERRORE", "es": "ERROR", "pl": "BŁĄD", "uk": "Помилка", "zh-cn": "错误"},
@@ -23,14 +23,14 @@ systemDictionary = {
23
23
  "Generate HTML": { "en": "HTML", "de": "HTML", "ru": "HTML", "pt": "HTML", "nl": "HTML", "fr": "HTML", "it": "HTML", "es": "HTML", "pl": "HTML", "uk": "HTML", "zh-cn": "HTML"},
24
24
  "Generate JSON": { "en": "JSON", "de": "JSON", "ru": "JSON", "pt": "JSON", "nl": "JSON", "fr": "JSON", "it": "JSON", "es": "JSON", "pl": "JSON", "uk": "JSON", "zh-cn": "JSON"},
25
25
  "IP": { "en": "IP", "de": "IP-Adresse", "ru": "IP", "pt": "IP", "nl": "IK P", "fr": "IP", "it": "IP", "es": "IP", "pl": "IP", "uk": "IP", "zh-cn": "IP"},
26
- "IP Address": { "en": "IP Address", "de": "IP Adresse", "ru": "IP адрес", "pt": "Endereço de IP", "nl": "IP adres", "fr": "Adresse IP", "it": "Indirizzo IP", "es": "Dirección IP", "pl": "Adres IP", "uk": "IP-адреса", "zh-cn": "IP地址"},
26
+ "IP Address": { "en": "IP Address", "de": "IP-Adresse", "ru": "IP адрес", "pt": "Endereço de IP", "nl": "IP adres", "fr": "Adresse IP", "it": "Indirizzo IP", "es": "Dirección IP", "pl": "Adres IP", "uk": "IP-адреса", "zh-cn": "IP地址"},
27
27
  "Inbound": { "en": "List of inbound calls", "de": "Liste der eingehenden Anrufe", "ru": "Список для входящих звонков", "pt": "Lista de chamadas de entrada", "nl": "Lijst voor inkomende oproepen", "fr": "Liste des appels entrants", "it": "Elenco per le chiamate in entrata", "es": "Lista para llamadas entrantes", "pl": "Lista połączeń przychodzących", "uk": "Список вхідних дзвінків", "zh-cn": "列入电话"},
28
28
  "MAC": { "en": "MAC", "de": "MAC", "ru": "MAC", "pt": "MAC", "nl": "MAC", "fr": "MAC", "it": "MAC", "es": "MAC", "pl": "PROCHOWIEC", "uk": "МАК", "zh-cn": "苹果电脑"},
29
29
  "MAC Address": { "en": "MAC Address", "de": "MAC-Adresse", "ru": "MAC адрес", "pt": "Endereço MAC", "nl": "Mac adres", "fr": "Adresse Mac", "it": "Indirizzo MAC", "es": "Dirección MAC", "pl": "Adres MAC", "uk": "MAC-адреса", "zh-cn": "MAC地址"},
30
30
  "Missed calls": { "en": "List of missed calls", "de": "Liste der entgangenen Anrufe", "ru": "Список пропущенных звонков", "pt": "Lista de chamadas perdidas", "nl": "Lijst voor gemiste oproepen", "fr": "Liste des appels manqués", "it": "Elenco per chiamate perse", "es": "Lista de llamadas perdidas", "pl": "Lista nieodebranych połączeń", "uk": "Список пропущених дзвінків", "zh-cn": "列表未接来电"},
31
- "Name": { "en": "Name", "de": "Name", "ru": "Имя", "pt": "Nome", "nl": "Naam", "fr": "prénom", "it": "Nome", "es": "Nombre", "pl": "Imię", "uk": "Ім'я", "zh-cn": "名称"},
31
+ "Name": { "en": "Name", "de": "Name", "ru": "Имя", "pt": "Nome", "nl": "Naam", "fr": "prénom", "it": "Nome", "es": "Nombre", "pl": "Nazwa", "uk": "Ім'я", "zh-cn": "名称"},
32
32
  "Not enabled": { "en": "You have to start %s before you can use this function!", "de": "%s muss gestartet sein, bevor diese Funktion verwendet werden kann!", "ru": "Вы должны включить / запустить %s адаптер, прежде чем сможете использовать эту функцию!", "pt": "Você precisa ativar / iniciar o adaptador %s antes de poder usar esta função!", "nl": "U moet %s adapter inschakelen / starten voordat u deze functie kunt gebruiken!", "fr": "Vous devez activer / démarrer l'adaptateur %s avant de pouvoir utiliser cette fonction!", "it": "Devi abilitare / avviare l'adattatore %s prima di poter usare questa funzione!", "es": "¡Debe habilitar / iniciar el adaptador %s antes de poder usar esta función!", "pl": "Musisz włączyć / uruchomić %s adapter, aby móc korzystać z tej funkcji!", "uk": "Вам потрібно запустити %s, перш ніж ви зможете використовувати цю функцію!", "zh-cn": "您必须先启用/启动%s适配器,然后才能使用此功能!"},
33
- "Ok": { "en": "Ok", "de": "Ok", "ru": "Ok", "pt": "Ok", "nl": "OK", "fr": "D'accord", "it": "Ok", "es": "De acuerdo", "pl": "Dobrze", "uk": "Гаразд", "zh-cn": "确定"},
33
+ "Ok": { "en": "Ok", "de": "Ok", "ru": "Ok", "pt": "Ok", "nl": "OK", "fr": "D'accord", "it": "Ok", "es": "De acuerdo", "pl": "Ok", "uk": "Гаразд", "zh-cn": "确定"},
34
34
  "Options": { "en": "Options", "de": "Optionen", "ru": "Параметры", "pt": "Opções", "nl": "opties", "fr": "Les options", "it": "Opzioni", "es": "Opciones", "pl": "Opcje", "uk": "Опції", "zh-cn": "选件"},
35
35
  "Outbound": { "en": "List of outbound calls", "de": "Liste der ausgehenden Anrufe", "ru": "Список исходящих звонков", "pt": "Listar para chamadas de saída", "nl": "Lijst voor uitgaande oproepen", "fr": "Liste des appels sortants", "it": "Elenco per le chiamate in uscita", "es": "Lista para llamadas salientes", "pl": "Lista połączeń wychodzących", "uk": "Список вихідних дзвінків", "zh-cn": "列出的电话"},
36
36
  "Password": { "en": "Password", "de": "Passwort", "ru": "Пароль", "pt": "Senha", "nl": "Wachtwoord", "fr": "Mot de passe", "it": "Parola d'ordine", "es": "Contraseña", "pl": "Hasło", "uk": "Пароль", "zh-cn": "密码"},
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "tr-064",
4
- "version": "4.2.18",
4
+ "version": "4.3.0",
5
5
  "news": {
6
+ "4.3.0": {
7
+ "en": "Adapter requires node.js >= 18 and js-controller >= 5 now\nDependencies have been updated",
8
+ "de": "Adapter benötigt node.js >= 18 und js-controller >= 5 jetzt\nAbhängigkeiten wurden aktualisiert",
9
+ "ru": "Адаптер требует node.js >= 18 и js-контроллер >= 5 сейчас\nЗависимость обновлена",
10
+ "pt": "Adapter requer node.js >= 18 e js-controller >= 5 agora\nAs dependências foram atualizadas",
11
+ "nl": "Voor adaptor zijn node.js < 18 en js-controller > Nu 5\nAfhankelijkheden zijn bijgewerkt",
12
+ "fr": "L'adaptateur nécessite node.js >= 18 et js-controller >= 5 maintenant\nLes dépendances ont été actualisées",
13
+ "it": "Adattatore richiede node.js >= 18 e js-controller >= 5 ora\nLe dipendenze sono state aggiornate",
14
+ "es": "Adaptador requiere node.js ó= 18 y js-controller 5 ahora\nSe han actualizado las dependencias",
15
+ "pl": "Adapter wymaga node.js > = 18 i kontroler js- > = 5 teraz\nZaktualizowano zależności",
16
+ "uk": "Адаптер вимагає node.js >= 18 і js-controller >= 5 тепер\nЗалежність було оновлено",
17
+ "zh-cn": "适配器需要节点.js QQ18和js控制器 QQ 现在5号\n依赖关系已更新"
18
+ },
6
19
  "4.2.18": {
7
20
  "en": "Prepare for future js-controller verisons",
8
21
  "de": "Vorbereitung auf zukünftige js-controller verisons",
@@ -80,22 +93,8 @@
80
93
  "pl": "Optymalizuj pod kątem js-controller 3.3 i zapobiegaj ostrzeżeniom (pot. musisz usunąć punkty danych, jeśli nadal widzisz błędy, zostaną one odtworzone)",
81
94
  "zh-cn": "针对 js-controller 3.3 进行优化并防止警告(您可能会。如果您仍然看到错误,则需要删除数据点,它们将被重新创建)",
82
95
  "uk": "Оптимізуйте для js-controller 3.3 і запобігайте попередженням (вам потрібно видалити точки даних, якщо ви все ще бачите помилки, їх буде створено повторно)"
83
- },
84
- "4.2.12": {
85
- "en": "prevent html template for calllists to be overwritten by default one\nfix crash case (Sentry IOBROKER-TR-064-2M)",
86
- "de": "Verhindern Sie, dass die HTML-Vorlage für Anruflisten standardmäßig überschrieben wird\nAbsturzfall beheben (Sentry IOBROKER-TR-064-2M)",
87
- "ru": "предотвратить перезапись шаблона html для списков вызовов по умолчанию\nисправить случай сбоя (Sentry IOBROKER-TR-064-2M)",
88
- "pt": "evita que o modelo html para listas de chamadas seja substituído por um padrão\ncorrigir caso de falha (Sentry IOBROKER-TR-064-2M)",
89
- "nl": "voorkomen dat html-sjabloon voor oproeplijsten standaard wordt overschreven\ncrash case repareren (Sentry IOBROKER-TR-064-2M)",
90
- "fr": "empêcher le modèle html pour les listes d'appels d'être écrasé par défaut\ncorrection du cas de crash (Sentry IOBROKER-TR-064-2M)",
91
- "it": "impedisce che il modello html per le liste di chiamata venga sovrascritto per impostazione predefinita\ncorrezione del crash case (Sentry IOBROKER-TR-064-2M)",
92
- "es": "evitar que la plantilla html para listas de llamadas se sobrescriba por defecto\nreparar caso de bloqueo (Sentry IOBROKER-TR-064-2M)",
93
- "pl": "zapobiegaj domyślnemu nadpisywaniu szablonu html dla list wywołań\nnaprawa awarii (Sentry IOBROKER-TR-064-2M)",
94
- "zh-cn": "防止默认情况下覆盖用于呼叫列表的html模板\n修复崩溃案例(Sentry IOBROKER-TR-064-2M)",
95
- "uk": "запобігти перезапису шаблону html для списків викликів за замовчуванням\nвиправити випадок збою (Sentry IOBROKER-TR-064-2M)"
96
96
  }
97
97
  },
98
- "title": "TR-064",
99
98
  "titleLang": {
100
99
  "en": "TR-064",
101
100
  "de": "TR-064",
@@ -122,7 +121,10 @@
122
121
  "zh-cn": "TR-064 适配器用于控制 AVM FritzBox 并获取设备或电话的网络状态",
123
122
  "uk": "Адаптер TR-064 використовується для керування AVM FritzBox і отримання стану мережі пристроїв або телефонних дзвінків"
124
123
  },
125
- "license": "MIT",
124
+ "licenseInformation": {
125
+ "license": "MIT",
126
+ "type": "free"
127
+ },
126
128
  "platform": "Javascript/Node.js",
127
129
  "keywords": [
128
130
  "tr-064",
@@ -141,7 +143,6 @@
141
143
  "messagebox": true,
142
144
  "materialize": true,
143
145
  "compact": true,
144
- "main": "main.js",
145
146
  "authors": [
146
147
  {
147
148
  "name": "soef",
@@ -150,7 +151,12 @@
150
151
  ],
151
152
  "dependencies": [
152
153
  {
153
- "js-controller": ">=2.0.0"
154
+ "js-controller": ">=5.0.19"
155
+ }
156
+ ],
157
+ "globalDependencies": [
158
+ {
159
+ "admin": ">=6.13.16"
154
160
  }
155
161
  ],
156
162
  "connectionType": "local",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.tr-064",
3
- "version": "4.2.18",
3
+ "version": "4.3.0",
4
4
  "description": "ioBroker tr-064 Adapter",
5
5
  "author": {
6
6
  "name": "soef",
@@ -27,37 +27,52 @@
27
27
  "type": "git",
28
28
  "url": "https://github.com/iobroker-community-adapters/ioBroker.tr-064"
29
29
  },
30
+ "engine": {
31
+ "node": ">=18"
32
+ },
30
33
  "dependencies": {
31
34
  "mdns-discovery": "^0.2.6",
32
35
  "tr-O64": "^0.2.4",
33
36
  "xml2js": "^0.4.23",
34
- "@iobroker/adapter-core": "^2.6.7"
37
+ "@iobroker/adapter-core": "^3.1.4"
35
38
  },
36
39
  "devDependencies": {
37
- "@alcalzone/release-script": "^3.5.9",
38
- "@alcalzone/release-script-plugin-iobroker": "^3.5.9",
39
- "@alcalzone/release-script-plugin-license": "^3.5.9",
40
- "@iobroker/adapter-dev": "^1.2.0",
41
- "@iobroker/dev-server": "^0.6.0",
42
- "@iobroker/testing": "^4.1.0",
43
- "mocha": "^10.2.0",
44
- "chai": "^4.3.7",
45
- "eslint": "^8.31.0"
40
+ "@alcalzone/release-script": "^3.7.0",
41
+ "@alcalzone/release-script-plugin-iobroker": "^3.7.0",
42
+ "@alcalzone/release-script-plugin-license": "^3.7.0",
43
+ "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
44
+ "@iobroker/adapter-dev": "^1.3.0",
45
+ "@iobroker/testing": "^4.1.3",
46
+ "@tsconfig/node14": "^14.1.0",
47
+ "@types/chai": "^4.3.11",
48
+ "@types/chai-as-promised": "^7.1.8",
49
+ "@types/mocha": "^10.0.6",
50
+ "@types/node": "^20.11.25",
51
+ "@types/proxyquire": "^1.3.31",
52
+ "@types/sinon": "^17.0.3",
53
+ "@types/sinon-chai": "^3.2.12",
54
+ "chai": "^4.4.1",
55
+ "chai-as-promised": "^7.1.1",
56
+ "eslint": "^8.57.0",
57
+ "eslint-config-prettier": "^9.1.0",
58
+ "eslint-plugin-prettier": "^5.1.3",
59
+ "mocha": "^10.4.0",
60
+ "prettier": "^3.2.5",
61
+ "proxyquire": "^2.1.3",
62
+ "sinon": "^17.0.1",
63
+ "sinon-chai": "^3.7.0",
64
+ "typescript": "~5.4.2"
46
65
  },
47
66
  "main": "main.js",
48
67
  "scripts": {
49
- "test": "npm run test:package && npm run test:integration",
68
+ "test:js": "mocha --config test/mocharc.custom.json \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
50
69
  "test:package": "mocha test/package --exit",
51
- "test:unit": "mocha test/unit --exit",
52
70
  "test:integration": "mocha test/integration --exit",
53
- "release": "release-script",
54
- "release-patch": "release-script patch --yes",
55
- "release-minor": "release-script minor --yes",
56
- "release-major": "release-script major --yes",
57
- "translate": "translate-adapter"
58
- },
59
- "engines": {
60
- "node": ">=8.0.0"
71
+ "test": "npm run test:js && npm run test:package",
72
+ "check": "tsc --noEmit -p tsconfig.check.json",
73
+ "lint": "eslint .",
74
+ "translate": "translate-adapter",
75
+ "release": "release-script"
61
76
  },
62
77
  "bugs": {
63
78
  "url": "https://github.com/iobroker-community-adapters/ioBroker.tr-064/issues"