iobroker.ebus 3.6.2 → 3.6.6

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
@@ -76,6 +76,18 @@ in /opt/iobroker/node_modules/iobroker.ebus/lib/scripts you can find a scripts t
76
76
  Placeholder for the next version (at the beginning of the line):
77
77
  ### **WORK IN PROGRESS**
78
78
  -->
79
+ ### 3.6.6 (2025-08-22)
80
+ * (René) see issue #430: bug fix
81
+
82
+ ### 3.6.4 (2025-08-22)
83
+ * (René) see issue #430: for history complete datapoint names without instance (e.g. ebus.0) must be used
84
+ * (Galileo53) change some logs
85
+
86
+ ### 3.6.3 (2025-06-27)
87
+ * (René) get version info for ebusd from github if locally not available
88
+ * (René) update dependencies
89
+ * (René) new testing
90
+
79
91
  ### 3.6.2 (2025-06-09)
80
92
  * (René) (Galileo53) #419 avoid Warning and error when history list is empty
81
93
 
@@ -25,7 +25,7 @@
25
25
  "find parameter": "Parameter suchen",
26
26
  "hint_ebusd": "Für den Adapter wird ein laufender ebusd incl. aller notwendigen Konfigurationen benötigt. Dieser Adapter verwendet HTML, um Daten von ebusd zu lesen und TCP (Telnet), um auf ebusd zu schreiben",
27
27
  "hint_ebusd2": "Hier können Sie zusätzliche Parameter für HTTP-Anfragen hinzufügen. Bitte tun Sie es nur, wenn Sie wissen, was Sie tun, ansonsten lassen Sie alles deaktiviert.",
28
- "hint_ebusd_history": "Liste aller Datenpunktnamen, die mit dem ebus-History-Widget verwendet werden sollen.",
28
+ "hint_ebusd_history": "Liste aller Datenpunktnamen, die mit dem ebus-History-Widget verwendet werden sollen. ACHTUNG: kompletter Datenpunkt-Name ohne Instanz (z.Bsp. ebus.0)",
29
29
  "hint_ebusd_polled": "Liste aller Datenpunktnamen, die vom Adapter aktv abgefragt werden sollen.",
30
30
  "historyDP": "historyDP",
31
31
  "historyDP configuration": "Verlaufsdatenpunkt-Konfiguration",
@@ -1,53 +1,53 @@
1
1
  {
2
- "Circuit4Find": "Circuit in which parameters are searched ",
3
- "DisableTimeUpdateCheck": "Disable Time Update Check",
4
- "DisableTimeUpdateCheckHelp": "used to avoid unwanted warnings in log about unupdated data points",
5
- "History4Vis2": "compatibility to history value for (new) VIS-2 widget",
6
- "History4Vis2_help": "if you use the new Vis-2 and the general diagram widget in weather-and-heating-widgets ",
7
- "IP of system where ebusd runs": "IP of system where ebusd runs",
8
- "Main settings": "Main settings",
9
- "Update hint": "",
10
- "Update hint ebusd": "update hint ebusd",
11
- "active": "active",
12
- "addParameter": "additional parameter",
13
- "available version": "available version",
14
- "circuit": "circuit",
15
- "configuration": "configuration",
16
- "current installed version": "current installed version",
17
- "details of HTTP paramter on ebusd wiki": "details of HTTP parameter on ebusd wiki",
18
- "ebus_adapter_settings": "ebus adapter settings",
19
- "ebusd configuration": "ebusd configuration",
20
- "enable DP": "enable DP",
21
- "enable parameter": "enable parameter",
22
- "enter DP name": "enter DP name",
23
- "enter additional parameter (optional)": "enter additional parameter (optional)",
24
- "enter circuit": "enter circuit",
25
- "find parameter": "find parameter",
26
- "hint_ebusd": "you need an running ebusd inclusive all necessary configurations. This adapter uses HTML to read data from ebusd. It uses TCP (Telnet) to write to ebusd.",
27
- "hint_ebusd2": "here you can add additional parameters for HTTP request. Please do it only if you know what you do, otherwise leave everything deactivated.",
28
- "hint_ebusd_history": "list of all datapoint names which should be used with ebus history widget. ",
29
- "hint_ebusd_polled": "list of all datapoint names which should be polled from adapter. Do not add datapoints which are already polled from ebusd. Circuit and additional parameter are optionally.",
30
- "historyDP": "historyDP",
31
- "historyDP configuration": "history DP configuration",
32
- "link to ebusd wiki with installation instruction": "link to ebusd wiki with installation instruction",
33
- "maxretries": "maximum number of retries to send a command ",
34
- "name": "name",
35
- "optional HTTP parameter": "optional HTTP parameter",
36
- "optional HTTP parameter configuration": "optional HTTP parameter configuration",
37
- "optional parameter name": "optional parameter name",
38
- "optional parameter value": "optional parameter value",
39
- "page-ebusd": "ebusd",
40
- "page_historyDP": "history datapoints",
41
- "page_polledDP": "polled datapoints",
42
- "parse_timeout": "download and poll timeout [seconds]",
43
- "please update your ebusd, follow instructions on link below": "please update your ebusd, follow instructions on link below",
44
- "polledDP": "polledDP",
45
- "polledDP configuration": "polled DP configuration",
46
- "readInterval": "interval to read data from ebusd [min]",
47
- "supported version": "supported version",
48
- "target_HTTPPort": "HTTP Port to read data",
49
- "target_IP": "target IP",
50
- "target_TelnetPort": "TCP (Telnet) Port to write data",
51
- "useBoolean4Onoff": "use boolean instead string for datapoints with on/off values ",
52
- "useBoolean4Onoff_help": "this changes the original string value to a boolean type"
2
+ "Circuit4Find": "Circuit in which parameters are searched ",
3
+ "DisableTimeUpdateCheck": "Disable Time Update Check",
4
+ "DisableTimeUpdateCheckHelp": "used to avoid unwanted warnings in log about unupdated data points",
5
+ "History4Vis2": "compatibility to history value for (new) VIS-2 widget",
6
+ "History4Vis2_help": "if you use the new Vis-2 and the general diagram widget in weather-and-heating-widgets ",
7
+ "IP of system where ebusd runs": "IP of system where ebusd runs",
8
+ "Main settings": "Main settings",
9
+ "Update hint": "",
10
+ "Update hint ebusd": "update hint ebusd",
11
+ "active": "active",
12
+ "addParameter": "additional parameter",
13
+ "available version": "available version",
14
+ "circuit": "circuit",
15
+ "configuration": "configuration",
16
+ "current installed version": "current installed version",
17
+ "details of HTTP paramter on ebusd wiki": "details of HTTP parameter on ebusd wiki",
18
+ "ebus_adapter_settings": "ebus adapter settings",
19
+ "ebusd configuration": "ebusd configuration",
20
+ "enable DP": "enable DP",
21
+ "enable parameter": "enable parameter",
22
+ "enter DP name": "enter DP name",
23
+ "enter additional parameter (optional)": "enter additional parameter (optional)",
24
+ "enter circuit": "enter circuit",
25
+ "find parameter": "find parameter",
26
+ "hint_ebusd": "you need an running ebusd inclusive all necessary configurations. This adapter uses HTML to read data from ebusd. It uses TCP (Telnet) to write to ebusd.",
27
+ "hint_ebusd2": "here you can add additional parameters for HTTP request. Please do it only if you know what you do, otherwise leave everything deactivated.",
28
+ "hint_ebusd_history": "list of all datapoint names which should be used with ebus history widget. Attention: Use the complete datapoint name without instance (e.g. ebus.0) ",
29
+ "hint_ebusd_polled": "list of all datapoint names which should be polled from adapter. Do not add datapoints which are already polled from ebusd. Circuit and additional parameter are optionally.",
30
+ "historyDP": "historyDP",
31
+ "historyDP configuration": "history DP configuration",
32
+ "link to ebusd wiki with installation instruction": "link to ebusd wiki with installation instruction",
33
+ "maxretries": "maximum number of retries to send a command ",
34
+ "name": "name",
35
+ "optional HTTP parameter": "optional HTTP parameter",
36
+ "optional HTTP parameter configuration": "optional HTTP parameter configuration",
37
+ "optional parameter name": "optional parameter name",
38
+ "optional parameter value": "optional parameter value",
39
+ "page-ebusd": "ebusd",
40
+ "page_historyDP": "history datapoints",
41
+ "page_polledDP": "polled datapoints",
42
+ "parse_timeout": "download and poll timeout [seconds]",
43
+ "please update your ebusd, follow instructions on link below": "please update your ebusd, follow instructions on link below",
44
+ "polledDP": "polledDP",
45
+ "polledDP configuration": "polled DP configuration",
46
+ "readInterval": "interval to read data from ebusd [min]",
47
+ "supported version": "supported version",
48
+ "target_HTTPPort": "HTTP Port to read data",
49
+ "target_IP": "target IP",
50
+ "target_TelnetPort": "TCP (Telnet) Port to write data",
51
+ "useBoolean4Onoff": "use boolean instead string for datapoints with on/off values ",
52
+ "useBoolean4Onoff_help": "this changes the original string value to a boolean type"
53
53
  }
