iobroker.e3oncan 0.6.16 → 0.6.18

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
@@ -102,6 +102,14 @@ Yes, that is possible under certain conditions:
102
102
  Placeholder for the next version (at the beginning of the line):
103
103
  ### **WORK IN PROGRESS**
104
104
  -->
105
+ ### 0.6.18 (2024-02-08)
106
+ * (MyHomeMyData) Added versioning to list of datapoints and check for updates on start of adapter
107
+ * (MyHomeMyData) Added optional description in configuration of UDS schedules
108
+
109
+ ### 0.6.17 (2024-01-29)
110
+ * (MyHomeMyData) Added/removed datapoints to/from list of writable dids
111
+ * (MyHomeMyData) Preparations for device specific list of writable dids
112
+
105
113
  ### 0.6.16 (2024-01-27)
106
114
  * (MyHomeMyData) Improvements based on findings in review as of 2024-01-25
107
115
  * (MyHomeMyData) Checkbox for data collectiton on internal bus is now checked per default
@@ -57,5 +57,7 @@
57
57
  "Assignments to Internal CAN Adapter": "Zuordnungen zum internen CAN-Adapter",
58
58
  "Collecting Data on Internal CAN Adapter": "Sammeln von Daten auf dem internen CAN-Adapter",
59
59
  "Update list of datapoints": "Liste der Datenpunkte aktualisieren",
60
- "Start scan to update list of devices": "Scan starten, um die Liste der UDS-Geräte zu aktualisieren"
60
+ "Start scan to update list of devices": "Scan starten, um die Liste der UDS-Geräte zu aktualisieren",
61
+ "Description": "Beschreibung",
62
+ "Optional description of this schedule.": "Optionale Beschreibung dieses Zeitplans."
61
63
  }
@@ -57,5 +57,7 @@
57
57
  "Assignments to Internal CAN Adapter":"Assignments to Internal CAN Adapter",
58
58
  "Collecting Data on Internal CAN Adapter":"Collecting Data on Internal CAN Adapter",
59
59
  "Update list of datapoints":"Update list of datapoints",
60
- "Start scan to update list of devices":"Start scan to update list of devices"
60
+ "Start scan to update list of devices":"Start scan to update list of devices",
61
+ "Description":"Description",
62
+ "Optional description of this schedule.":"Optional description of this schedule."
61
63
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Escuche los datos sobre las direcciones que figuran en esta tabla. No se puede escribir en el bus CAN.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Dispositivos para la recogida de datos. No se puede escribir en el bus CAN. Presione '+' para agregar el dispositivo.",
61
61
  "Update list of datapoints": "Actualizar lista de puntos de datos",
62
- "Start scan to update list of devices": "Iniciar escaneo para actualizar la lista de dispositivos"
62
+ "Start scan to update list of devices": "Iniciar escaneo para actualizar la lista de dispositivos",
63
+ "Description": "Descripción",
64
+ "Optional description of this schedule.": "Descripción opcional de este horario."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Écoutez les données sur les adresses indiquées dans ce tableau. Pas d'écriture sur le bus CAN.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Appareils de collecte de données. Pas d'écriture sur le bus CAN. Appuyez sur « + » pour ajouter un appareil.",
61
61
  "Update list of datapoints": "Mettre à jour la liste des points de données",
62
- "Start scan to update list of devices": "Démarrer l'analyse pour mettre à jour la liste des appareils"
62
+ "Start scan to update list of devices": "Démarrer l'analyse pour mettre à jour la liste des appareils",
63
+ "Description": "Description",
64
+ "Optional description of this schedule.": "Description facultative de cet horaire."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Ascoltare i dati sugli indirizzi forniti in questa tabella. Nessuna scrittura sul bus CAN.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Dispositivi per la raccolta dei dati. Nessuna scrittura sul bus CAN. Premi \"+\" per aggiungere il dispositivo.",
61
61
  "Update list of datapoints": "Aggiorna l'elenco dei punti dati",
62
- "Start scan to update list of devices": "Avvia la scansione per aggiornare l'elenco dei dispositivi"
62
+ "Start scan to update list of devices": "Avvia la scansione per aggiornare l'elenco dei dispositivi",
63
+ "Description": "Descrizione",
64
+ "Optional description of this schedule.": "Descrizione facoltativa di questa pianificazione."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Luister naar gegevens over adressen in deze tabel. Geen schrijven naar CAN-bus.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Apparaten voor het verzamelen van gegevens. Geen schrijven naar CAN-bus. Druk op '+' om apparaat toe te voegen.",
61
61
  "Update list of datapoints": "Lijst met datapunten bijwerken",
