iobroker.ebus 3.4.0 → 3.5.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2024 René G. <info@rg-engineering.eu>
3
+ Copyright (c) 2017-2025 René G. <info@rg-engineering.eu>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -69,6 +69,10 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
69
69
  Placeholder for the next version (at the beginning of the line):
70
70
  ### **WORK IN PROGRESS**
71
71
  -->
72
+ ### 3.5.0 (2025-01-27)
73
+ * (René) catch exceptions reportet by sentry
74
+ * (René) option to disable check of last update time (see issue #391)
75
+
72
76
  ### 3.4.0 (2024-12-10)
73
77
  * (René) migration to jsonConfig
74
78
  * (René) see issue #383: add optionally parameters to HTTP call
@@ -231,7 +235,7 @@ Attention: command in datapoint ebus.0.cmd is deleted after executing of command
231
235
  ## License
232
236
  MIT License
233
237
 
234
- Copyright (c) 2017-2024 René G. <info@rg-engineering.eu>
238
+ Copyright (c) 2017-2025 René G. <info@rg-engineering.eu>
235
239
 
236
240
  Permission is hereby granted, free of charge, to any person obtaining a copy
237
241
  of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Gerät, in dem nach Parametern gesucht wird",
3
+ "DisableTimeUpdateCheck": "Zeit der letzten Aktualisierung nicht prüfen",
4
+ "DisableTimeUpdateCheckHelp": "Wird verwendet, um unerwünschte Warnungen im Protokoll über nicht aktualisierte Datenpunkten zu vermeiden",
3
5
  "History4Vis2": "Kompatibilität der Verlaufswerte für das (neue) VIS-2-Widget",
4
6
  "Main settings": "Allgemeine Einstellungen",
5
7
  "active": "aktiv",
@@ -1,5 +1,7 @@
1
1
  {
2
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",
3
5
  "History4Vis2": "compatibility to history value for (new) VIS-2 widget",
4
6
  "Main settings": "Main settings",
5
7
  "active": "active",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Circuito en el que se buscan parámetros",
3
+ "DisableTimeUpdateCheck": "Desactivar la verificación de la actualización del tiempo",
4
+ "DisableTimeUpdateCheckHelp": "Se usa para evitar advertencias no deseadas en el registro sobre puntos de datos no superpuestos",
3
5
  "History4Vis2": "Crear valor de historial para el widget VIS-2",
4
6
  "Main settings": "Configuraciones principales",
5
7
  "active": "activo",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Circuit dans lequel les paramètres sont recherchés",
3
+ "DisableTimeUpdateCheck": "Désactiver le chèque de mise à jour du temps",
4
+ "DisableTimeUpdateCheckHelp": "Utilisé pour éviter les avertissements indésirables dans le journal sur les points de données unpudés",
3
5
  "History4Vis2": "Créer une valeur historique pour le widget VIS-2",
4
6
  "Main settings": "Paramètres principaux",
5
7
  "active": "actif",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Circuito in cui vengono cercati i parametri",
3
+ "DisableTimeUpdateCheck": "Disabilita Time Aggiornamento Aggiornamento",
4
+ "DisableTimeUpdateCheckHelp": "utilizzato per evitare avvisi indesiderati nel registro relativi a punti dati non aggiornati",
3
5
  "History4Vis2": "Crea un valore di cronologia per il widget VIS-2",
4
6
  "Main settings": "Impostazioni principali",
5
7
  "active": "attivo",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Circuit waarin parameters worden gezocht",
3
+ "DisableTimeUpdateCheck": "Schakel Tijdupdatecontrole uit",
4
+ "DisableTimeUpdateCheckHelp": "gebruikt om ongewenste waarschuwingen in het logboek over niet-bijgewerkte gegevenspunten te voorkomen",
3
5
  "History4Vis2": "Creëer geschiedeniswaarde voor VIS-2 widget",
4
6
  "Main settings": "Belangrijkste instellingen",
5
7
  "active": "actief",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Obwód, w którym szukane są parametry",
3
+ "DisableTimeUpdateCheck": "Wyłącz sprawdzanie aktualizacji czasu",
4
+ "DisableTimeUpdateCheckHelp": "używany do uniknięcia niechcianych ostrzeżeń w dzienniku o nieaktualizowanych punktach danych",
3
5
  "History4Vis2": "Utwórz wartość historii dla widżetu VIS-2",
4
6
  "Main settings": "Główne ustawienia",
5
7
  "active": "aktywny",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Circuito no qual se pesquisam parâmetros",
3
+ "DisableTimeUpdateCheck": "Desativar verificação de atualização de horário",
4
+ "DisableTimeUpdateCheckHelp": "Usado para evitar avisos indesejados no log sobre pontos de dados não legais",
3
5
  "History4Vis2": "Criar valor histórico para o widget VIS-2",
4
6
  "Main settings": "Configurações principais",
5
7
  "active": "ativo",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Цепь, в которой ищутся параметры",
3
+ "DisableTimeUpdateCheck": "Отключить проверку времени",
4
+ "DisableTimeUpdateCheckHelp": "Используется, чтобы избежать нежелательных предупреждений в журнале о незаконных точках данных",
3
5
  "History4Vis2": "Создать значение истории для виджета VIS-2",
4
6
  "Main settings": "Основные настройки",
5
7
  "active": "активный",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "Схема, в якій здійснюється пошук параметрів",
3
+ "DisableTimeUpdateCheck": "Вимкнути перевірку оновлення часу",
4
+ "DisableTimeUpdateCheckHelp": "Використовується для уникнення небажаних попереджень у журналі про неофіційні точки даних",
3
5
  "History4Vis2": "Створення значення історії для віджета VIS-2",
4
6
  "Main settings": "Основні налаштування",
5
7
  "active": "активний",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Circuit4Find": "搜索参数的电路",
3
+ "DisableTimeUpdateCheck": "禁用时间更新检查",
4
+ "DisableTimeUpdateCheckHelp": "用于避免日志中出现有关未更新数据点的不必要的警告",
3
5
  "History4Vis2": "为 VIS-2 小部件创建历史值",
4
6
  "Main settings": "主要设置",
5
7
  "active": "积极的",
@@ -45,6 +45,18 @@
45
45
  "lg": 4,
46
46
  "xl": 4
47
47
  },
48
+ "DisableTimeUpdateCheck": {
49
+ "newLine": true,
50
+ "type": "checkbox",
51
+ "label": "DisableTimeUpdateCheck",
52
+ "help": "DisableTimeUpdateCheckHelp",
53
+ "default": false,
54
+ "xs": 12,
55
+ "sm": 12,
56
+ "md": 4,
57
+ "lg": 4,
58
+ "xl": 4
59
+ },
48
60
  "History4Vis2": {
49
61
  "newLine": true,
50
62
  "type": "checkbox",
package/admin/words.js CHANGED
@@ -9,6 +9,8 @@
9
9
 
10
10
  systemDictionary = {
11
11
  "Circuit4Find": { "en": "Circuit in which parameters are searched ", "de": "Gerät, in dem nach Parametern gesucht wird", "ru": "Цепь, в которой ищутся параметры", "pt": "Circuito no qual se pesquisam parâmetros", "nl": "Circuit waarin parameters worden gezocht", "fr": "Circuit dans lequel les paramètres sont recherchés", "it": "Circuito in cui vengono cercati i parametri", "es": "Circuito en el que se buscan parámetros", "pl": "Obwód, w którym szukane są parametry", "uk": "Схема, в якій здійснюється пошук параметрів", "zh-cn": "搜索参数的电路"},
12
+ "DisableTimeUpdateCheck": { "en": "Disable Time Update Check", "de": "Zeit der letzten Aktualisierung nicht prüfen", "ru": "Отключить проверку времени", "pt": "Desativar verificação de atualização de horário", "nl": "Schakel Tijdupdatecontrole uit", "fr": "Désactiver le chèque de mise à jour du temps", "it": "Disabilita Time Aggiornamento Aggiornamento", "es": "Desactivar la verificación de la actualización del tiempo", "pl": "Wyłącz sprawdzanie aktualizacji czasu", "uk": "Вимкнути перевірку оновлення часу", "zh-cn": "禁用时间更新检查"},
13
+ "DisableTimeUpdateCheckHelp": { "en": "used to avoid unwanted warnings in log about unupdated data points", "de": "Wird verwendet, um unerwünschte Warnungen im Protokoll über nicht aktualisierte Datenpunkten zu vermeiden", "ru": "Используется, чтобы избежать нежелательных предупреждений в журнале о незаконных точках данных", "pt": "Usado para evitar avisos indesejados no log sobre pontos de dados não legais", "nl": "gebruikt om ongewenste waarschuwingen in het logboek over niet-bijgewerkte gegevenspunten te voorkomen", "fr": "Utilisé pour éviter les avertissements indésirables dans le journal sur les points de données unpudés", "it": "utilizzato per evitare avvisi indesiderati nel registro relativi a punti dati non aggiornati", "es": "Se usa para evitar advertencias no deseadas en el registro sobre puntos de datos no superpuestos", "pl": "używany do uniknięcia niechcianych ostrzeżeń w dzienniku o nieaktualizowanych punktach danych", "uk": "Використовується для уникнення небажаних попереджень у журналі про неофіційні точки даних", "zh-cn": "用于避免日志中出现有关未更新数据点的不必要的警告"},
12
14
  "History4Vis2": { "en": "compatibility to history value for (new) VIS-2 widget", "de": "Kompatibilität der Verlaufswerte für das (neue) VIS-2-Widget", "ru": "Создать значение истории для виджета VIS-2", "pt": "Criar valor histórico para o widget VIS-2", "nl": "Creëer geschiedeniswaarde voor VIS-2 widget", "fr": "Créer une valeur historique pour le widget VIS-2", "it": "Crea un valore di cronologia per il widget VIS-2", "es": "Crear valor de historial para el widget VIS-2", "pl": "Utwórz wartość historii dla widżetu VIS-2", "uk": "Створення значення історії для віджета VIS-2", "zh-cn": "为 VIS-2 小部件创建历史值"},
13
15
  "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": "主要设置"},
14
16
  "active": { "en": "active", "de": "aktiv", "ru": "активный", "pt": "ativo", "nl": "actief", "fr": "actif", "it": "attivo", "es": "activo", "pl": "aktywny", "uk": "активний", "zh-cn": "积极的"},
@@ -29,7 +31,7 @@ systemDictionary = {
29
31
  "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 历史小部件一起使用的所有数据点名称的列表。"},
30
32
  "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": "应从适配器轮询的所有数据点名称的列表。"},
31
33
  "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": "历史数据点"},