@@ -25,7 +25,6 @@
25
25
  "find parameter": "encontrar parámetro",
26
26
  "hint_ebusd": "para la interfaz ebusd necesita un ebusd eb todas las configuraciones necesarias. Este adaptador usa HTML para leer datos de ebusd y TCP para escribir en ebusd",
27
27
  "hint_ebusd2": "aquí puede agregar parámetros adicionales para la solicitud HTTP. Por favor hazlo sólo si sabes lo que haces, de lo contrario deja todo desactivado.",
28
- "hint_ebusd_history": "lista de todos los nombres de puntos de datos que deben usarse con el widget de historial de ebus.",
29
28
  "hint_ebusd_polled": "lista de todos los nombres de puntos de datos que deben consultarse desde el adaptador. ",
30
29
  "historyDP": "puntos de datos históricos",
31
30
  "historyDP configuration": "configuración histórica DP",
@@ -49,5 +48,6 @@
49
48
  "target_IP": "IP objetivo",
50
49
  "target_TelnetPort": "target telnet Port para escribir datos",
51
50
  "useBoolean4Onoff": "use booleano en lugar de cadena para puntos de datos con valores de encendido / apagado",
52
- "useBoolean4Onoff_help": "Esto cambia el valor de la cadena original a un tipo booleano"
51
+ "useBoolean4Onoff_help": "Esto cambia el valor de la cadena original a un tipo booleano",
52
+ "hint_ebusd_history": "Lista de todos los nombres de punto de datos que deben usarse con el widget EBUS History. Atención: use el nombre de punto de datos completo sin instancia (por ejemplo, EBUS.0)"
53
53
  }
@@ -522,7 +522,7 @@
522
522
  "text": "historyDP configuration",
523
523
  "size": 2
524
524
  },