62
- "Start scan to update list of devices": "Start de scan om de lijst met apparaten bij te werken"
62
+ "Start scan to update list of devices": "Start de scan om de lijst met apparaten bij te werken",
63
+ "Description": "Beschrijving",
64
+ "Optional description of this schedule.": "Optionele beschrijving van dit schema."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Posłuchaj danych o adresach podanych w tej tabeli. Brak zapisu do magistrali CAN.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Urządzenia do gromadzenia danych. Brak zapisu do magistrali CAN. Naciśnij „+”, aby dodać urządzenie.",
61
61
  "Update list of datapoints": "Zaktualizuj listę punktów danych",
62
- "Start scan to update list of devices": "Rozpocznij skanowanie, aby zaktualizować listę urządzeń"
62
+ "Start scan to update list of devices": "Rozpocznij skanowanie, aby zaktualizować listę urządzeń",
63
+ "Description": "Opis",
64
+ "Optional description of this schedule.": "Opcjonalny opis tego harmonogramu."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Ouça os dados sobre os endereços fornecidos nesta tabela. Não há gravação no barramento CAN.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Dispositivos para coleta de dados. Não há gravação no barramento CAN. Pressione '+' para adicionar dispositivo.",
61
61
  "Update list of datapoints": "Atualizar lista de pontos de dados",
62
- "Start scan to update list of devices": "Inicie a verificação para atualizar a lista de dispositivos"
62
+ "Start scan to update list of devices": "Inicie a verificação para atualizar a lista de dispositivos",
63
+ "Description": "Descrição",
64
+ "Optional description of this schedule.": "Descrição opcional deste cronograma."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Прослушайте данные по адресам, указанным в этой таблице. Нет записи в CAN-шину.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Устройства для сбора данных. Нет записи в CAN-шину. Нажмите «+», чтобы добавить устройство.",
61
61
  "Update list of datapoints": "Обновить список точек данных",
62
- "Start scan to update list of devices": "Запустите сканирование, чтобы обновить список устройств."
62
+ "Start scan to update list of devices": "Запустите сканирование, чтобы обновить список устройств.",
63
+ "Description": "Описание",
64
+ "Optional description of this schedule.": "Необязательное описание этого расписания."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "Прослухайте дані за адресами, наведені в цій таблиці. Немає запису на шину CAN.",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "Пристрої для збору даних. Немає запису на шину CAN. Натисніть «+», щоб додати пристрій.",
61
61
  "Update list of datapoints": "Оновити список точок даних",
62
- "Start scan to update list of devices": "Почніть сканування, щоб оновити список пристроїв"
62
+ "Start scan to update list of devices": "Почніть сканування, щоб оновити список пристроїв",
63
+ "Description": "опис",
64
+ "Optional description of this schedule.": "Додатковий опис цього розкладу."
63
65
  }
@@ -59,5 +59,7 @@
59
59
  "Listen for data on addresses given in this table. No writing to CAN bus.": "侦听此表中给出的地址上的数据。不写入 CAN 总线。",
60
60
  "Devices for collecting data. No writing to CAN bus. Press '+' to add device.": "用于收集数据的设备。不写入 CAN 总线。按“+”添加设备。",
61
61
  "Update list of datapoints": "更新数据点列表",
62
- "Start scan to update list of devices": "开始扫描以更新设备列表"
62
+ "Start scan to update list of devices": "开始扫描以更新设备列表",
63
+ "Description": "描述",
64
+ "Optional description of this schedule.": "此时间表的可选描述。"
63
65
  }
@@ -501,6 +501,16 @@
501
501
  "filter": false,
502
502
  "sort": false,
503
503
  "default": "256"
504
+ },
505
+ {
506
+ "type": "text",
507
+ "attr": "udsScheduleUserComment",
508
+ "width": "30% ",
509
+ "title": "Description",
510
+ "tooltip": "Optional description of this schedule.",
511
+ "filter": false,
512
+ "sort": false,
513
+ "default": ""
504
514
  }
505
515
  ]
