iobroker-ucl 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/zigbeeFunctions.js +10 -10
- package/zigbeeFunctions.ts +20 -20
package/package.json
CHANGED
package/zigbeeFunctions.js
CHANGED
@@ -133,7 +133,7 @@ function createZigbeeFenstersensor(adapter, rawId, baseState, etage, raum, devic
|
|
133
133
|
setTimeout(function () {
|
134
134
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeFenstersensor);
|
135
135
|
cacheFenstersensorenArray = null;
|
136
|
-
},
|
136
|
+
}, 60000);
|
137
137
|
}
|
138
138
|
exports.createZigbeeFenstersensor = createZigbeeFenstersensor;
|
139
139
|
// Repeater:
|
@@ -149,7 +149,7 @@ function createZigbeeRepeater(adapter, rawId, baseState, etage, raum, device) {
|
|
149
149
|
setTimeout(function () {
|
150
150
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeRepeater);
|
151
151
|
cacheRepeaterArray = null;
|
152
|
-
},
|
152
|
+
}, 60000);
|
153
153
|
}
|
154
154
|
exports.createZigbeeRepeater = createZigbeeRepeater;
|
155
155
|
// Schalter:
|
@@ -165,7 +165,7 @@ function createZigbeeSchalter(adapter, rawId, baseState, etage, raum, device) {
|
|
165
165
|
setTimeout(function () {
|
166
166
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeSchalter);
|
167
167
|
cacheSchalterArray = null;
|
168
|
-
},
|
168
|
+
}, 60000);
|
169
169
|
}
|
170
170
|
exports.createZigbeeSchalter = createZigbeeSchalter;
|
171
171
|
// Wandtaster:
|
@@ -181,7 +181,7 @@ function createZigbeeWandtaster(adapter, rawId, baseState, etage, raum, device)
|
|
181
181
|
setTimeout(function () {
|
182
182
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeWandtaster);
|
183
183
|
cacheWandtasterArray = null;
|
184
|
-
},
|
184
|
+
}, 60000);
|
185
185
|
}
|
186
186
|
exports.createZigbeeWandtaster = createZigbeeWandtaster;
|
187
187
|
// Rauchmelder:
|
@@ -197,7 +197,7 @@ function createZigbeeRauchmelder(adapter, rawId, baseState, etage, raum, device)
|
|
197
197
|
setTimeout(function () {
|
198
198
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeRauchmelder);
|
199
199
|
cacheRauchmelderArray = null;
|
200
|
-
},
|
200
|
+
}, 60000);
|
201
201
|
}
|
202
202
|
exports.createZigbeeRauchmelder = createZigbeeRauchmelder;
|
203
203
|
// Bewegungsmelder:
|
@@ -213,7 +213,7 @@ function createZigbeeBewegungsmelder(adapter, rawId, baseState, etage, raum, dev
|
|
213
213
|
setTimeout(function () {
|
214
214
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeBewegungsmelder);
|
215
215
|
cacheBewegungsmelderArray = null;
|
216
|
-
},
|
216
|
+
}, 60000);
|
217
217
|
}
|
218
218
|
exports.createZigbeeBewegungsmelder = createZigbeeBewegungsmelder;
|
219
219
|
// Dosenrelais:
|
@@ -243,7 +243,7 @@ function createZigbeeDosenrelais(adapter, rawId, baseState, etage, raum, device,
|
|
243
243
|
});
|
244
244
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeDosenrelais_smartNames, db_smartNames, deviceZigbeeDosenrelais);
|
245
245
|
cacheDosenrelaisArray = null;
|
246
|
-
},
|
246
|
+
}, 60000);
|
247
247
|
}
|
248
248
|
exports.createZigbeeDosenrelais = createZigbeeDosenrelais;
|
249
249
|
// Steckdose:
|
@@ -338,7 +338,7 @@ function createZigbeeSteckdose(adapter, rawId, baseState, etage, raum, device, a
|
|
338
338
|
});
|
339
339
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attribute_TasterBooleanOff, db_additionalStates4TurnOff, deviceZigbeeSteckdose);
|
340
340
|
cacheSteckdosenArray = null;
|
341
|
-
},
|
341
|
+
}, 60000);
|
342
342
|
}
|
343
343
|
exports.createZigbeeSteckdose = createZigbeeSteckdose;
|
344
344
|
// LampeWeiss:
|
@@ -543,7 +543,7 @@ function createZigbeeLampeWeiss(adapter, rawId, baseState, etage, raum, device,
|
|
543
543
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeLampWeiss_ColorSchemes_Weiss4_ct, null, deviceZigbeeLampeWeiss);*/
|
544
544
|
}
|
545
545
|
cacheLampenWeissArray = null;
|
546
|
-
},
|
546
|
+
}, 60000);
|
547
547
|
}
|
548
548
|
exports.createZigbeeLampeWeiss = createZigbeeLampeWeiss;
|
549
549
|
// LampeRGB:
|
@@ -796,7 +796,7 @@ function createZigbeeLampeRGB(adapter, rawId, baseState, etage, raum, device, is
|
|
796
796
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeRGBLamp_ColorSchemes_Weiss4_ct, null, category);*/
|
797
797
|
}
|
798
798
|
cacheLampenRGBArray = null;
|
799
|
-
},
|
799
|
+
}, 60000);
|
800
800
|
}
|
801
801
|
exports.createZigbeeLampeRGB = createZigbeeLampeRGB;
|
802
802
|
function createDatenpunktSingle(adapter, deviceRawId, attributeType, attributeName, attributeValue, category) {
|
package/zigbeeFunctions.ts
CHANGED
@@ -159,7 +159,7 @@ export function createZigbeeFenstersensor(adapter:any, rawId: number, baseState:
|
|
159
159
|
setTimeout(function() {
|
160
160
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeFenstersensor);
|
161
161
|
cacheFenstersensorenArray = null;
|
162
|
-
},
|
162
|
+
}, 60000);
|
163
163
|
}
|
164
164
|
|
165
165
|
// Repeater:
|
@@ -177,7 +177,7 @@ export function createZigbeeRepeater(adapter:any, rawId: number, baseState: stri
|
|
177
177
|
setTimeout(function() {
|
178
178
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeRepeater);
|
179
179
|
cacheRepeaterArray = null;
|
180
|
-
},
|
180
|
+
}, 60000);
|
181
181
|
}
|
182
182
|
|
183
183
|
// Schalter:
|
@@ -195,7 +195,7 @@ export function createZigbeeSchalter(adapter:any, rawId: number, baseState: stri
|
|
195
195
|
setTimeout(function() {
|
196
196
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeSchalter);
|
197
197
|
cacheSchalterArray = null;
|
198
|
-
},
|
198
|
+
}, 60000);
|
199
199
|
}
|
200
200
|
|
201
201
|
// Wandtaster:
|
@@ -213,7 +213,7 @@ export function createZigbeeWandtaster(adapter:any, rawId: number, baseState: st
|
|
213
213
|
setTimeout(function() {
|
214
214
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeWandtaster);
|
215
215
|
cacheWandtasterArray = null;
|
216
|
-
},
|
216
|
+
}, 60000);
|
217
217
|
}
|
218
218
|
|
219
219
|
// Rauchmelder:
|
@@ -231,7 +231,7 @@ export function createZigbeeRauchmelder(adapter:any, rawId: number, baseState: s
|
|
231
231
|
setTimeout(function() {
|
232
232
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeRauchmelder);
|
233
233
|
cacheRauchmelderArray = null;
|
234
|
-
},
|
234
|
+
}, 60000);
|
235
235
|
}
|
236
236
|
|
237
237
|
// Bewegungsmelder:
|
@@ -249,7 +249,7 @@ export function createZigbeeBewegungsmelder(adapter:any, rawId: number, baseStat
|
|
249
249
|
setTimeout(function() {
|
250
250
|
createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, deviceZigbeeBewegungsmelder);
|
251
251
|
cacheBewegungsmelderArray = null;
|
252
|
-
},
|
252
|
+
}, 60000);
|
253
253
|
}
|
254
254
|
|
255
255
|
// Dosenrelais:
|
@@ -281,7 +281,7 @@ export function createZigbeeDosenrelais(adapter:any, rawId: number, baseState: s
|
|
281
281
|
});
|
282
282
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeDosenrelais_smartNames, db_smartNames, deviceZigbeeDosenrelais);
|
283
283
|
cacheDosenrelaisArray = null;
|
284
|
-
},
|
284
|
+
}, 60000);
|
285
285
|
}
|
286
286
|
|
287
287
|
// Steckdose:
|
@@ -381,7 +381,7 @@ export function createZigbeeSteckdose(adapter:any, rawId: number, baseState: str
|
|
381
381
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attribute_TasterBooleanOff, db_additionalStates4TurnOff, deviceZigbeeSteckdose);
|
382
382
|
cacheSteckdosenArray = null;
|
383
383
|
|
384
|
-
},
|
384
|
+
}, 60000);
|
385
385
|
}
|
386
386
|
|
387
387
|
// LampeWeiss:
|
@@ -598,7 +598,7 @@ export function createZigbeeLampeWeiss(adapter:any, rawId: number, baseState: st
|
|
598
598
|
}
|
599
599
|
cacheLampenWeissArray = null;
|
600
600
|
|
601
|
-
},
|
601
|
+
}, 60000);
|
602
602
|
|
603
603
|
}
|
604
604
|
|
@@ -863,7 +863,7 @@ export function createZigbeeLampeRGB(adapter:any, rawId: number, baseState: stri
|
|
863
863
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeRGBLamp_ColorSchemes_Weiss4_ct, null, category);*/
|
864
864
|
}
|
865
865
|
cacheLampenRGBArray = null;
|
866
|
-
},
|
866
|
+
}, 60000);
|
867
867
|
}
|
868
868
|
|
869
869
|
function createDatenpunktSingle(adapter:any, deviceRawId, attributeType, attributeName, attributeValue, category:string) {
|
@@ -886,7 +886,7 @@ function toStringArray(databaseValue) { // z.B. "Werkbank|Arbeiten|Keller"
|
|
886
886
|
}
|
887
887
|
}
|
888
888
|
|
889
|
-
|
889
|
+
let cacheSteckdosenArray = null;
|
890
890
|
export function loadZigbeeSteckdosen(adapter: any) {
|
891
891
|
if (cacheSteckdosenArray != null) {
|
892
892
|
return cacheSteckdosenArray;
|
@@ -916,7 +916,7 @@ export function loadZigbeeSteckdosen(adapter: any) {
|
|
916
916
|
return cacheSteckdosenArray;
|
917
917
|
}
|
918
918
|
|
919
|
-
|
919
|
+
let cacheBewegungsmelderArray = null;
|
920
920
|
export function loadZigbeeBewegungsmelder(adapter: any) {
|
921
921
|
if (cacheBewegungsmelderArray != null) {
|
922
922
|
return cacheBewegungsmelderArray;
|
@@ -940,7 +940,7 @@ export function loadZigbeeBewegungsmelder(adapter: any) {
|
|
940
940
|
return cacheBewegungsmelderArray;
|
941
941
|
}
|
942
942
|
|
943
|
-
|
943
|
+
let cacheLampenRGBArray = null;
|
944
944
|
export function loadZigbeeLampenRGB(adapter: any) {
|
945
945
|
if (cacheLampenRGBArray != null) {
|
946
946
|
return cacheLampenRGBArray;
|
@@ -1082,7 +1082,7 @@ export function loadZigbeeLampenRGB(adapter: any) {
|
|
1082
1082
|
return cacheLampenRGBArray;
|
1083
1083
|
}
|
1084
1084
|
|
1085
|
-
|
1085
|
+
let cacheLampenWeissArray = null;
|
1086
1086
|
export function loadZigbeeLampenWeiss(adapter: any) {
|
1087
1087
|
if (cacheLampenWeissArray != null) {
|
1088
1088
|
return cacheLampenWeissArray;
|
@@ -1217,7 +1217,7 @@ export function loadZigbeeLampenWeiss(adapter: any) {
|
|
1217
1217
|
return cacheLampenWeissArray;
|
1218
1218
|
}
|
1219
1219
|
|
1220
|
-
|
1220
|
+
let cacheRauchmelderArray = null;
|
1221
1221
|
export function loadZigbeeRauchmelder(adapter: any) {
|
1222
1222
|
if (cacheRauchmelderArray != null) {
|
1223
1223
|
return cacheRauchmelderArray;
|
@@ -1241,7 +1241,7 @@ export function loadZigbeeRauchmelder(adapter: any) {
|
|
1241
1241
|
return cacheRauchmelderArray;
|
1242
1242
|
}
|
1243
1243
|
|
1244
|
-
|
1244
|
+
let cacheWandtasterArray = null;
|
1245
1245
|
export function loadZigbeeWandtaster(adapter: any) {
|
1246
1246
|
if (cacheWandtasterArray != null) {
|
1247
1247
|
return cacheWandtasterArray;
|
@@ -1265,7 +1265,7 @@ export function loadZigbeeWandtaster(adapter: any) {
|
|
1265
1265
|
return cacheWandtasterArray;
|
1266
1266
|
}
|
1267
1267
|
|
1268
|
-
|
1268
|
+
let cacheDosenrelaisArray = null;
|
1269
1269
|
export function loadZigbeeDosenrelais(adapter: any) {
|
1270
1270
|
if (cacheDosenrelaisArray != null) {
|
1271
1271
|
return cacheDosenrelaisArray;
|
@@ -1290,7 +1290,7 @@ export function loadZigbeeDosenrelais(adapter: any) {
|
|
1290
1290
|
return cacheDosenrelaisArray;
|
1291
1291
|
}
|
1292
1292
|
|
1293
|
-
|
1293
|
+
let cacheSchalterArray = null;
|
1294
1294
|
export function loadZigbeeSchalter(adapter: any) {
|
1295
1295
|
if (cacheSchalterArray != null) {
|
1296
1296
|
return cacheSchalterArray;
|
@@ -1314,7 +1314,7 @@ export function loadZigbeeSchalter(adapter: any) {
|
|
1314
1314
|
return cacheSchalterArray;
|
1315
1315
|
}
|
1316
1316
|
|
1317
|
-
|
1317
|
+
let cacheRepeaterArray = null;
|
1318
1318
|
export function loadZigbeeRepeater(adapter: any) {
|
1319
1319
|
if (cacheRepeaterArray != null) {
|
1320
1320
|
return cacheRepeaterArray;
|
@@ -1338,7 +1338,7 @@ export function loadZigbeeRepeater(adapter: any) {
|
|
1338
1338
|
return cacheRepeaterArray;
|
1339
1339
|
}
|
1340
1340
|
|
1341
|
-
|
1341
|
+
let cacheFenstersensorenArray = null;
|
1342
1342
|
export function loadZigbeeFenstersensor(adapter: any) {
|
1343
1343
|
if (cacheFenstersensorenArray != null) {
|
1344
1344
|
return cacheFenstersensorenArray;
|