525
- "table_historyDP": {
525
+ "HistoryDPs": {
526
526
  "type": "table",
527
527
  "newLine": true,
528
528
  "xs": 12,
@@ -536,7 +536,7 @@
536
536
  {
537
537
  "type": "text",
538
538
  "attr": "name",
539
- "width": "16% ",
539
+ "width": "60% ",
540
540
  "title": "name",
541
541
  "tooltip": "enter DP name",
542
542
  "filter": false,
package/admin/words.js CHANGED
@@ -15,6 +15,7 @@ systemDictionary = {
15
15
  "History4Vis2_help": { "en": "if you use the new Vis-2 and the general diagram widget in weather-and-heating-widgets ", "de": "Wenn Sie das neue Vis-2 und das allgemeine Diagramm-Widget in Wetter- und Heizwidgets verwenden", "ru": "Если вы используете новый виджет VIS-2 и общих диаграмм в погодных и нагревающих сланцах", "pt": "Se você usar o novo widget Vis-2 e o diagrama geral em Widgets climáticos e de aquecimento", "nl": "Als u de nieuwe VIS-2 en de algemene diagramwidget gebruikt in weers-en-verwarmingsbidgets", "fr": "Si vous utilisez le nouveau Vis-2 et le widget de diagramme général dans les intempéries et la chaleur-Widgets", "it": "Se usi il nuovo VIS-2 e il widget del diagramma generale nei widget meteorologici e riscaldanti", "es": "Si usa el nuevo VIS-2 y el widget del diagrama general en widgets de clima y calentamiento", "pl": "Jeśli użyjesz nowego widżetu VIS-2 i ogólnego schematu w widżetach pogodowych i ogrzewających", "uk": "Якщо ви використовуєте новий віджет VIS-2 та загальну діаграму в погоді та нагріванні", "zh-cn": "如果您在天气和加热范围内使用新的Vis-2和一般图小部件"},
16
16
  "IP of system where ebusd runs": { "en": "IP of system where ebusd runs", "de": "IP des Systems, bei dem EBUSD ausgeführt wird", "ru": "IP системы, где работает EBUSD", "pt": "IP do sistema onde o EBUSD funciona", "nl": "IP van systeem waar EBUSD loopt", "fr": "IP du système où EBUSD fonctionne", "it": "IP del sistema in cui EBUSD funziona", "es": "IP del sistema donde se ejecuta EBUSD", "pl": "IP systemu, w którym działa EBUSD", "uk": "IP системи, де працює ebusd", "zh-cn": "EBUSD运行的系统的IP"},
17
17
  "Main settings": { "en": "Main settings", "de": "Allgemeine Einstellungen", "ru": "Основные настройки", "pt": "Configurações principais", "nl": "Belangrijkste instellingen", "fr": "Paramètres principaux", "it": "Impostazioni principali", "es": "Configuraciones principales", "pl": "Główne ustawienia", "uk": "Основні налаштування", "zh-cn": "主要设置"},
18
+ "Update hint": { "en": "", "de": "", "ru": "Обновление подсказка", "pt": "Atualizar dica", "nl": "Update hint", "fr": "mettre à jour l'indice", "it": "Suggerimento di aggiornamento", "es": "actualizar sugerencia", "pl": "aktualizacja wskazówka", "uk": "Оновіть підказку", "zh-cn": "更新提示"},
18
19
  "Update hint ebusd": { "en": "update hint ebusd", "de": "Updatehinweis für ebusd", "ru": "Обновление подсказка ebusd", "pt": "Atualizar dica EBUSD", "nl": "Update hint ebusd", "fr": "Mettre à jour l'indice eBUSD", "it": "Aggiorna il suggerimento EBUSD", "es": "Actualizar sugerencia EBUSD", "pl": "Aktualizuj wskazówkę ebusd", "uk": "Оновіть підказку ebusd", "zh-cn": "更新提示ebusd"},
19
20
  "active": { "en": "active", "de": "aktiv", "ru": "активный", "pt": "ativo", "nl": "actief", "fr": "actif", "it": "attivo", "es": "activo", "pl": "aktywny", "uk": "активний", "zh-cn": "积极的"},
20
21
  "addParameter": { "en": "additional parameter", "de": "zusätzliche Parameter", "ru": "дополнительный параметр", "pt": "parâmetro adicional", "nl": "extra parameter", "fr": "paramètre supplémentaire", "it": "parametro aggiuntivo", "es": "parámetro adicional", "pl": "dodatkowy parametr", "uk": "додатковий параметр", "zh-cn": "附加参数"},
@@ -33,7 +34,7 @@ systemDictionary = {
33
34
  "find parameter": { "en": "find parameter", "de": "Parameter suchen", "ru": "найти параметр", "pt": "encontrar parâmetro", "nl": "parameter vinden", "fr": "trouver un paramètre", "it": "trova parametro", "es": "encontrar parámetro", "pl": "znajdź parametr", "uk": "знайти параметр", "zh-cn": "查找参数"},
34
35
  "hint_ebusd": { "en": "you need an running ebusd inclusive all necessary configurations. This adapter uses HTML to read data from ebusd. It uses TCP (Telnet) to write to ebusd.", "de": "Für den Adapter wird ein laufender ebusd incl. aller notwendigen Konfigurationen benötigt. Dieser Adapter verwendet HTML, um Daten von ebusd zu lesen und TCP (Telnet), um auf ebusd zu schreiben", "ru": "для интерфейса ebusd вам необходимо запустить ebusd, вкл. все необходимые конфигурации. Этот адаптер использует HTML для чтения данных из ebusd и TCP для записи в ebusd", "pt": "Para a interface ebusd, você precisa de um ebusd executado. todas as configurações necessárias. Este adaptador usa HTML para ler dados de ebusd e TCP para escrever em ebusd", "nl": "voor ebusd-interface heeft u een lopende ebusd nodig. alle noodzakelijke configuraties. Deze adapter gebruikt HTML om gegevens van ebusd en TCP te lezen om naar ebusd te schrijven", "fr": "Pour l'interface ebusd, vous avez besoin d'un ebusd en cours d'exécution. toutes les configurations nécessaires. Cet adaptateur utilise le HTML pour lire les données d'ebusd et TCP pour écrire sur ebusd", "it": "per l'interfaccia ebusd hai bisogno di un ebusd in esecuzione incl. tutte le configurazioni necessarie Questo adattatore utilizza l'HTML per leggere i dati da ebusd e TCP per scrivere su ebusd", "es": "para la interfaz ebusd necesita un ebusd eb todas las configuraciones necesarias. Este adaptador usa HTML para leer datos de ebusd y TCP para escribir en ebusd", "pl": "do interfejsu ebusd potrzebny jest działający ebusd w tym. wszystkie niezbędne konfiguracje. Ten adapter używa HTML do odczytu danych z ebusd i TCP w celu zapisania do ebusd", "uk": "вам потрібен запущений ebusd з усіма необхідними налаштуваннями. Цей адаптер використовує HTML для читання даних з ebusd. Він використовує TCP (Telnet) для запису в ebusd.", "zh-cn": "对于ebusd接口,您需要一个正在运行的ebusd incl。"},
35
36
  "hint_ebusd2": { "en": "here you can add additional parameters for HTTP request. Please do it only if you know what you do, otherwise leave everything deactivated.", "de": "Hier können Sie zusätzliche Parameter für HTTP-Anfragen hinzufügen. Bitte tun Sie es nur, wenn Sie wissen, was Sie tun, ansonsten lassen Sie alles deaktiviert.", "ru": "здесь вы можете добавить дополнительные параметры для HTTP-запроса. Пожалуйста, делайте это только в том случае, если вы знаете, что делаете, в противном случае оставьте все отключенным.", "pt": "aqui você pode adicionar parâmetros adicionais para solicitação HTTP. Por favor, faça isso apenas se você souber o que faz, caso contrário deixe tudo desativado.", "nl": "hier kunt u aanvullende parameters voor HTTP-verzoeken toevoegen. Doe dit alleen als u weet wat u doet, anders laat u alles gedeactiveerd.", "fr": "ici, vous pouvez ajouter des paramètres supplémentaires pour la requête HTTP. Veuillez ne le faire que si vous savez ce que vous faites, sinon laissez tout désactivé.", "it": "qui puoi aggiungere parametri aggiuntivi per la richiesta HTTP. Per favore fatelo solo se sapete cosa fate, altrimenti lasciate tutto disattivato.", "es": "aquí puede agregar parámetros adicionales para la solicitud HTTP. Por favor hazlo sólo si sabes lo que haces, de lo contrario deja todo desactivado.", "pl": "tutaj możesz dodać dodatkowe parametry żądania HTTP. Zrób to tylko wtedy, gdy wiesz, co robisz, w przeciwnym razie pozostaw wszystko dezaktywowane.", "uk": "тут ви можете додати додаткові параметри для HTTP-запиту. Будь ласка, робіть це, лише якщо знаєте, що робите, інакше залиште все дезактивованим.", "zh-cn": "在这里您可以为 HTTP 请求添加附加参数。请仅在您知道自己在做什么的情况下才执行此操作,否则请停用所有内容。"},
36
- "hint_ebusd_history": { "en": "list of all datapoint names which should be used with ebus history widget. ", "de": "Liste aller Datenpunktnamen, die mit dem ebus-History-Widget verwendet werden sollen.", "ru": "список всех имен точек данных, которые следует использовать с виджетом истории ebus.", "pt": "lista de todos os nomes de pontos de dados que devem ser usados ​​com o widget de histórico do ebus.", "nl": "lijst met alle datapuntnamen die moeten worden gebruikt met de ebus-geschiedeniswidget.", "fr": "liste de tous les noms de points de données qui doivent être utilisés avec le widget historique ebus.", "it": "elenco di tutti i nomi dei punti dati che dovrebbero essere utilizzati con il widget cronologia ebus.", "es": "lista de todos los nombres de puntos de datos que deben usarse con el widget de historial de ebus.", "pl": "lista wszystkich nazw punktów danych, które powinny być używane z widżetem historii ebus.", "uk": "список усіх назв точок даних, які слід використовувати з віджетом історії ebus.", "zh-cn": "应与 ebus 历史小部件一起使用的所有数据点名称的列表。"},
37
+ "hint_ebusd_history": { "en": "list of all datapoint names which should be used with ebus history widget. Attention: Use the complete datapoint name without instance (e.g. ebus.0) ", "de": "Liste aller Datenpunktnamen, die mit dem ebus-History-Widget verwendet werden sollen. ACHTUNG: kompletter Datenpunkt-Name ohne Instanz (z.Bsp. ebus.0)", "ru": "список всех имен точек данных, которые следует использовать с виджетом истории ebus.", "pt": "lista de todos os nomes de pontos de dados que devem ser usados ​​com o widget de histórico do ebus.", "nl": "lijst met alle datapuntnamen die moeten worden gebruikt met de ebus-geschiedeniswidget.", "fr": "liste de tous les noms de points de données qui doivent être utilisés avec le widget historique ebus.", "it": "elenco di tutti i nomi dei punti dati che dovrebbero essere utilizzati con il widget cronologia ebus.", "es": "Lista de todos los nombres de punto de datos que deben usarse con el widget EBUS History. Atención: use el nombre de punto de datos completo sin instancia (por ejemplo, EBUS.0)", "pl": "lista wszystkich nazw punktów danych, które powinny być używane z widżetem historii ebus.", "uk": "список усіх назв точок даних, які слід використовувати з віджетом історії ebus.", "zh-cn": "应与 ebus 历史小部件一起使用的所有数据点名称的列表。"},
37
38
  "hint_ebusd_polled": { "en": "list of all datapoint names which should be polled from adapter. Do not add datapoints which are already polled from ebusd. Circuit and additional parameter are optionally.", "de": "Liste aller Datenpunktnamen, die vom Adapter aktv abgefragt werden sollen.", "ru": "список всех имен точек данных, которые должны быть опрошены от адаптера. ", "pt": "lista de todos os nomes de pontos de dados que devem ser pesquisados ​​no adaptador. ", "nl": "lijst met alle datapuntnamen die van de adapter moeten worden opgevraagd. ", "fr": "liste de tous les noms de points de données qui doivent être interrogés à partir de l'adaptateur. ", "it": "elenco di tutti i nomi dei punti dati che devono essere interrogati dall'adattatore. ", "es": "lista de todos los nombres de puntos de datos que deben consultarse desde el adaptador. ", "pl": "lista wszystkich nazw punktów danych, które powinny być odpytywane z adaptera. ", "uk": "список усіх імен точок даних, які повинні бути опитані з адаптера. Не додавайте точки даних, які вже опитуються з ebusd. Схема та додатковий параметр необов'язкові.", "zh-cn": "应从适配器轮询的所有数据点名称的列表。"},
38
39
  "historyDP": { "en": "historyDP", "de": "historyDP", "ru": "исторические данные", "pt": "pontos de dados de história", "nl": "geschiedenis datapunten", "fr": "points de données d'historique", "it": "punti dati della cronologia", "es": "puntos de datos históricos", "pl": "punkty danych historii", "uk": "історії даних", "zh-cn": "历史数据点"},
39
40
  "historyDP configuration": { "en": "history DP configuration", "de": "Verlaufsdatenpunkt-Konfiguration", "ru": "конфигурация историиDP", "pt": "configuração do histórico DP", "nl": "historyDP-configuratie", "fr": "configuration historiqueDP", "it": "configurazione della cronologia DP", "es": "configuración histórica DP", "pl": "konfiguracja historiiDP", "uk": "конфігурація historyDP", "zh-cn": "历史DP配置"},
@@ -58,5 +59,4 @@ systemDictionary = {
58
59
  "target_TelnetPort": { "en": "TCP (Telnet) Port to write data", "de": "TCP (Telnet) Port zum Schreiben von Daten", "ru": "целевой порт telnet для записи данных", "pt": "destino telnet porta para escrever dados", "nl": "doel telnet-poort om gegevens te schrijven", "fr": "Port telnet cible pour écrire des données", "it": "Porta telnet target per scrivere dati", "es": "target telnet Port para escribir datos", "pl": "docelowy port telnet do zapisu danych", "uk": "target telnet Порт для запису даних", "zh-cn": "目标telnet用于写入数据的端口"},
59
60
  "useBoolean4Onoff": { "en": "use boolean instead string for datapoints with on/off values ", "de": "Boolean anstelle Strings für Datenpunkte mit Ein-/Aus-Werten verwenden", "ru": "используйте логическое значение вместо строки для точек данных со значениями включения / выключения", "pt": "use booleano em vez de string para pontos de dados com valores on / off", "nl": "gebruik in plaats daarvan booleaanse string voor datapunten met aan/uit-waarden", "fr": "utiliser une chaîne booléenne à la place pour les points de données avec des valeurs activées/désactivées", "it": "usa la stringa booleana invece per i punti dati con valori on/off", "es": "use booleano en lugar de cadena para puntos de datos con valores de encendido / apagado", "pl": "użyj wartości logicznej zamiast ciągu dla punktów danych z wartościami włączonymi / wyłączonymi", "uk": "використовуйте логічне значення замість рядка для точок даних зі значеннями on/off", "zh-cn": "对具有开/关值的数据点使用布尔值代替字符串"},
60
61
  "useBoolean4Onoff_help": { "en": "this changes the original string value to a boolean type", "de": "Dies ändert den ursprünglichen String-Wert in einen Booleschen Typ", "ru": "Это изменяет исходное значение строки на логический тип", "pt": "Isso muda o valor original da string para um tipo booleano", "nl": "Dit verandert de originele tekenreekswaarde in een Booleaans type", "fr": "Cela modifie la valeur de chaîne d'origine en un type booléen", "it": "Questo cambia il valore della stringa originale in un tipo booleano", "es": "Esto cambia el valor de la cadena original a un tipo booleano", "pl": "To zmienia oryginalną wartość ciągów na typ boolean", "uk": "Це змінює початкове значення рядка на булевий тип", "zh-cn": "这将原始字符串值更改为布尔类型"},
61
- "Update hint": { "en": "", "de": "", "ru": "Обновление подсказка", "pt": "Atualizar dica", "nl": "Update hint", "fr": "mettre à jour l'indice", "it": "Suggerimento di aggiornamento", "es": "actualizar sugerencia", "pl": "aktualizacja wskazówka", "uk": "Оновіть підказку", "zh-cn": "更新提示"},
62
62
  };
package/io-package.json CHANGED
@@ -1,8 +1,60 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "ebus",
4
- "version": "3.6.2",
4
+ "version": "3.6.6",
5
5
  "news": {
6
+ "3.6.6": {
7
+ "en": "see issue #430: bug fix",
8
+ "de": "siehe ausgabe #430: bugfix",
9
+ "ru": "проблема #430: исправление ошибок",
10
+ "pt": "ver problema # 430: correção de erros",
11
+ "nl": "zie probleem #430: foutherstel",
12
+ "fr": "voir problème #430: correction du bug",
13
+ "it": "vedi numero #430: correzione bug",
14
+ "es": "ver número #430: corrección de errores",
15
+ "pl": "zobacz numer # 430: błąd naprawić",
16
+ "uk": "переглянути проблему #430: виправлення помилок",
17
+ "zh-cn": "参见第430期: 错误修正"
18
+ },
19
+ "3.6.5": {
20
+ "en": "see issue #430: bug fix",
21
+ "de": "siehe ausgabe #430: bugfix",
22
+ "ru": "проблема #430: исправление ошибок",
23
+ "pt": "ver problema # 430: correção de erros",
24
+ "nl": "zie probleem #430: foutherstel",
25
+ "fr": "voir problème #430: correction du bug",
26
+ "it": "vedi numero #430: correzione bug",
27
+ "es": "ver número #430: corrección de errores",
28
+ "pl": "zobacz numer # 430: błąd naprawić",
29
+ "uk": "переглянути проблему #430: виправлення помилок",
30
+ "zh-cn": "参见第430期: 错误修正"
31
+ },
32
+ "3.6.4": {
33
+ "en": "see issue #430: for history complete datapoint names without instance (e.g. ebus.0) must be used\nchange some logs",
34
+ "de": "siehe ausgabe #430: für die geschichte müssen vollständige datenpunktnamen ohne beispiel (z.b. ebus.0) verwendet werden\neinige protokolle ändern",
35
+ "ru": "проблема no 430: для истории необходимо использовать полные имена точек данных без экземпляра (например, ebus.0)\nизменить некоторые бревна",
36
+ "pt": "ver problema #430: para o histórico devem ser usados nomes completos de pontos de dados sem instância (por exemplo, ebus.0)\nalterar alguns logs",
37
+ "nl": "zie probleem #430: voor de geschiedenis moeten volledige datapointnamen zonder instantie (bijv. ebus.0) worden gebruikt\nsommige logs wijzigen",
38
+ "fr": "voir le numéro 430: pour l'historique, il faut utiliser des noms de datapoints complets sans instance (par exemple ebus.0)\nchanger quelques journaux",
39
+ "it": "vedi numero #430: per la storia devono essere utilizzati nomi di datapoint completi senza istanza (ad esempio ebus.0)\ncambiare alcuni registri",
40
+ "es": "ver número #430: para la historia se deben utilizar nombres completos de datos sin instancia (por ejemplo, ebus.0)\ncambiar algunos registros",
41
+ "pl": "zobacz numer # 430: dla historii należy użyć pełnych nazw punktów danych bez instancji (np. ebus.0)\nzmienić kilka dzienników",
42
+ "uk": "переглянути номер #430: для історії повна назва даних без екземпляра (наприклад, ebus.0)\nзмінити деякі журнали",
43
+ "zh-cn": "参见第430期:对于历史完整的无实例数据点名称(例如ebus.0)必须使用\n更改一些日志"
44
+ },
45
+ "3.6.3": {
46
+ "en": "get version info for ebusd from github if locally not available\nupdate dependencies\nnew testing",
47
+ "de": "versionsinformationen für ebusd von github erhalten, wenn lokal nicht verfügbar\naktualisierung der abhängigkeiten\nneue tests",
48
+ "ru": "получить информацию о версии для вытеснения из github, если локально недоступно\nобновление зависимостей\nновые испытания",
49
+ "pt": "obter informações de versão para o ebusd do github se não estiver disponível localmente\natualizar dependências\nnovos testes",
50
+ "nl": "krijgen versie-informatie voor ebusd van github als lokaal niet beschikbaar\nafhankelijkheden bijwerken\nnieuwe tests",
51
+ "fr": "obtenir des informations de version pour ebusd de github si localement pas disponible\nmettre à jour les dépendances\nnouveaux essais",
52
+ "it": "ottenere informazioni sulla versione per ebusd da github se localmente non disponibile\naggiornamento dipendenze\nnuovi test",
53
+ "es": "obtener información de la versión para ebusd de github si localmente no disponible\ndependencias de actualización\nnuevas pruebas",
54
+ "pl": "uzyskać informacje o wersji dla ebusd z github, jeśli lokalnie nie jest dostępny\naktualizacji zależności\nnowe badania",
55
+ "uk": "отримати інформацію про версію для ebusd від github, якщо локально не доступний\nоновлення залежності\nновий тест",
56
+ "zh-cn": "如果本地不可用, 从 github 获取 ebusd 的版本信息\n更新依赖关系\n新测试"
57
+ },
6
58
  "3.6.2": {
7
59
  "en": "(Galileo53) #419 avoid Warning and error when history list is empty",
8
60
  "de": "(Galileo53) #419 vermeiden Warnung und Fehler bei leerer Geschichtsliste",
@@ -41,58 +93,6 @@
41
93
  "pl": "nowa obsługiwana wersja ebusd to 25.1\ninformacje o wersji dodane w admin",
42
94
  "uk": "нова підтримана версія ebusd 25.1\nдодано інформацію про версію в адмін",
43
95
  "zh-cn": "新支持的ebusd版本为25.1\n在管理员中添加的版本信息"
44
- },
45
- "3.5.2": {
46
- "en": "changes requested by adapter checker\ndependencies updated",
47
- "de": "änderungen, die von adapter checker angefordert werden\naktualisierte abhängigkeiten",
48
- "ru": "изменения, запрошенные adapter checker\nобновленные зависимости",
49
- "pt": "alterações solicitadas pelo verificador do adaptador\ndependências atualizadas",
50
- "nl": "wijzigingen gevraagd door adaptercontrole\nafhankelijkheden bijgewerkt",
51
- "fr": "modifications demandées par l'adaptateur checker\ndépendances mises à jour",
52
- "it": "modifiche richieste da adattatore checker\ndipendenze aggiornate",
53
- "es": "cambios solicitados por el adaptador\ndependencias actualizadas",
54
- "pl": "zmiany wymagane przez sprawdzacz adaptera\nzaktualizowane zależności",
55
- "uk": "зміни, які вимагаються перевіркою адаптера\nоновлені залежності",
56
- "zh-cn": "适配器检查器要求的更改\n更新依赖关系"
57
- },
58
- "3.5.1": {
59
- "en": "translations",
60
- "de": "übersetzungen",
61
- "ru": "перевод",
62
- "pt": "traduções",
63
- "nl": "vertalingen",
64
- "fr": "traductions",
65
- "it": "traduzioni",
66
- "es": "traducciones",
67
- "pl": "tłumaczenia",
68
- "uk": "переклади",
69
- "zh-cn": "翻译"
70
- },
71
- "3.5.0": {
72
- "en": "catch exceptions reportet by sentry\noption to disable check of last update time (see issue #391)",
73
- "de": "Ausnahmen reportet by sentry\noption zum deaktivieren der letzten aktualisierungszeit (siehe ausgabe #391)",
74
- "ru": "репортаж об исключениях улова\nвозможность отключить проверку последнего времени обновления (см. вопрос #391)",
75
- "pt": "captura exceções relatório por sentinela\nopção para desativar a verificação do último tempo de atualização (veja a edição #391)",
76
- "nl": "vangstuitzonderingen verslaget door de wacht\noptie om controle van de laatste updatetijd uit te schakelen (zie probleem #391)",
77
- "fr": "déclaration des exceptions de capture par sentinelle\noption pour désactiver la vérification de la dernière mise à jour (voir le numéro #391)",
78
- "it": "cattura le eccezioni reportet da mittente\nopzione per disabilitare il controllo dell'ultimo aggiornamento (vedere numero #391)",
79
- "es": "catch exceptions reportet by centry\nopción para desactivar el cheque de la última hora de actualización (ver número #391)",
80
- "pl": "połowów wyjątków reportet przez wartownik\nopcja wyłączenia sprawdzania czasu ostatniej aktualizacji (patrz numer # 391)",
81
- "uk": "виняток винятку по відправці\nможливість відключити перевірку останнього часу оновлення (див. проблему #391)",
82
- "zh-cn": "按哨兵分列的渔获量例外报告\n选项以禁用上次更新时间的检查(见第391期)"
83
- },
84
- "3.4.0": {
85
- "en": "migration to jsonConfig\nsee issue #383: add optionally parameters to HTTP call",
86
- "de": "Migration nach jsonConfig\nsiehe Ausgabe #383: optionale Parameter zum HTTP-Aufruf hinzufügen",
87
- "ru": "миграции в jsonConfig\n#383: добавить дополнительные параметры к HTTP-звонку",
88
- "pt": "migração para jsonConfig\nveja o problema #383: adicione parâmetros opcionalmente à chamada HTTP",
89
- "nl": "migratie naar jsonConfig\nzie probleem #383: voeg optioneel parameters toe aan HTTP-aanroep",
90
- "fr": "migration vers jsonConfig\nvoir le numéro #383: ajouter optionnellement des paramètres à l'appel HTTP",
91
- "it": "migrazione a jsonConfig\nvedi numero #383: aggiungi parametri opzionalmente alla chiamata HTTP",
92
- "es": "migración a jsonConfig\nver número #383: añadir parámetros opcionalmente a la llamada HTTP",
93
- "pl": "migracja do jsonConfig\nzobacz numer # 383: dodać opcjonalne parametry do wywołania HTTP",
94
- "uk": "міграції в jsonConfig\nпереглянути номер #383: додавати додаткові параметри до HTTP виклику",
95
- "zh-cn": "迁移到 jsonConfig\n参见第383期: 在 HTTP 调用中添加可选参数"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -286,6 +286,46 @@
286
286
  "agree",
287
287
  "cancel"
288
288
  ]
289
+ },
290
+ {
291
+ "condition": {
292
+ "operand": "and",
293
+ "rules": [
294
+ "oldVersion<=3.6.2",
295
+ "newVersion>3.6.2"
296
+ ]
297
+ },
298
+ "title": {
299
+ "en": "data structure might be changed",
300
+ "de": "Die Datenstruktur kann geändert werden",
301
+ "ru": "Структура данных может быть изменена",
302
+ "pt": "A estrutura de dados pode ser alterada",
303
+ "nl": "Gegevensstructuur kan worden gewijzigd",
304
+ "fr": "La structure des données peut être modifiée",
305
+ "it": "La struttura dei dati potrebbe essere modificata",
306
+ "es": "La estructura de datos podría cambiarse",
307
+ "pl": "Struktura danych może zostać zmieniona",
308
+ "uk": "Структура даних може бути змінена",
309
+ "zh-cn": "数据结构可能会更改"
310
+ },
311
+ "text": {
312
+ "en": "Due to new used parser data structure might be changed. Please verify your settings.",
313
+ "de": "Aufgrund der neuen gebrauchten Parser -Datenstruktur kann geändert werden. Bitte überprüfen Sie Ihre Einstellungen.",
314
+ "ru": "Из -за новой используемой структуры данных анализатора может быть изменена. Пожалуйста, проверьте свои настройки.",
315
+ "pt": "Devido à nova estrutura de dados do analisador usada pode ser alterada. Por favor, verifique suas configurações.",
316
+ "nl": "Vanwege de nieuwe gebruikte Parser -gegevensstructuur kan worden gewijzigd. Controleer uw instellingen.",
317
+ "fr": "En raison de la nouvelle structure de données de l'analyseur d'occasion, il peut être modifié. Veuillez vérifier vos paramètres.",
318
+ "it": "A causa della nuova struttura dati di parser utilizzata potrebbe essere modificata. Verifica le tue impostazioni.",
319
+ "es": "Debido a la nueva estructura de datos de analizador utilizado podría cambiarse. Verifique su configuración.",
320
+ "pl": "Ze względu na nową używaną strukturę danych parserów może zostać zmieniona. Sprawdź swoje ustawienia.",
321
+ "uk": "Через нову використану структуру даних аналізатора може бути змінено. Будь ласка, перевірте свої налаштування.",
322
+ "zh-cn": "由于新使用的解析器,数据结构可能会更改。请验证您的设置。"
323
+ },
324
+ "level": "warn",
325
+ "buttons": [
326
+ "agree",
327
+ "cancel"
328
+ ]
289
329
  }
290
330
  ]
291
331
  },
@@ -301,6 +341,7 @@
301
341
  "maxretries": 5,
302
342
  "readInterval": 5,
303
343
  "History4Vis2": false,
344
+ "DisableTimeUpdateCheck": false,
304
345
  "HTTPparameter": [
305
346
  {
306
347
  "active": false,
@@ -1,8 +1,10 @@
1
+ /* eslint-disable prefer-template */
1
2
  "use strict";
2
3
 
3
4
  const heatingcontrolDictionary = require("./vis_words.js").heatingcontrolDictionary;
4
5
 
5
6
  /**
7
+ * @param {object} adapter
6
8
  * @param {string} timeVal
7
9
  * @param {string} timeLimit
8
10
  */
@@ -23,22 +25,20 @@ function IsLater(adapter, timeVal, timeLimit) {
23
25
  ret = true;
24
26
  adapter.log.debug("yes, IsLater : " + timeVal + " " + timeLimit);
25
27
  }
26
- }
27
- else {
28
+ } else {
28
29
  adapter.log.error("string does not contain : " + timeVal + " " + timeLimit);
29
30
  }
30
- }
31
- else {
31
+ } else {
32
32
  adapter.log.error("not a string " + typeof timeVal + " " + typeof timeLimit);
33
33
  }
34
- }
35
- catch (e) {
34
+ } catch (e) {
36
35
  adapter.log.error("exception in IsLater [" + e + "]");
37
36
  }
38
37
  return ret;
39
38
  }
40
39
 
41
40
  /**
41
+ * @param {object} adapter
42
42
  * @param {string } timeVal
43
43
  * @param {string } [timeLimit]
44
44
  */
@@ -59,22 +59,20 @@ function IsEarlier(adapter, timeVal, timeLimit) {
59
59
  ret = true;
60
60
  adapter.log.debug("yes, IsEarlier : " + timeVal + " " + timeLimit);
61
61
  }
62
- }
63
- else {
62
+ } else {
64
63
  adapter.log.error("string does not contain : " + timeVal + " " + timeLimit);
65
64
  }