32
- "historyDP configuration": { "en": "historyDP 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配置"},
34
+ "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配置"},
33
35
  "maxretries": { "en": "maximum number of retries to send a command ", "de": "maximale Anzahl von Wiederholungen, um einen Befehl zu senden", "ru": "максимальное количество попыток отправки команды", "pt": "número máximo de tentativas para enviar um comando", "nl": "maximum aantal pogingen om een ​​opdracht te verzenden", "fr": "nombre maximum de tentatives pour envoyer une commande", "it": "numero massimo di tentativi per inviare un comando", "es": "número máximo de reintentos para enviar un comando", "pl": "maksymalna liczba ponownych prób wysłania polecenia", "uk": "максимальна кількість повторів для надсилання команди", "zh-cn": "发送命令的最大重试次数"},
34
36
  "name": { "en": "name", "de": "Name", "ru": "имя", "pt": "nome", "nl": "naam", "fr": "Nom", "it": "nome", "es": "nombre", "pl": "Nazwa", "uk": "назва", "zh-cn": "姓名"},
35
37
  "optional HTTP parameter": { "en": "optional HTTP parameter", "de": "optionale HTTP Parameter", "ru": "необязательный параметр HTTP", "pt": "parâmetro HTTP opcional", "nl": "optionele HTTP-parameter", "fr": "paramètre HTTP facultatif", "it": "parametro HTTP opzionale", "es": "parámetro HTTP opcional", "pl": "opcjonalny parametr HTTP", "uk": "необов'язковий параметр HTTP", "zh-cn": "可选的 HTTP 参数"},