506
516
  }
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "e3oncan",
4
- "version": "0.6.16",
4
+ "version": "0.6.18",
5
5
  "news": {
6
+ "0.6.18": {
7
+ "en": "Added versioning to list of datapoints and check for updates on start of adapter\nAdded optional description in configuration of UDS schedules",
8
+ "de": "Hinzugefügte Versionierung zur Liste der Datenpunkte und überprüfen Sie Updates am Anfang des Adapters\nOptionale Beschreibung in Konfiguration von UDS-Zeitplänen hinzugefügt",
9
+ "ru": "Добавлена версия в список точек данных и проверяется на обновления в начале адаптера\nДобавлено дополнительное описание в конфигурации графиков СОД",
10
+ "pt": "Versão adicionada para lista de datapoints e verificar para atualizações no início do adaptador\nDescrição opcional adicionada na configuração de horários UDS",
11
+ "nl": "Versie toevoegen aan lijst van datapunten en controleren op updates bij het begin van de adapter\nOptionele beschrijving toegevoegd in configuratie van UDS-schema's",
12
+ "fr": "Ajout de la version à la liste des points de données et vérification des mises à jour au début de l'adaptateur\nAjout d'une description facultative dans la configuration des horaires UDS",
13
+ "it": "Aggiunta la versione per l'elenco dei datapoint e controllare gli aggiornamenti sull'avvio dell'adattatore\nAggiunta la descrizione facoltativa nella configurazione degli orari UDS",
14
+ "es": "Versión agregada a la lista de puntos de datos y comprobar para actualizaciones en el inicio del adaptador\nDescripción opcional agregada en la configuración de los calendarios UDS",
15
+ "pl": "Dodano wersję do listy punktów danych i sprawdź aktualizacje na początku adaptera\nDodano opcjonalny opis w konfiguracji harmonogramów UDS",
16
+ "uk": "Додано версію для списку точок даних і перевірте оновлення на старті адаптера\nДодано додатковий опис в конфігурації графіків UDS",
17
+ "zh-cn": "在数据点列表中添加版本, 并在适配器启动时检查更新\n在配置 UDS 调度时添加的可选描述"
18
+ },
19
+ "0.6.17": {
20
+ "en": "Added/removed datapoints to/from list of writable dids\nPreparations for device specific list of writable dids",
21
+ "de": "Hinzugefügt/entfernte Datenpunkte zu/aus der Liste der schreibbaren Taten\nVorbereitungen für die gerätespezifische Liste der schreibbaren Taten",
22
+ "ru": "Добавлены/удалены точки данных в/из списка заслуживающих доверия дел\nПодготовка к конкретному списку реальных дел",
23
+ "pt": "Datapoints adicionados/removed para / da lista de dids writable\nPreparações para a lista específica do dispositivo de dids",
24
+ "nl": "Toegevoegd/verwijderde datapunten aan/van lijst van schrijfbare dids\nVoorbereidingen voor apparaatspecifieke lijst van schrijfbare dids",
25
+ "fr": "Ajout/retrait de points de données à la liste des dids en écriture\nPréparations pour la liste spécifique des dids à écrire",
26
+ "it": "Datapoint aggiunti/rimovibili da/per l'elenco di fazioni scrivibili\nPreparazioni per l'elenco specifico del dispositivo di fazioni scrivibili",
27
+ "es": "Puntos de datos añadidos/removidos a/desde la lista de didas\nPreparaciones para la lista específica del dispositivo de didas",
28
+ "pl": "Dodano / usunięto punkty danych do / z listy zapisanych did\nPreparaty do specyficznego dla urządzenia wykazu dysków pisanych",
29
+ "uk": "Додано/видалення точок даних до/з списку збитих\nПрепарати для пристрою специфічного переліку життєздатних",
30
+ "zh-cn": "已添加/删除数据点到/从可写作的列表中\n编写设备特定可写行为清单"
31
+ },
6
32
  "0.6.16": {
7
33
  "en": "Improvements based on findings in review as of 2024-01-25\nCheckbox for data collectiton on internal bus is now checked per default",
8
34
  "de": "Verbesserungen auf der Grundlage der Ergebnisse in der Überprüfung ab 2024-01-25\nCheckbox für Datensammler im internen Bus wird nun standardmäßig überprüft",
@@ -67,32 +93,6 @@
67
93
  "pl": "Dodano punkty danych do listy zapisanych didów\nDodano jednostkowe przypadki badań kodeków\nZwiększona prędkość kodów dla wartości numerycznych\nUlepszone komunikaty błędów w odpowiedzi negatywnej UDS",
68
94
  "uk": "Додано точки даних для списання збитих даних\nДодані випадки тестування блоку для кодеків\nПокращена швидкість кодів для чисельних значень\nПокращуйте повідомлення про помилки у UDS",
69
95
  "zh-cn": "添加数据点到列表可写作的\n为解码器添加单位测试例\n数字值代码速度提高\nUDS 负面响应上改进错误信息"
70
- },
71
- "0.6.11": {
72
- "en": "Improved layout of configuration dialog for device scan",
73
- "de": "Verbessertes Layout des Konfigurationsdialogs für den Gerätescan",
74
- "ru": "Улучшен диалог настройки для сканирования устройства",
75
- "pt": "Melhor layout da caixa de diálogo de configuração para verificação do dispositivo",
76
- "nl": "Verbeterde lay-out van configuratiedialoog voor apparaatscans",
77
- "fr": "Mise en page améliorée de la boîte de dialogue de configuration pour l'analyse des périphériques",
78
- "it": "Miglioramento del layout della finestra di dialogo di configurazione per la scansione del dispositivo",
79
- "es": "Diseño mejorado del diálogo de configuración para el análisis del dispositivo",
80
- "pl": "Ulepszony układ okna konfiguracji skanowania urządzenia",
81
- "uk": "Покращений макет діалогу конфігурації для сканування пристроїв",
82
- "zh-cn": "设备扫描配置对话框的改进版式"
83
- },
84
- "0.6.10": {
85
- "en": "Removed code for Rawmode because it's never activated",
86
- "de": "Entfernter Code für Rawmode, weil es nie aktiviert ist",
87
- "ru": "Удаленный код для Rawmode, потому что он никогда не активирован",
88
- "pt": "Código removido para Rawmode porque nunca foi ativado",
89
- "nl": "Verwijderde code voor Rawmode omdat het nooit is geactiveerd",
90
- "fr": "Code supprimé pour Rawmode car il n'est jamais activé",
91
- "it": "Codice rimosso per Rawmode perché non è mai attivato",
92
- "es": "Código eliminado para Rawmode porque nunca se activa",
93
- "pl": "Usunięto kod dla Rawmode ponieważ nigdy nie jest aktywowany",
94
- "uk": "Видалити код для Rawmode, тому що він ніколи не активований",
95
- "zh-cn": "删除了Rawmode的代码,因为它从未被激活"
96
96
  }
97
97
  },
