iobroker.lorawan 1.13.2 → 1.13.3
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/admin/icons/deviceinfo.png +0 -0
- package/admin/icons/discover.png +0 -0
- package/admin/icons/plug.png +0 -0
- package/io-package.json +17 -14
- package/lib/modules/bridge.js +0 -5
- package/lib/modules/directorieshandler.js +1 -1
- package/main.js +4 -2
- 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.13.3 (2025-09-04)
|
|
27
|
+
* (BenAhrdt) Add images to the new States
|
|
28
|
+
|
|
26
29
|
### 1.13.2 (2025-09-04)
|
|
27
30
|
* (BenAhrdt) Dont check connection to Bridge if not selected
|
|
28
31
|
* (BenAhrdt) Add the State discovered Ids
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.13.
|
|
4
|
+
"version": "1.13.3",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.13.3": {
|
|
7
|
+
"en": "Add images to the new States",
|
|
8
|
+
"de": "Bild hinzugefügt für die neuen Staaten",
|
|
9
|
+
"ru": "Добавить фото в новые штаты",
|
|
10
|
+
"pt": "Adicionar imagens aos novos Estados",
|
|
11
|
+
"nl": "Afbeeldingen toevoegen aan de nieuwe staten",
|
|
12
|
+
"fr": "Ajouter des images aux nouveaux États",
|
|
13
|
+
"it": "Aggiungi immagini ai nuovi Stati",
|
|
14
|
+
"es": "Añadir imágenes a los nuevos Estados",
|
|
15
|
+
"pl": "Dodaj obrazy do nowych państw",
|
|
16
|
+
"uk": "Додати зображення до нових держав",
|
|
17
|
+
"zh-cn": "向新国家添加图像"
|
|
18
|
+
},
|
|
6
19
|
"1.13.2": {
|
|
7
20
|
"en": "Dont check connection to Bridge if not selected\nAdd the State discovered Ids",
|
|
8
21
|
"de": "Überprüfen Sie die Verbindung zur Brücke, wenn nicht ausgewählt\nFügen Sie den Staat entdeckt Ids",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "wpisz logowanie do zmiany obiektu",
|
|
81
94
|
"uk": "вставити заголовок до зміни об'єкта",
|
|
82
95
|
"zh-cn": "插入日志到对象更改"
|
|
83
|
-
},
|
|
84
|
-
"1.11.9": {
|
|
85
|
-
"en": "build Custom Config for HA Bridge",
|
|
86
|
-
"de": "custom Config für HA Bridge bauen",
|
|
87
|
-
"ru": "создание пользовательской конфигурации для моста HA",
|
|
88
|
-
"pt": "construir configuração personalizada para a ponte HA",
|
|
89
|
-
"nl": "aangepaste configuratie bouwen voor HA Bridge",
|
|
90
|
-
"fr": "construisez Custom Config pour le pont HA",
|
|
91
|
-
"it": "costruire Configurazione personalizzata per HA Bridge",
|
|
92
|
-
"es": "construir Config personalizado para el puente HA",
|
|
93
|
-
"pl": "build Custom Config for HA Bridge",
|
|
94
|
-
"uk": "створення користувацького Config для HA Bridge",
|
|
95
|
-
"zh-cn": "构建 HA 桥的自定义配置"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -417,6 +417,7 @@
|
|
|
417
417
|
"role": "indicator.connected",
|
|
418
418
|
"name": "Bridge connected",
|
|
419
419
|
"type": "boolean",
|
|
420
|
+
"icon": "icons/plug.png",
|
|
420
421
|
"read": true,
|
|
421
422
|
"write": false,
|
|
422
423
|
"def": false
|
|
@@ -430,6 +431,7 @@
|
|
|
430
431
|
"role": "json",
|
|
431
432
|
"name": "Information of all discovered States",
|
|
432
433
|
"type": "json",
|
|
434
|
+
"icon": "icons/discover.png",
|
|
433
435
|
"read": true,
|
|
434
436
|
"write": false,
|
|
435
437
|
"def": ""
|
|
@@ -443,6 +445,7 @@
|
|
|
443
445
|
"role": "json",
|
|
444
446
|
"name": "Information of all devices",
|
|
445
447
|
"type": "json",
|
|
448
|
+
"icon": "icons/deviceinfo.png",
|
|
446
449
|
"read": true,
|
|
447
450
|
"write": false,
|
|
448
451
|
"def": ""
|
package/lib/modules/bridge.js
CHANGED
|
@@ -11,11 +11,6 @@ class bridgeClass {
|
|
|
11
11
|
constructor(adapter) {
|
|
12
12
|
this.adapter = adapter;
|
|
13
13
|
|
|
14
|
-
// Return in case of noh Bridge selected
|
|
15
|
-
if (this.adapter.config.BridgeType === 'off') {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
14
|
/*********************************************************************
|
|
20
15
|
* ************** Definition Assigns (externel Module) ***************
|
|
21
16
|
* ******************************************************************/
|
|
@@ -791,7 +791,7 @@ class directorieshandlerClass {
|
|
|
791
791
|
const activeFunction = 'getChirpstackIconPath';
|
|
792
792
|
this.adapter.log.debug(`Function ${activeFunction} started.`);
|
|
793
793
|
try {
|
|
794
|
-
this.adapter.log.silly(`icontype ${icontype} is requested for
|
|
794
|
+
this.adapter.log.silly(`icontype ${icontype} is requested for Chirpstack`);
|
|
795
795
|
switch (icontype) {
|
|
796
796
|
case this.icons.wifi:
|
|
797
797
|
if (message.txInfo?.modulation.lora.spreadingFactor && message.rxInfo[0]?.rssi) {
|
package/main.js
CHANGED
|
@@ -59,8 +59,10 @@ class Lorawan extends utils.Adapter {
|
|
|
59
59
|
// Set mqtt client
|
|
60
60
|
this.mqttClient = new mqttClientClass(this, this.config);
|
|
61
61
|
|
|
62
|
-
// declare bridge
|
|
63
|
-
this.
|
|
62
|
+
// declare bridge if configed
|
|
63
|
+
if (this.config.BridgeType !== 'off') {
|
|
64
|
+
this.bridge = new bridgeClass(this);
|
|
65
|
+
}
|
|
64
66
|
|
|
65
67
|
// generate new configed downlinkstates on allready existing devices at adapter startup
|
|
66
68
|
await this.messagehandler.generateDownlinksAndRemoveStatesAtStatup();
|