iobroker.lorawan 1.18.4 → 1.18.6
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 +6 -0
- package/io-package.json +27 -27
- package/lib/modules/bridge.js +4 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,6 +23,12 @@ 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.6 (2025-11-21)
|
|
27
|
+
* (BenAhrdt) set role color to entity_category config
|
|
28
|
+
|
|
29
|
+
### 1.18.5 (2025-11-21)
|
|
30
|
+
* (BenAhrdt) add mixed to type text for color values
|
|
31
|
+
|
|
26
32
|
### 1.18.4 (2025-11-08)
|
|
27
33
|
* (BenAhrdt) Change unique id for lorawan internal standard states
|
|
28
34
|
* (BenAhrdt) Change sequence of dicovery and check downlinks at startup
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.6",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.18.6": {
|
|
7
|
+
"en": "set role color to entity_category config",
|
|
8
|
+
"de": "rollenfarbe auf entity_category config einstellen",
|
|
9
|
+
"ru": "установить цвет ролей в конфигурации entity_category",
|
|
10
|
+
"pt": "definir a cor do papel para a configuração entity_category",
|
|
11
|
+
"nl": "rolkleur instellen op entiteit_categorie configuratie",
|
|
12
|
+
"fr": "définir la couleur du rôle à la config entity_category",
|
|
13
|
+
"it": "impostare colore ruolo a enti_category config",
|
|
14
|
+
"es": "definir el papel color a entity_category config",
|
|
15
|
+
"pl": "ustaw kolor ról do konfiguracji podmiotu _ kategorii",
|
|
16
|
+
"uk": "встановити колір ролі на сутність_category config",
|
|
17
|
+
"zh-cn": "设置角色颜色到实体_ 类别配置"
|
|
18
|
+
},
|
|
19
|
+
"1.18.5": {
|
|
20
|
+
"en": "add mixed to type text for color values",
|
|
21
|
+
"de": "hinzufügen gemischt zu geben text für farbwerte",
|
|
22
|
+
"ru": "добавить смешанный текст для цветовых значений",
|
|
23
|
+
"pt": "adicionar texto misto ao tipo para valores de cores",
|
|
24
|
+
"nl": "gemengd toevoegen aan type tekst voor kleurwaarden",
|
|
25
|
+
"fr": "ajouter mélangé au texte type pour les valeurs de couleur",
|
|
26
|
+
"it": "aggiungere testo misto per digitare i valori di colore",
|
|
27
|
+
"es": "añadir mezclado para escribir texto para valores de color",
|
|
28
|
+
"pl": "dodaj mieszany do tekstu dla wartości kolorów",
|
|
29
|
+
"uk": "додати змішаний для типу текст для значень кольору",
|
|
30
|
+
"zh-cn": "在颜色值类型中添加混合文本"
|
|
31
|
+
},
|
|
6
32
|
"1.18.4": {
|
|
7
33
|
"en": "Change unique id for lorawan internal standard states\nChange sequence of dicovery and check downlinks at startup",
|
|
8
34
|
"de": "Ändern Sie einzigartige id für lorawan interne Standardzustände\nÄndern Sie die Reihenfolge der Dicovery und überprüfen Sie Downlinks beim Start",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Nowa auryzacja NPM",
|
|
68
94
|
"uk": "Нова Ауроляція NPM",
|
|
69
95
|
"zh-cn": "新国家预防机制"
|
|
70
|
-
},
|
|
71
|
-
"1.17.19": {
|
|
72
|
-
"en": "improve Bridge Handling",
|
|
73
|
-
"de": "verbesserung der Bridge Handling",
|
|
74
|
-
"ru": "улучшение Bridge Handling",
|
|
75
|
-
"pt": "melhorar o manuseio da ponte",
|
|
76
|
-
"nl": "verbeteren Bridge Handling",
|
|
77
|
-
"fr": "améliorer la manipulation des ponts",
|
|
78
|
-
"it": "migliorare la gestione del ponte",
|
|
79
|
-
"es": "mejorar el manejo del puente",
|
|
80
|
-
"pl": "poprawić obsługę mostów",
|
|
81
|
-
"uk": "поліпшити мост ручка",
|
|
82
|
-
"zh-cn": "改进桥梁处理"
|
|
83
|
-
},
|
|
84
|
-
"1.17.18": {
|
|
85
|
-
"en": "push NextSend",
|
|
86
|
-
"de": "zurück zur Übersicht",
|
|
87
|
-
"ru": "скачать NextSend",
|
|
88
|
-
"pt": "push NextSend",
|
|
89
|
-
"nl": "volgendeVerzenden",
|
|
90
|
-
"fr": "pousser NextSend",
|
|
91
|
-
"it": "spingere NextSend",
|
|
92
|
-
"es": "push NextSend",
|
|
93
|
-
"pl": "naciśnij NextSend",
|
|
94
|
-
"uk": "шемале",
|
|
95
|
-
"zh-cn": "按下一个发送"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/modules/bridge.js
CHANGED
|
@@ -1065,6 +1065,7 @@ class bridgeClass {
|
|
|
1065
1065
|
return isWritable ? 'text' : 'sensor';
|
|
1066
1066
|
|
|
1067
1067
|
case 'mixed':
|
|
1068
|
+
return isWritable ? 'text' : 'sensor';
|
|
1068
1069
|
case 'array':
|
|
1069
1070
|
case 'object':
|
|
1070
1071
|
case 'file':
|
|
@@ -1099,7 +1100,7 @@ class bridgeClass {
|
|
|
1099
1100
|
const normalizedUnit = this.normalizeUnit(unit);
|
|
1100
1101
|
const normalizedUnitLower = normalizedUnit.toLowerCase();
|
|
1101
1102
|
|
|
1102
|
-
if (entityType === 'sensor' || entityType === 'number') {
|
|
1103
|
+
if (entityType === 'sensor' || entityType === 'number' || entityType === 'text') {
|
|
1103
1104
|
if (role.includes('temperature')) {
|
|
1104
1105
|
attributes.device_class = 'temperature';
|
|
1105
1106
|
attributes.unit_of_measurement = normalizedUnit || '°C';
|
|
@@ -1120,6 +1121,8 @@ class bridgeClass {
|
|
|
1120
1121
|
if (attributes.unit_of_measurement === 'V') {
|
|
1121
1122
|
attributes.suggested_display_precision = 2;
|
|
1122
1123
|
}
|
|
1124
|
+
} else if (role.includes('color')) {
|
|
1125
|
+
attributes.entity_category = 'config';
|
|
1123
1126
|
} else if (role.includes('level.timer')) {
|
|
1124
1127
|
attributes.entity_category = 'config';
|
|
1125
1128
|
attributes.unit_of_measurement = normalizedUnit || 'min';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.lorawan",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.6",
|
|
4
4
|
"description": "converts the desired lora gateway data to a ioBroker structure",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "BenAhrdt",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@alcalzone/release-script-plugin-manual-review": "^4.0.0",
|
|
39
39
|
"@iobroker/adapter-dev": "^1.5.0",
|
|
40
40
|
"@iobroker/eslint-config": "^2.2.0",
|
|
41
|
-
"@iobroker/testing": "^5.
|
|
41
|
+
"@iobroker/testing": "^5.2.2",
|
|
42
42
|
"@tsconfig/node20": "^20.1.6",
|
|
43
43
|
"@types/lodash": "^4.17.20",
|
|
44
|
-
"@types/node": "^24.
|
|
44
|
+
"@types/node": "^24.10.0",
|
|
45
45
|
"typescript": "~5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"main": "main.js",
|