iobroker.e3oncan 0.6.17 → 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 +4 -0
- package/admin/i18n/de/translations.json +3 -1
- package/admin/i18n/en/translations.json +3 -1
- package/admin/i18n/es/translations.json +3 -1
- package/admin/i18n/fr/translations.json +3 -1
- package/admin/i18n/it/translations.json +3 -1
- package/admin/i18n/nl/translations.json +3 -1
- package/admin/i18n/pl/translations.json +3 -1
- package/admin/i18n/pt/translations.json +3 -1
- package/admin/i18n/ru/translations.json +3 -1
- package/admin/i18n/uk/translations.json +3 -1
- package/admin/i18n/zh-cn/translations.json +3 -1
- package/admin/jsonConfig.json +10 -0
- package/io-package.json +14 -14
- package/lib/canCollect.js +4 -2
- package/lib/canUds.js +5 -3
- package/lib/didsE3.json +2016 -924
- package/lib/didsE380.json +2 -1
- package/lib/udsScan.js +2 -0
- package/main.js +41 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -102,6 +102,10 @@ 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
|
+
|
|
105
109
|
### 0.6.17 (2024-01-29)
|
|
106
110
|
* (MyHomeMyData) Added/removed datapoints to/from list of writable dids
|
|
107
111
|
* (MyHomeMyData) Preparations for device specific list of writable dids
|
|
@@ -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
|
}
|
package/admin/jsonConfig.json
CHANGED
|
@@ -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,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "e3oncan",
|
|
4
|
-
"version": "0.6.
|
|
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
|
+
},
|
|
6
19
|
"0.6.17": {
|
|
7
20
|
"en": "Added/removed datapoints to/from list of writable dids\nPreparations for device specific list of writable dids",
|
|
8
21
|
"de": "Hinzugefügt/entfernte Datenpunkte zu/aus der Liste der schreibbaren Taten\nVorbereitungen für die gerätespezifische Liste der schreibbaren Taten",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
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",
|
|
81
94
|
"uk": "Додано точки даних для списання збитих даних\nДодані випадки тестування блоку для кодеків\nПокращена швидкість кодів для чисельних значень\nПокращуйте повідомлення про помилки у UDS",
|
|
82
95
|
"zh-cn": "添加数据点到列表可写作的\n为解码器添加单位测试例\n数字值代码速度提高\nUDS 负面响应上改进错误信息"
|
|
83
|
-
},
|
|
84
|
-
"0.6.11": {
|
|
85
|
-
"en": "Improved layout of configuration dialog for device scan",
|
|
86
|
-
"de": "Verbessertes Layout des Konfigurationsdialogs für den Gerätescan",
|
|
87
|
-
"ru": "Улучшен диалог настройки для сканирования устройства",
|
|
88
|
-
"pt": "Melhor layout da caixa de diálogo de configuração para verificação do dispositivo",
|
|
89
|
-
"nl": "Verbeterde lay-out van configuratiedialoog voor apparaatscans",
|
|
90
|
-
"fr": "Mise en page améliorée de la boîte de dialogue de configuration pour l'analyse des périphériques",
|
|
91
|
-
"it": "Miglioramento del layout della finestra di dialogo di configurazione per la scansione del dispositivo",
|
|
92
|
-
"es": "Diseño mejorado del diálogo de configuración para el análisis del dispositivo",
|
|
93
|
-
"pl": "Ulepszony układ okna konfiguracji skanowania urządzenia",
|
|
94
|
-
"uk": "Покращений макет діалогу конфігурації для сканування пристроїв",
|
|
95
|
-
"zh-cn": "设备扫描配置对话框的改进版式"
|
|
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
|
-
|
|
69
|
+
ctx.log.info('Collect worker stopped on '+this.config.stateBase);
|
|
69
70
|
} catch (e) {
|
|
70
|
-
|
|
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
|
-
|
|
179
|
+
ctx.log.info('UDS worker stopped on '+this.config.stateBase);
|
|
179
180
|
} else {
|
|
180
|
-
|
|
181
|
+
ctx.log.silly('UDS worker stopped in mode '+opMode+' on '+this.config.stateBase);
|
|
181
182
|
}
|
|
182
183
|
} catch (e) {
|
|
183
|
-
|
|
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) {
|