66
- }
67
- else {
65
+ } else {
68
66
  adapter.log.error("not a string " + typeof timeVal + " " + typeof timeLimit);
69
67
  }
70
- }
71
- catch (e) {
68
+ } catch (e) {
72
69
  adapter.log.error("exception in IsEarlier [" + e + "]");
73
70
  }
74
71
  return ret;
75
72
  }
76
73
 
77
74
  /**
75
+ * @param {object} adapter
78
76
  * @param {string} timeVal
79
77
  * @param {string} timeLimit
80
78
  */
@@ -94,16 +92,13 @@ function IsEqual(adapter, timeVal, timeLimit) {
94
92
  ret = true;
95
93
  adapter.log.debug("yes, IsEqual : " + timeVal + " " + timeLimit);
96
94
  }
97
- }
98
- else {
95
+ } else {
99
96
  adapter.log.error("string does not contain : " + timeVal + " " + timeLimit);
100
97
  }
101
- }
102
- else {
98
+ } else {
103
99
  adapter.log.error("not a string " + typeof timeVal + " " + typeof timeLimit);
104
100
  }
105
- }
106
- catch (e) {
101
+ } catch (e) {
107
102
  adapter.log.error("exception in IsEqual [" + e + "]");
108
103
  }
109
104
  return ret;
