iobroker.lorawan 1.18.22 → 1.18.23
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 +3 -0
- package/io-package.json +14 -14
- package/lib/modules/bridgeMqttclient.js +1 -1
- package/main.js +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,9 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
23
23
|
Placeholder for the next version (at the beginning of the line):
|
|
24
24
|
### **WORK IN PROGRESS**
|
|
25
25
|
-->
|
|
26
|
+
### 1.18.23 (2025-11-26)
|
|
27
|
+
* (BenAhrdt) Notify Adapter Version to Bridge with connection
|
|
28
|
+
|
|
26
29
|
### 1.18.22 (2025-11-26)
|
|
27
30
|
* (BenAhrdt) Bugfix message to brige with discovered device
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.23",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.23": {
|
|
7
|
+
"en": "Notify Adapter Version to Bridge with connection",
|
|
8
|
+
"de": "Benachrichtigen Adapter Version auf Brücke mit Anschluss",
|
|
9
|
+
"ru": "Уведомить версию адаптера о подключении к Bridge",
|
|
10
|
+
"pt": "Notificar versão do adaptador para Ponte com conexão",
|
|
11
|
+
"nl": "Aanmelden Adapter versie naar Brug met verbinding",
|
|
12
|
+
"fr": "Avertissez la version adaptateur de Bridge avec connexion",
|
|
13
|
+
"it": "Notifica versione adattatore a ponte con connessione",
|
|
14
|
+
"es": "Notify Adapter Version to Bridge with connection",
|
|
15
|
+
"pl": "Informuj wersję adaptera do mostka z połączeniem",
|
|
16
|
+
"uk": "Повідомити версію адаптера до мосту з підключенням",
|
|
17
|
+
"zh-cn": "将适配器版本通知连接桥"
|
|
18
|
+
},
|
|
6
19
|
"1.18.22": {
|
|
7
20
|
"en": "Bugfix message to brige with discovered device",
|
|
8
21
|
"de": "Bugfix-Nachricht zu brige mit entdecktem Gerät",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "Graniczny wyłącznik Bugfix zamknięty",
|
|
81
94
|
"uk": "Перемикач ліміту попереку",
|
|
82
95
|
"zh-cn": "关闭错误修正限制开关"
|
|
83
|
-
},
|
|
84
|
-
"1.18.16": {
|
|
85
|
-
"en": "change cover states into lower case",
|
|
86
|
-
"de": "änderung der deckelzustände in den unteren fall",
|
|
87
|
-
"ru": "изменение состояния покрытия в нижнем регистре",
|
|
88
|
-
"pt": "mudar os estados de cobertura em minúsculas",
|
|
89
|
-
"nl": "wijzigen dekking staten in kleine geval",
|
|
90
|
-
"fr": "changement des états de couverture en minuscules",
|
|
91
|
-
"it": "cambiare gli stati di copertura in caso più basso",
|
|
92
|
-
"es": "cambiar los estados de cobertura en caso inferior",
|
|
93
|
-
"pl": "zmiana stanu pokrycia na niższy przypadek",
|
|
94
|
-
"uk": "змінити обкладинки станів в нижній випадок",
|
|
95
|
-
"zh-cn": "更改覆盖状态为小写"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -54,7 +54,7 @@ class bridgeMqttClientClass {
|
|
|
54
54
|
const notificationId = `${this.adapter.namespace}.${this.adapter.bridge.Words.notification}${this.adapter.bridge.GeneralId}`;
|
|
55
55
|
await this.adapter.bridge?.publishNotification(
|
|
56
56
|
notificationId,
|
|
57
|
-
this.adapter.i18nTranslation['connection to bridge is activ']
|
|
57
|
+
`${this.adapter.i18nTranslation['connection to bridge is activ']}. Adapterversion: ${this.adapter.version}`,
|
|
58
58
|
this.adapter.bridge?.Notificationlevel.bridgeConnection,
|
|
59
59
|
false,
|
|
60
60
|
);
|
package/main.js
CHANGED
|
@@ -41,6 +41,9 @@ class Lorawan extends utils.Adapter {
|
|
|
41
41
|
this.mySystemConfig;
|
|
42
42
|
this.language;
|
|
43
43
|
|
|
44
|
+
// Adapter Version
|
|
45
|
+
this.version;
|
|
46
|
+
|
|
44
47
|
this.secret = {
|
|
45
48
|
hash: 'feda26376e3d3b38eae8efa48d055754eb0c388d6dbc7ced2ddb5f2f8166f417',
|
|
46
49
|
salt: 'LoRaWANBeScJoFr',
|
|
@@ -65,6 +68,10 @@ class Lorawan extends utils.Adapter {
|
|
|
65
68
|
this.mySystemConfig = await this.getForeignObjectAsync('system.config');
|
|
66
69
|
this.language = this.mySystemConfig?.common.language || 'en';
|
|
67
70
|
|
|
71
|
+
// Read aktual Adapterversion
|
|
72
|
+
const adapterinfos = await this.getForeignObjectAsync(`system.adapter.${this.namespace}`);
|
|
73
|
+
this.version = adapterinfos?.common.version;
|
|
74
|
+
|
|
68
75
|
// create downlinkConfigs
|
|
69
76
|
this.downlinkConfighandler = new downlinkConfighandlerClass(this);
|
|
70
77
|
|