iobroker.lorawan 1.5.2 → 1.5.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 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.5.3 (2024-10-30)
27
+ * (BenAhrdt) add roles
28
+
26
29
  ### 1.5.2 (2024-10-28)
27
30
  * (BenAhrdt) add new standard types / add new Roles / update core to 3.2.2
28
31
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.5.2",
4
+ "version": "1.5.3",
5
5
  "news": {
6
+ "1.5.3": {
7
+ "en": "add roles",
8
+ "de": "rollen hinzufügen",
9
+ "ru": "добавить роли",
10
+ "pt": "adicionar papéis",
11
+ "nl": "rollen toevoegen",
12
+ "fr": "ajouter des rôles",
13
+ "it": "aggiungere ruoli",
14
+ "es": "añadir funciones",
15
+ "pl": "dodaj role",
16
+ "uk": "додати ролі",
17
+ "zh-cn": "添加角色"
18
+ },
6
19
  "1.5.2": {
7
20
  "en": "add new standard types / add new Roles / update core to 3.2.2",
8
21
  "de": "neue Standardtypen hinzufügen / neue Roles / Update-Kern zu 3.2.2 hinzufügen",
@@ -80,19 +93,6 @@
80
93
  "pl": "funkcja przypisywania właściwości",
81
94
  "uk": "функція присвоєння властивостей",
82
95
  "zh-cn": "函数以指定属性"
83
- },
84
- "1.3.1": {
85
- "en": "implements example image",
86
- "de": "implementiert beispielbild",
87
- "ru": "реализует пример изображения",
88
- "pt": "implementos exemplo de imagem",
89
- "nl": "implementeert voorbeeldafbeelding",
90
- "fr": "implémente l'image exemple",
91
- "it": "implementa l'immagine di esempio",
92
- "es": "implementa ejemplo imagen",
93
- "pl": "implementuje przykładowy obraz",
94
- "uk": "реалізовує приклад зображення",
95
- "zh-cn": "执行示例图像"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -36,17 +36,6 @@ class assignhandlerClass {
36
36
  }
37
37
  }
38
38
  },