98
98
  "title": "Viessmann E3 CAN do",
package/lib/canCollect.js CHANGED
@@ -50,6 +50,7 @@ class collect {
50
50
  this.data.collecting = false;
51
51
  await this.storage.setOpMode('normal');
52
52
  await ctx.log.info('Collect worker started on '+this.config.stateBase);
53
+ ctx.cntWorkersActive += 1;
53
54
  }
54
55
 
55
56
  async stop(ctx) {
@@ -65,10 +66,11 @@ class collect {
65
66
 
66
67
  // Stop worker:
67
68
  this.data.collecting = false;
68
- await ctx.log.info('Collect worker stopped on '+this.config.stateBase);
69
+ ctx.log.info('Collect worker stopped on '+this.config.stateBase);
69
70
  } catch (e) {
70
- await ctx.log.error('Collect worker on '+this.config.stateBase+' could not be stopped. err='+e.message);
71
+ ctx.log.error('Collect worker on '+this.config.stateBase+' could not be stopped. err='+e.message);
71
72
  }
73
+ ctx.cntWorkersActive -= 1;
72
74
  }
73
75
 
74
76
  async msgCollect(ctx, msg) {
package/lib/canUds.js CHANGED
@@ -149,6 +149,7 @@ class uds {
149
149
  this.cmndsHandle = ctx.setInterval(async () => {
150
150
  await this.cmndsLoop(ctx);
151
151
  }, this.cmndsUpdateTime);
152
+ ctx.cntWorkersActive += 1;
152
153
  }
153
154
 
154
155
  async stop(ctx) {
@@ -175,13 +176,14 @@ class uds {
175
176
  this.callback = null;
176
177
  if (opMode == 'normal') {
177
178
  ctx.unsubscribeStates(ctx.namespace+'.'+this.config.stateBase+'.*');
178
- await ctx.log.info('UDS worker stopped on '+this.config.stateBase);
179
+ ctx.log.info('UDS worker stopped on '+this.config.stateBase);
179
180
  } else {
180
- await ctx.log.silly('UDS worker stopped in mode '+opMode+' on '+this.config.stateBase);
181
+ ctx.log.silly('UDS worker stopped in mode '+opMode+' on '+this.config.stateBase);
181
182
  }
182
183
  } catch (e) {
183
- await ctx.log.error('UDS worker on '+this.config.stateBase+' could not be stopped. err='+e.message);
184
+ ctx.log.error('UDS worker on '+this.config.stateBase+' could not be stopped. err='+e.message);
184
185
  }
186
+ ctx.cntWorkersActive -= 1;
185
187
  }
186
188
 
187
189
  async setWorkerOpMode(opMode) {