iobroker.lorawan 1.18.0 → 1.18.1
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 +5 -0
- package/admin/i18n/de/translations.json +1 -0
- package/admin/i18n/en/translations.json +1 -0
- package/admin/i18n/es/translations.json +1 -0
- package/admin/i18n/fr/translations.json +1 -0
- package/admin/i18n/it/translations.json +1 -0
- package/admin/i18n/nl/translations.json +1 -0
- package/admin/i18n/pl/translations.json +1 -0
- package/admin/i18n/pt/translations.json +1 -0
- package/admin/i18n/ru/translations.json +1 -0
- package/admin/i18n/uk/translations.json +1 -0
- package/admin/i18n/zh-cn/translations.json +1 -0
- package/admin/jsonConfig.json +2 -1
- package/io-package.json +15 -15
- package/lib/modules/bridge.js +2 -1
- package/lib/modules/directorieshandler.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -23,6 +23,11 @@ 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.1 (2025-11-03)
|
|
27
|
+
* (BenAhrdt) Add Bridge Type Smarthome
|
|
28
|
+
* (BenAhrdt) Bugfix subscribed Topics
|
|
29
|
+
* (BenAhrdt) Bugfix on case of objectid starts with '.'
|
|
30
|
+
|
|
26
31
|
### 1.18.0 (2025-10-19)
|
|
27
32
|
* (BenAhrdt) New NPM Auorisation
|
|
28
33
|
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Bridge Typ",
|
|
23
23
|
"BridgeTypeHA": "Home Assistant",
|
|
24
24
|
"BridgeTypeOff": "aus",
|
|
25
|
+
"BridgeTypeSH": "Smart Home",
|
|
25
26
|
"BridgeTypeTooltip": "Wählen Sie den Typ des Fremdsystems aus",
|
|
26
27
|
"BridgenotificationActivation": "Benachrichtigungsaktivierung",
|
|
27
28
|
"BridgenotificationTooltip": "Aktivieren oder deaktivieren Sie die Benachrichtigung",
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
"BridgeTypeTooltip": "Select the Type of the foreign System",
|
|
128
128
|
"BridgeTypeOff": "off",
|
|
129
129
|
"BridgeTypeHA": "Home Assistant",
|
|
130
|
+
"BridgeTypeSH": "Smart Home",
|
|
130
131
|
"RefreshDiscoveryCronJob": "Discover Cycle",
|
|
131
132
|
"RefreshDiscoveryCronJobTooltip": "insert the cronjob for refreshing the discovery",
|
|
132
133
|
"ClimateHeader": "Define States for Climate Entity",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Tipo de puente",
|
|
23
23
|
"BridgeTypeHA": "Asistente de casa",
|
|
24
24
|
"BridgeTypeOff": "apagado",
|
|
25
|
+
"BridgeTypeSH": "Hogar inteligente",
|
|
25
26
|
"BridgeTypeTooltip": "Seleccione el tipo de sistema extranjero",
|
|
26
27
|
"BridgenotificationActivation": "activación de notificación",
|
|
27
28
|
"BridgenotificationTooltip": "activar o desactivar la notificación",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Type de pont",
|
|
23
23
|
"BridgeTypeHA": "Assistant à domicile",
|
|
24
24
|
"BridgeTypeOff": "désactivé",
|
|
25
|
+
"BridgeTypeSH": "Maison intelligente",
|
|
25
26
|
"BridgeTypeTooltip": "Sélectionnez le type de système étranger",
|
|
26
27
|
"BridgenotificationActivation": "activation de la notification",
|
|
27
28
|
"BridgenotificationTooltip": "activer ou désactiver la notification",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Tipo di ponte",
|
|
23
23
|
"BridgeTypeHA": "Assistente di casa",
|
|
24
24
|
"BridgeTypeOff": "spento",
|
|
25
|
+
"BridgeTypeSH": "Casa intelligente",
|
|
25
26
|
"BridgeTypeTooltip": "Seleziona il tipo di sistema estero",
|
|
26
27
|
"BridgenotificationActivation": "Attivazione della notifica",
|
|
27
28
|
"BridgenotificationTooltip": "attivare o disattivare la notifica",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Brug -type",
|
|
23
23
|
"BridgeTypeHA": "Thuisassistent",
|
|
24
24
|
"BridgeTypeOff": "uit",
|
|
25
|
+
"BridgeTypeSH": "Slim huis",
|
|
25
26
|
"BridgeTypeTooltip": "Selecteer het type buitenlandse systeem",
|
|
26
27
|
"BridgenotificationActivation": "Activering van melding",
|
|
27
28
|
"BridgenotificationTooltip": "de melding activeren of deactiveren",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Typ mostu",
|
|
23
23
|
"BridgeTypeHA": "Asystent domu",
|
|
24
24
|
"BridgeTypeOff": "wyłączony",
|
|
25
|
+
"BridgeTypeSH": "Inteligentny dom",
|
|
25
26
|
"BridgeTypeTooltip": "Wybierz rodzaj systemu zagranicznego",
|
|
26
27
|
"BridgenotificationActivation": "Aktywacja powiadomienia",
|
|
27
28
|
"BridgenotificationTooltip": "aktywuj lub dezaktywuj powiadomienie",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Tipo de ponte",
|
|
23
23
|
"BridgeTypeHA": "Assistente de casa",
|
|
24
24
|
"BridgeTypeOff": "desligado",
|
|
25
|
+
"BridgeTypeSH": "Casa inteligente",
|
|
25
26
|
"BridgeTypeTooltip": "Selecione o tipo do sistema estranho",
|
|
26
27
|
"BridgenotificationActivation": "Ativação de notificação",
|
|
27
28
|
"BridgenotificationTooltip": "ativar ou desativar a notificação",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Тип моста",
|
|
23
23
|
"BridgeTypeHA": "Домашний помощник",
|
|
24
24
|
"BridgeTypeOff": "выключенный",
|
|
25
|
+
"BridgeTypeSH": "Умный дом",
|
|
25
26
|
"BridgeTypeTooltip": "Выберите тип иностранной системы",
|
|
26
27
|
"BridgenotificationActivation": "активация уведомления",
|
|
27
28
|
"BridgenotificationTooltip": "активировать или деактивировать уведомление",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"BridgeType": "Тип мосту",
|
|
23
23
|
"BridgeTypeHA": "Домашній помічник",
|
|
24
24
|
"BridgeTypeOff": "не вистачати",
|
|
25
|
+
"BridgeTypeSH": "Розумний будинок",
|
|
25
26
|
"BridgeTypeTooltip": "Виберіть тип іноземної системи",
|
|
26
27
|
"BridgenotificationActivation": "Активація сповіщень",
|
|
27
28
|
"BridgenotificationTooltip": "активуйте або деактивувати повідомлення",
|
package/admin/jsonConfig.json
CHANGED
|
@@ -750,7 +750,8 @@
|
|
|
750
750
|
"tooltip": "BridgeTypeTooltip",
|
|
751
751
|
"options": [
|
|
752
752
|
{"label":"BridgeTypeOff","value":"off"},
|
|
753
|
-
{"label":"BridgeTypeHA","value":"HA"}
|
|
753
|
+
{"label":"BridgeTypeHA","value":"HA"},
|
|
754
|
+
{"label":"BridgeTypeSH","value":"SH"}
|
|
754
755
|
],
|
|
755
756
|
"default": "off",
|
|
756
757
|
"xs": 12,
|
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.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.1": {
|
|
7
|
+
"en": "Add Bridge Type Smarthome\nBugfix subscribed Topics\nBugfix on case of objectid starts with '.'",
|
|
8
|
+
"de": "Bridge Type Smarthome hinzufügen\nBugfix abonniert Themen\nBugfix auf Fall von objectid beginnt mit '. '",
|
|
9
|
+
"ru": "Обновление Bridge Type Smarthome\nBugfix подписался на Topics\nБагфикс на случай объектидов начинается с '. \"",
|
|
10
|
+
"pt": "Adicionar tipo de ponte Smarthome\nTópicos subscritos por Bugfix\nBugfix no caso do objeto começa com '. '",
|
|
11
|
+
"nl": "Brugtype Smarthome toevoegen\nBugfix-geabonneerde onderwerpen\nBugfix op geval objectid begint met '. '",
|
|
12
|
+
"fr": "Ajouter le type de pont Smarthome\nSujets souscrits Bugfix\nBugfix sur le cas de l'objet commence par '. '",
|
|
13
|
+
"it": "Aggiungi Bridge Type Smarthome\nBugfix sottoscritto Argomenti\nBugfix su caso di oggetto inizia con '. '",
|
|
14
|
+
"es": "Agregar Bridge Type Smarthome\nBugfix suscrito Temas\nBugfix en caso de objetado comienza con '. '",
|
|
15
|
+
"pl": "Dodaj typ mostu Smarthome\nBugfix subskrybowane tematy\nBugfix w przypadku obiektów zaczyna się od \". '",
|
|
16
|
+
"uk": "Додати Bridge Type Smarthome\nВиправлено помилку\nВиправлення помилок при об'єктиві починається з '. Р",
|
|
17
|
+
"zh-cn": "添加桥型 Smarthome\nBugfix 已订阅主题\n对象大小写上的错误fix 开始于 。 '"
|
|
18
|
+
},
|
|
6
19
|
"1.18.0": {
|
|
7
20
|
"en": "New NPM Auorisation",
|
|
8
21
|
"de": "Neue NPM-Versteigerung",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "notifi nowe odkrycie w przypadku old DiscoveredDevices\nlogowanie debugfix",
|
|
81
94
|
"uk": "неідентифікувати нове відкриття у разі виникнення застарілих\nзареєструватися",
|
|
82
95
|
"zh-cn": "旧发现器的新发现\n调试日志"
|
|
83
|
-
},
|
|
84
|
-
"1.17.14": {
|
|
85
|
-
"en": "add humidifier to foreign States",
|
|
86
|
-
"de": "fügen Sie Befeuchter für ausländische Staaten hinzu",
|
|
87
|
-
"ru": "добавить увлажнитель воздуха в иностранные государства",
|
|
88
|
-
"pt": "adicionar umidificador a estados estrangeiros",
|
|
89
|
-
"nl": "luchtbevochtiger toevoegen aan buitenlandse staten",
|
|
90
|
-
"fr": "ajouter l'humidificateur aux États étrangers",
|
|
91
|
-
"it": "aggiungere umidificatore agli Stati esteri",
|
|
92
|
-
"es": "añadir humidificador a Estados extranjeros",
|
|
93
|
-
"pl": "dodać nawilżacz do obcych państw",
|
|
94
|
-
"uk": "додати зволожувач до іноземних держав",
|
|
95
|
-
"zh-cn": "向外国添加增湿剂"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"password": "",
|
|
411
411
|
"ssl": true,
|
|
412
412
|
"origin": "ttn",
|
|
413
|
-
"notificationActivation": "allNotifications,
|
|
413
|
+
"notificationActivation": "allNotifications, bridgeConnection, newDiscover, deviceState",
|
|
414
414
|
"downlinkConfig": [],
|
|
415
415
|
"customDecodedJsonActive": false,
|
|
416
416
|
"customConfigurationJsonActive": false,
|
package/lib/modules/bridge.js
CHANGED
|
@@ -29,6 +29,7 @@ class bridgeClass {
|
|
|
29
29
|
this.Notifications = {};
|
|
30
30
|
this.BridgeDiscoveryPrefix = {
|
|
31
31
|
HA: 'homeassistant/',
|
|
32
|
+
SH: 'smarthome/',
|
|
32
33
|
};
|
|
33
34
|
this.ForeignBridgeMembers = {};
|
|
34
35
|
this.MinTime = 100; // ms between publish and subscribe same value
|
|
@@ -220,7 +221,7 @@ class bridgeClass {
|
|
|
220
221
|
} else {
|
|
221
222
|
await this.adapter.setForeignStateAsync(this.SubscribedTopics[topic].id, message);
|
|
222
223
|
}
|
|
223
|
-
await this.adapter.setState('info.subscribedTopics', JSON.stringify(this.
|
|
224
|
+
await this.adapter.setState('info.subscribedTopics', JSON.stringify(this.SubscribedTopics), true);
|
|
224
225
|
} else {
|
|
225
226
|
this.adapter.log.debug(`The received Topic ${topic} is not subscribed`);
|
|
226
227
|
}
|
|
@@ -448,7 +448,7 @@ class directorieshandlerClass {
|
|
|
448
448
|
|
|
449
449
|
// Check for id dont starts with "."
|
|
450
450
|
if (objectId.indexOf('.') === 0) {
|
|
451
|
-
objectId.substring(1, objectId.length);
|
|
451
|
+
objectId = objectId.substring(1, objectId.length);
|
|
452
452
|
}
|
|
453
453
|
// Check for an assign definition (calculation and / or role assignment)
|
|
454
454
|
if (this.assigns[elementName] && !options?.dontAssign) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.lorawan",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"description": "converts the desired lora gateway data to a ioBroker structure",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "BenAhrdt",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@iobroker/testing": "^5.1.1",
|
|
42
42
|
"@tsconfig/node20": "^20.1.6",
|
|
43
43
|
"@types/lodash": "^4.17.20",
|
|
44
|
-
"@types/node": "^24.
|
|
44
|
+
"@types/node": "^24.9.2",
|
|
45
45
|
"typescript": "~5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"main": "main.js",
|