39
- Volt: {
40
- approvedFolders: {
41
- "uplink.decoded": {
42
- assignfunction: this.commonAssign,
43
- common: {
44
- role: "value.voltage",
45
- unit: "V"
46
- }
47
- }
48
- }
49
- },
50
39
  BatteryVoltage: {
51
40
  approvedFolders: {
52
41
  "uplink.decoded": {
@@ -102,122 +91,142 @@ class assignhandlerClass {
102
91
  }
103
92
  }
104
93
  },
105
- Contact: {
94
+ LoRa_Voltage: {
106
95
  approvedFolders: {
107
96
  "uplink.decoded": {
108
97
  assignfunction: this.commonAssign,
109
98
  common: {
110
- role: "sensor"
99
+ role: "value.voltage"
111
100
  }
112
101
  }
113
102
  }
114
103
  },
115
- Open: {
104
+ Supply_Voltage: {
116
105
  approvedFolders: {
117
106
  "uplink.decoded": {
118
107
  assignfunction: this.commonAssign,
119
108
  common: {
120
- role: "sensor"
109
+ role: "value.voltage"
121
110
  }
122
111
  }
123
112
  }
124
113
  },
125
- OpenWindow: {
114
+ batteryVoltage: {
126
115
  approvedFolders: {
127
116
  "uplink.decoded": {
128
117
  assignfunction: this.commonAssign,
129
118
  common: {
130
- role: "sensor.window"
119
+ role: "value.voltage"
131
120
  }
132
121
  }
133
122
  }
134
123
  },
135
- OpenDoor: {
124
+ Battery: {
136
125
  approvedFolders: {
137
126
  "uplink.decoded": {
138
127
  assignfunction: this.commonAssign,
139
128
  common: {
140
- role: "sensor.door"
129
+ role: "value.voltage"
141
130
  }
142
131
  }
143
132
  }
144
133
  },
145
- WindowOpen: {
134
+ Voltage: {
146
135
  approvedFolders: {
147
136
  "uplink.decoded": {
148
137
  assignfunction: this.commonAssign,
149
138
  common: {
150
- role: "sensor.window"
139
+ role: "value.voltage"
151
140
  }
152
141
  }
153
142
  }
154
143
  },
155
- DoorOpen: {
144
+ Contact: {
156
145
  approvedFolders: {
157
146
  "uplink.decoded": {
158
147
  assignfunction: this.commonAssign,
159
148
  common: {
160
- role: "sensor.door"
149
+ role: "sensor"
161
150
  }
162
151
  }
163
152
  }
164
153
  },
165
- TargetTemperature: {
154
+ Open: {
166
155
  approvedFolders: {
167
- "downlink.control": {
156
+ "uplink.decoded": {
168
157
  assignfunction: this.commonAssign,
169
158
  common: {
170
- role: "level.temperature"
159
+ role: "sensor"
171
160
  }
172
161
  }
173
162
  }
174
163
  },
175
- ExtenalTemperatur: {
164
+ OpenWindow: {
176
165
  approvedFolders: {
177
- "downlink.control": {
166
+ "uplink.decoded": {
178
167
  assignfunction: this.commonAssign,
179
168
  common: {
180
- role: "level "
169
+ role: "sensor.window"
170
+ }
171
+ }
172
+ }
173
+ },
174
+ OpenDoor: {
175
+ approvedFolders: {
176
+ "uplink.decoded": {
177
+ assignfunction: this.commonAssign,
178
+ common: {
179
+ role: "sensor.door"
181
180
  }
182
181
  }
183
182
  }
184
183
  },
185
- MaxTemperature: {
184
+ WindowOpen: {
186
185
  approvedFolders: {
187
- "downlink.control": {
186
+ "uplink.decoded": {
187
+ assignfunction: this.commonAssign,
188
+ common: {
189
+ role: "sensor.window"
190
+ }
191
+ }
192
+ }
193
+ },
194
+ DoorOpen: {
195
+ approvedFolders: {
196
+ "uplink.decoded": {
188
197
  assignfunction: this.commonAssign,
189
198
  common: {
190
- role: "value.max"
199
+ role: "sensor.door"
191
200
  }
192
201
  }
193
202
  }
194
203
  },
195
- targetTemperatureFloat: {
204
+ TargetTemperature: {
196
205
  approvedFolders: {
197
206
  "downlink.control": {
198
207
  assignfunction: this.commonAssign,
199
208
  common: {
200
- role: "value.temperature"
209
+ role: "level.temperature"
201
210
  }
202
211
  }
203
212
  }
204
213
  },
205
- targetTemperature: {
214
+ ExtenalTemperatur: {
206
215
  approvedFolders: {
207
216
  "downlink.control": {
208
217
  assignfunction: this.commonAssign,
209
218
  common: {
210
- role: "value.temperature"
219
+ role: "level "
211
220
  }
212
221
  }
213
222
  }
214
223
  },
215
- batteryVoltage: {
224
+ Intervall: {
216
225
  approvedFolders: {
217
- "uplink.decoded": {
226
+ "downlink.control": {
218
227
  assignfunction: this.commonAssign,
219
228
  common: {
220
- role: "value.voltage"
229
+ role: "level.timer"
221
230
  }
222
231
  }
223
232
  }
@@ -318,17 +327,6 @@ class assignhandlerClass {
318
327
  }
319
328
  }
320
329
  },
321
- Voltage: {
322
- approvedFolders: {
323
- "uplink.decoded": {
324
- assignfunction: this.commonAssign,
325
- common: {
326
- role: "value.voltage",
327
- unit: "V"
328
- }
329
- }
330
- }
331
- },
332
330
  Winddirection: {
333
331
  approvedFolders: {
334
332
  "uplink.decoded": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",