@@ -190,16 +185,14 @@ function timeConverter(SystemLanguage,time, timeonly = false) {
190
185
 
191
186
  if (time != null) {
192
187
  a = new Date(time);
193
- }
194
- else {
188
+ } else {
195
189
  a = new Date();
196
190
  }
197
191
  let months;
198
192
 
199
193
  if (SystemLanguage === "de") {
200
194
  months = ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"];
201
- }
202
- else {
195
+ } else {
203
196
  months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
204
197
  }
205
198
  const year = a.getFullYear();
@@ -216,8 +209,7 @@ function timeConverter(SystemLanguage,time, timeonly = false) {
216
209
  let sRet = "";
217
210
  if (timeonly) {
218
211
  sRet = hour + ":" + min + ":" + sec;
219
- }
220
- else {
212
+ } else {
221
213
  sRet = date + " " + month + " " + year + " " + hour + ":" + min + ":" + sec;
222
214
  }
223
215
 
@@ -231,25 +223,20 @@ function CheckValidTime(adapter, id, time) {
231
223
  if (time === "null" || typeof time === undefined) {
232
224
  adapter.log.error("time value not found for " + id);
233
225
 
234
- }
235
- else if (typeof time !== "string") {
226
+ } else if (typeof time !== "string") {
236
227
  adapter.log.error("time should be a string but is " + typeof time.val + " for " + id);
237
228
 
238
- }
239
- else if (time.length < 3) {
229
+ } else if (time.length < 3) {
240
230
  adapter.log.error("time not long enough for " + id);
241
231
 
242
- }
243
- else if (!time.includes(":")) {
232
+ } else if (!time.includes(":")) {
244
233
  adapter.log.error("time ':' missing for " + id);
245
- }
246
- else {
234
+ } else {
247
235
  const times = time.split(":");
248
236
  sRet = "0" + times[0].slice(-2) + ":" + "0" + times[1].slice(-2);
249
237
  }
250
238
 
251
- }
252
- catch (e) {
239
+ } catch (e) {
253
240
  adapter.log.error("exception in CheckValidTime [" + e + "] for " + id + " " + JSON.stringify(time));
254
241
 
255
242
  }
@@ -270,13 +257,11 @@ function Check4ValidTemperature(adapter, temperature) {
270
257
 
271
258
  adapter.log.debug("try to convert " + temperature + " to a number");
272
259
  return Number(temperature);
273
- }
274
- else {
260
+ } else {
275
261
  return temperature;
276
262
  }
277
263
 
278
- }
279
- catch (e) {
264
+ } catch (e) {
280
265
  adapter.log.error("exception in Check4ValidTemperature [" + e + "]");
281
266
  return 0;
282
267
  }
@@ -315,8 +300,7 @@ function IsSummerTime(adapter, sStartDate, sEndDate) {
315
300
  //end already past, increase end year
316
301
  EndDate.setFullYear(EndDate.getFullYear() + 1);
317
302
  adapter.log.debug("corrected End " + EndDate.toDateString());
318
- }
319
- else {
303
+ } else {
320
304
  //else decrease Start year
321
305
  StartDate.setFullYear(StartDate.getFullYear() - 1);
322
306
  adapter.log.debug("corrected Start " + StartDate.toDateString());
@@ -326,15 +310,13 @@ function IsSummerTime(adapter, sStartDate, sEndDate) {
326
310
  if (now >= StartDate && now <= EndDate) {
327
311
  adapter.log.debug("we are in period");
328
312
  ret = true;
329
- }
330
- else {
313
+ } else {
331
314
  adapter.log.debug("we are not in period, after start " + StartDate.toDateString() + " and before end " + EndDate.toDateString());
332
315
  ret = false;
333
316
  }
334
317
  }
335
318
  }
336
- }
337
- catch (e) {
319
+ } catch (e) {
338
320
  adapter.log.error("exception catch in IsSummerTime [" + e + "] ");
339
321
  }
340
322
  return ret;