iobroker.lorawan 0.3.8 → 0.3.9
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/messagehandler.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,9 @@ For now there is documentation in English here: http://www.hafenmeister.com/Lora
|
|
|
22
22
|
Placeholder for the next version (at the beginning of the line):
|
|
23
23
|
### **WORK IN PROGRESS**
|
|
24
24
|
-->
|
|
25
|
+
### 0.3.9 (2024-02-25)
|
|
26
|
+
* (BenAhrdt) change logging if a device joined the network
|
|
27
|
+
|
|
25
28
|
### 0.3.8 (2024-02-23)
|
|
26
29
|
* (BenAhrdt) write def into state in case of type changes
|
|
27
30
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.9",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.3.9": {
|
|
7
|
+
"en": "change logging if a device joined the network",
|
|
8
|
+
"de": "änderung der protokollierung, wenn ein gerät im netzwerk angeschlossen ist",
|
|
9
|
+
"ru": "изменение регистрации, если устройство вступило в сеть",
|
|
10
|
+
"pt": "alterar o registro se um dispositivo entrou na rede",
|
|
11
|
+
"nl": "loggen wijzigen als een apparaat zich aan het netwerk heeft aangesloten",
|
|
12
|
+
"fr": "modifier l'enregistrement si un périphérique a rejoint le réseau",
|
|
13
|
+
"it": "modificare la registrazione se un dispositivo è entrato nella rete",
|
|
14
|
+
"es": "cambiar de registro si un dispositivo se unió a la red",
|
|
15
|
+
"pl": "zmiana logowania, jeśli urządzenie dołączyło do sieci",
|
|
16
|
+
"uk": "змінити логування, якщо пристрій долучився до мережі",
|
|
17
|
+
"zh-cn": "如果设备加入网络, 更改日志"
|
|
18
|
+
},
|
|
6
19
|
"0.3.8": {
|
|
7
20
|
"en": "write def into state in case of type changes",
|
|
8
21
|
"de": "schreiben def in zustand bei typänderungen",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "zestaw infos do rodzimej",
|
|
81
94
|
"uk": "встановити інформацію на рідні",
|
|
82
95
|
"zh-cn": "设置为本地信息"
|
|
83
|
-
},
|
|
84
|
-
"0.3.2": {
|
|
85
|
-
"en": "wording recieved => received in messageing",
|
|
86
|
-
"de": "zurückgegeben => in der mitteilung empfangen",
|
|
87
|
-
"ru": "=> в сообщении",
|
|
88
|
-
"pt": "redação recieved => recebido em mensagens",
|
|
89
|
-
"nl": "tekst ontvangen => ontvangen in berichtgeving",
|
|
90
|
-
"fr": "texte reçu => reçu en message",
|
|
91
|
-
"it": "> ricevuto nel messaggio",
|
|
92
|
-
"es": "wording recieved = recibidos en mensajes",
|
|
93
|
-
"pl": "sformułowanie otrzymane = > otrzymywane w procesie messaging",
|
|
94
|
-
"uk": "javascript licenses api веб-сайт go1.13.8 отримувати повідомлення",
|
|
95
|
-
"zh-cn": "重述的语句 发送信件时收到"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"title": "LoRaWAN",
|
|
@@ -59,8 +59,8 @@ class messagehandlerClass {
|
|
|
59
59
|
|
|
60
60
|
//Add directories at startup (so theyare present before next upload)
|
|
61
61
|
async addDirectoriesToPresentDirectory(startDirectory){
|
|
62
|
-
await this.directoryhandler.generateRekursivObjects(this.directoryhandler.directories.application.devices.deviceEUI.
|
|
63
|
-
await this.directoryhandler.generateRekursivObjects(this.directoryhandler.directories.application.devices.deviceEUI.
|
|
62
|
+
await this.directoryhandler.generateRekursivObjects(this.directoryhandler.directories.application.devices.deviceEUI.downlink.nextSend,`${startDirectory}.${this.directoryhandler.reachableSubfolders.downlinkNextSend}`,"","");
|
|
63
|
+
await this.directoryhandler.generateRekursivObjects(this.directoryhandler.directories.application.devices.deviceEUI.downlink.lastSend,`${startDirectory}.${this.directoryhandler.reachableSubfolders.downlinkLastSend}`,"","");
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
async fillWithDownlinkConfig(deviceStartdirectory,options){
|
|
@@ -436,7 +436,7 @@ class messagehandlerClass {
|
|
|
436
436
|
});
|
|
437
437
|
await this.adapter.setStateAsync(`${startId}.json`,JSON.stringify(message),true);
|
|
438
438
|
const changeInfo = await this.adapter.getChangeInfo(startId);
|
|
439
|
-
this.adapter.log.info(`the device ${changeInfo.deviceEUI} joined network`);
|
|
439
|
+
this.adapter.log.info(`the device ${changeInfo.deviceEUI}, with the name ${changeInfo.deviceId} joined network at application ${changeInfo.applicationId} (${changeInfo.applicationName})`);
|
|
440
440
|
}
|
|
441
441
|
// Other messagetypes
|
|
442
442
|
else{
|
|
@@ -715,7 +715,7 @@ class messagehandlerClass {
|
|
|
715
715
|
});
|
|
716
716
|
await this.adapter.setStateAsync(`${startId}.json`,JSON.stringify(message),true);
|
|
717
717
|
const changeInfo = await this.adapter.getChangeInfo(startId);
|
|
718
|
-
this.adapter.log.info(`the device ${changeInfo.deviceEUI} joined network`);
|
|
718
|
+
this.adapter.log.info(`the device ${changeInfo.deviceEUI}, with the name ${changeInfo.deviceId} joined network at application ${changeInfo.applicationId} (${changeInfo.applicationName})`);
|
|
719
719
|
}
|
|
720
720
|
// Other messagetypes
|
|
721
721
|
else{
|