@@ -41,7 +43,7 @@ systemDictionary = {
41
43
  "page_polledDP": { "en": "polled datapoints", "de": "abgefragte Datenpunkte", "ru": "опрошенные точки данных", "pt": "pontos de dados pesquisados", "nl": "ondervraagde datapunten", "fr": "points de données interrogés", "it": "punti dati interrogati", "es": "puntos de datos encuestados", "pl": "odpytywane punkty danych", "uk": "опитувані точки даних", "zh-cn": "轮询数据点"},
42
44
  "parse_timeout": { "en": "download and poll timeout [seconds]", "de": "Download und Abfrage-Timeout [Sekunden]", "ru": "время ожидания загрузки и опроса [секунд]", "pt": "tempo de download e poll timeout [segundos]", "nl": "downloaden en poll time-out [seconden]", "fr": "délai de téléchargement et d'interrogation [secondes]", "it": "download e polling timeout [secondi]", "es": "tiempo de espera de descarga y encuesta [segundos]", "pl": "czas pobierania i odpytywania [sekundy]", "uk": "час очікування завантаження та опитування [секунди]", "zh-cn": "下载和轮询超时[秒]"},
43
45
  "polledDP": { "en": "polledDP", "de": "polledDP", "ru": "опрошенные точки данных", "pt": "pontos de dados sondados", "nl": "opgevraagde datapunten", "fr": "points de données interrogés", "it": "punti dati interrogati", "es": "puntos de datos sondeados", "pl": "odpytywane punkty danych", "uk": "опитувані точки даних", "zh-cn": "轮询数据点"},
44
- "polledDP configuration": { "en": "polledDP configuration", "de": "abgefragte Datenpunkt-Konfiguration", "ru": "конфигурация polledDP", "pt": "configuração polledDP", "nl": "polledDP-configuratie", "fr": "configuration DP interrogée", "it": "configurazione polledDP", "es": "configuración de polledDP", "pl": "konfiguracja polledDP", "uk": "конфігурація polledDP", "zh-cn": "polledDP配置"},
46
+ "polledDP configuration": { "en": "polled DP configuration", "de": "abgefragte Datenpunkt-Konfiguration", "ru": "конфигурация polledDP", "pt": "configuração polledDP", "nl": "polledDP-configuratie", "fr": "configuration DP interrogée", "it": "configurazione polledDP", "es": "configuración de polledDP", "pl": "konfiguracja polledDP", "uk": "конфігурація polledDP", "zh-cn": "polledDP配置"},
45
47
  "readInterval": { "en": "interval to read data from ebusd [min]", "de": "Intervall zum Lesen von Daten aus ebusd [min]", "ru": "интервал чтения данных из ebusd [мин]", "pt": "intervalo para ler dados de ebusd [min]", "nl": "interval om gegevens van ebusd te lezen [min]", "fr": "intervalle de lecture des données depuis ebusd [min]", "it": "intervallo per leggere i dati da ebusd [min]", "es": "intervalo para leer datos de ebusd [min]", "pl": "interwał odczytu danych z ebusd [min]", "uk": "інтервал читання даних з ebusd [хв]", "zh-cn": "从 ebusd 读取数据的间隔 [分钟]"},
46
48
  "target_HTTPPort": { "en": "HTTP Port to read data", "de": "HTTP Port zum Lesen von Daten", "ru": "целевой HTTP-порт для чтения данных", "pt": "porta HTTP de destino para ler dados", "nl": "doel HTTP-poort om gegevens te lezen", "fr": "Port HTTP cible pour lire les données", "it": "Porta HTTP di destinazione per leggere i dati", "es": "target HTTP Port para leer datos", "pl": "docelowy port HTTP do odczytu danych", "uk": "цільовий порт HTTP для читання даних", "zh-cn": "目标HTTP端口以读取数据"},
47
49
  "target_IP": { "en": "target IP", "de": "IP-Adresse", "ru": "целевой IP-адрес", "pt": "IP alvo", "nl": "doel-IP", "fr": "cible IP", "it": "IP di destinazione", "es": "IP objetivo", "pl": "docelowy adres IP", "uk": "цільовий IP", "zh-cn": "目标IP"},
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "ebus",
4
- "version": "3.4.0",
4
+ "version": "3.5.0",
5
5
  "news": {
6
+ "3.5.0": {
7
+ "en": "catch exceptions reportet by sentry\noption to disable check of last update time (see issue #391)",
8
+ "de": "fangausnahmen reportet by sentry\noption zum deaktivieren der letzten aktualisierungszeit (siehe ausgabe #391)",
9
+ "ru": "репортаж об исключениях улова\nвозможность отключить проверку последнего времени обновления (см. вопрос #391)",
10
+ "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)",
11
+ "nl": "vangstuitzonderingen verslaget door de wacht\noptie om controle van de laatste updatetijd uit te schakelen (zie probleem #391)",
12
+ "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)",
13
+ "it": "cattura le eccezioni reportet da mittente\nopzione per disabilitare il controllo dell'ultimo aggiornamento (vedere numero #391)",
14
+ "es": "catch exceptions reportet by centry\nopción para desactivar el cheque de la última hora de actualización (ver número #391)",
15
+ "pl": "połowów wyjątków reportet przez wartownik\nopcja wyłączenia sprawdzania czasu ostatniej aktualizacji (patrz numer # 391)",
16
+ "uk": "виняток винятку по відправці\nможливість відключити перевірку останнього часу оновлення (див. проблему #391)",
17
+ "zh-cn": "按哨兵分列的渔获量例外报告\n选项以禁用上次更新时间的检查(见第391期)"
18
+ },
6
19
  "3.4.0": {
7
20
  "en": "migration to jsonConfig\nsee issue #383: add optionally parameters to HTTP call",
8
21
  "de": "migration nach jsonConfig\nsiehe Ausgabe #383: optionale Parameter zum HTTP-Aufruf hinzufügen",
@@ -80,19 +93,6 @@
80
93
  "pl": "naprawianie błędów po aktualizacji 3.3.2",
81
94
  "uk": "виправлення помилок після 3.3.2 оновлення",
82
95
  "zh-cn": "3.3.2 更新后修复错误"
83
- },
84
- "3.3.3": {
85
- "en": "downgrade of \"promise-socket\" to 7.0.0",
86
- "de": "downgrade von \"promise-socket\" bis 7.0.0",
87
- "ru": "понижение «промиза-сокет» до 7.0.0",
88
- "pt": "downgrade de \"promise-socket\" para 7.0.0",
89
- "nl": "downgrade van \"belofte-zak\" naar 7.0.0",
90
- "fr": "downgrade de \"promise-socket\" à 7.0.0",
91
- "it": "downgrade di \"promise-socket\" a 7.0.0",
92
- "es": "bajada de \"promise-socket\" a 7.0.0",
93
- "pl": "obniżenie wartości \"socket-socket\" do 7.0.0",
94
- "uk": "до 7.0.0",
95
- "zh-cn": "将\"承诺-口袋\"降级为7.0.0"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/main.js CHANGED
@@ -194,37 +194,45 @@ async function DataRequest() {
194
194
  const oPolledVars = [];
195
195
  function FillPolledVars() {
196
196
 
197
- if ( adapter.config.PolledDPs !== undefined && adapter.config.PolledDPs != null && adapter.config.PolledDPs.length > 0) {
198
- adapter.log.debug("use new object list for polled vars");
197
+ try {
198
+ if (adapter.config.PolledDPs !== undefined && adapter.config.PolledDPs != null && adapter.config.PolledDPs.length > 0) {
199
+ adapter.log.debug("use new object list for polled vars");
199
200
 
200
- //2023-02-10 only active vars
201
- for (let i = 0; i < adapter.config.PolledDPs.length; i++) {
202
- if (adapter.config.PolledDPs[i].active) {
203
- oPolledVars.push(adapter.config.PolledDPs[i]);
201
+ //2023-02-10 only active vars
202
+ for (let i = 0; i < adapter.config.PolledDPs.length; i++) {
203
+ if (adapter.config.PolledDPs[i].active) {
204
+ oPolledVars.push(adapter.config.PolledDPs[i]);
205
+ }
204
206
  }
207
+
205
208
  }
206
-
207
- }
208
- else {
209
- //make it compatible to old versions
210
- adapter.log.debug("check old comma separeted list for polled vars");
211
- const oPolled = adapter.config.PolledValues.split(",");
212
-
213
- if (oPolled.length > 0) {
214
-
215
- for (let i = 0; i < oPolled.length; i++) {
216
- if (oPolled[i].length > 0) {
217
- //console.log('add ' + oPolled[i]);
218
- const value = {
219
- circuit: "",
220
- name: oPolled[i],
221
- parameter: ""
222
- };
223
- oPolledVars.push(value);
209
+ else {
210
+ //make it compatible to old versions
211
+ adapter.log.debug("check old comma separeted list for polled vars " + adapter.config.PolledValues);
212
+
213
+ if (adapter.config.PolledValues !== undefined && typeof adapter.config.PolledValues == "string") {
214
+ const oPolled = adapter.config.PolledValues.split(",");
215
+
216
+ if (oPolled.length > 0) {
217
+
218
+ for (let i = 0; i < oPolled.length; i++) {
219
+ if (oPolled[i].length > 0) {
220
+ //console.log('add ' + oPolled[i]);
221
+ const value = {
222
+ circuit: "",
223
+ name: oPolled[i],
224
+ parameter: ""
225
+ };
226
+ oPolledVars.push(value);
227
+ }
228
+ }
224
229
  }
225
230
  }
226
231
  }
227
232
  }
233
+ catch (e) {
234
+ adapter.log.error("exception in FillPolledVars [" + e + "]");
235
+ }
228
236
 
229
237
  adapter.log.info("list of polled vars " + JSON.stringify(oPolledVars));
230
238
 
@@ -232,29 +240,34 @@ function FillPolledVars() {
232
240
 
233
241
  let oHistoryVars = [];
234
242
  function FillHistoryVars() {
235
-
236
- if (adapter.config.HistoryDPs !== undefined && adapter.config.HistoryDPs != null && adapter.config.HistoryDPs.length > 0) {
237
- adapter.log.debug("use new object list for history vars");
238
- oHistoryVars = adapter.config.HistoryDPs;
239
- }
240
- else {
241
- //make it compatible to old versions
242
- adapter.log.debug("check old comma separeted list for history vars");
243
- const oHistory = adapter.config.HistoryValues.split(",");
244
-
245
- if (oHistory.length > 0) {
246
243
 
247
- for (let i = 0; i < oHistory.length; i++) {
248
- if (oHistory[i].length > 0) {
249
- console.log("add " + oHistory[i]);
250
- const value = {
251
- name: oHistory[i],
252
- };
253
- oHistoryVars.push(value);
244
+ try {
245
+ if (adapter.config.HistoryDPs !== undefined && adapter.config.HistoryDPs != null && adapter.config.HistoryDPs.length > 0) {
246
+ adapter.log.debug("use new object list for history vars");
247
+ oHistoryVars = adapter.config.HistoryDPs;
248
+ }
249
+ else {
250
+ //make it compatible to old versions
251
+ adapter.log.debug("check old comma separeted list for history vars");
252
+ const oHistory = adapter.config.HistoryValues.split(",");
253
+
254
+ if (oHistory.length > 0) {
255
+
256
+ for (let i = 0; i < oHistory.length; i++) {
257
+ if (oHistory[i].length > 0) {
258
+ console.log("add " + oHistory[i]);
259
+ const value = {
260
+ name: oHistory[i],
261
+ };
262
+ oHistoryVars.push(value);
263
+ }
254
264
  }
255
265
  }
256
266
  }
257
267
  }
268
+ catch (e) {
269
+ adapter.log.error("exception in function FillHistoryVars [" + e + "]");
270
+ }
258
271
  }
259
272
 
260
273
  let oHTTPParamsVars = [];
@@ -666,6 +679,12 @@ async function ebusd_ReceiveData() {
666
679
 
667
680
  adapter.log.debug("request data from " + sUrl);
668
681
 
682
+ if (adapter.config.DisableTimeUpdateCheck === undefined) {
683
+ adapter.log.error("please check config, DisableTimeUpdateCheck not defined yet ");
684
+ }
685
+
686
+
687
+
669
688
  try {
670
689
 
671
690
  const buffer = await axios.get(sUrl);
@@ -870,7 +889,8 @@ async function ebusd_ReceiveData() {
870
889
  if (subnames[0].includes("scan") ||
871
890
  subnames[0].includes("Scan") ||
872
891
  subnames[0].includes("ehp") ||
873
- (subnames.length > 2 && subnames[2].includes("currenterror"))
892
+ (subnames.length > 2 && subnames[2].includes("currenterror")) ||
893
+ adapter.config.DisableTimeUpdateCheck
874
894
 
875
895
  ) {
876
896
  bSkip = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.ebus",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "ioBroker ebus Adapter",
5
5
  "author": {
6
6
  "name": "René G.",
@@ -35,9 +35,9 @@
35
35
  "@alcalzone/release-script-plugin-license": "^3.7.0",
36
36
  "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
37
37
  "@iobroker/adapter-dev": "^1.3.0",
38
- "@iobroker/testing": "^5.0.0",
38
+ "@iobroker/testing": "^5.0.3",
39
39
  "chai": "^5.1.2",
40
- "mocha": "^11.0.0"
40
+ "mocha": "^11.1.0"
41
41
  },
42
42
  "main": "main.js",
43
43
  "bugs": {