iobroker-ucl 1.3.2 → 1.3.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/homematicFunctions.js +2 -2
- package/homematicFunctions.ts +2 -2
- package/package.json +1 -1
- package/shellyFunctions.js +7 -7
- package/shellyFunctions.ts +7 -7
- package/zigbeeFunctions.js +4 -4
- package/zigbeeFunctions.ts +4 -4
package/homematicFunctions.js
CHANGED
@@ -216,7 +216,7 @@ function createHomeaticDimmer(adapter, rawId, baseState, etage, raum, device, al
|
|
216
216
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceHomematicDimmer);
|
217
217
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceHomematicDimmer);
|
218
218
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceHomematicDimmer);
|
219
|
-
this.clearHomematicCaches();
|
219
|
+
this.clearHomematicCaches(adapter);
|
220
220
|
}
|
221
221
|
exports.createHomeaticDimmer = createHomeaticDimmer;
|
222
222
|
// Wandschalter:
|
@@ -282,7 +282,7 @@ function createHomeaticWandschalter(adapter, rawId, baseState, etage, raum, devi
|
|
282
282
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceHomematicWandschalter);
|
283
283
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceHomematicWandschalter);
|
284
284
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceHomematicWandschalter);
|
285
|
-
this.clearHomematicCaches();
|
285
|
+
this.clearHomematicCaches(adapter);
|
286
286
|
}
|
287
287
|
exports.createHomeaticWandschalter = createHomeaticWandschalter;
|
288
288
|
function createDatenpunktSingle(adapter, deviceRawId, attributeType, attributeName, attributeValue, category) {
|
package/homematicFunctions.ts
CHANGED
@@ -236,7 +236,7 @@ export function createHomeaticDimmer(adapter: any, rawId: number, baseState: str
|
|
236
236
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceHomematicDimmer);
|
237
237
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceHomematicDimmer);
|
238
238
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceHomematicDimmer);
|
239
|
-
this.clearHomematicCaches();
|
239
|
+
this.clearHomematicCaches(adapter);
|
240
240
|
}
|
241
241
|
|
242
242
|
// Wandschalter:
|
@@ -306,7 +306,7 @@ export function createHomeaticWandschalter(adapter:any, rawId: number, baseState
|
|
306
306
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceHomematicWandschalter);
|
307
307
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceHomematicWandschalter);
|
308
308
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceHomematicWandschalter);
|
309
|
-
this.clearHomematicCaches();
|
309
|
+
this.clearHomematicCaches(adapter);
|
310
310
|
}
|
311
311
|
|
312
312
|
function createDatenpunktSingle(adapter: any, deviceRawId, attributeType, attributeName, attributeValue, category) {
|
package/package.json
CHANGED
package/shellyFunctions.js
CHANGED
@@ -69,7 +69,7 @@ function createShellyDevice(adapter, rawId, etage, raum, device, baseState, cate
|
|
69
69
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeEtage, etage, category);
|
70
70
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeRaum, raum, category);
|
71
71
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeDevice, device, category);
|
72
|
-
this.clearShellyCaches();
|
72
|
+
this.clearShellyCaches(adapter);
|
73
73
|
}
|
74
74
|
exports.createShellyDevice = createShellyDevice;
|
75
75
|
function createDatenpunktSingle(adapter, deviceRawId, attributeType, attributeName, attributeValue, category) {
|
@@ -87,21 +87,21 @@ console.log("test");
|
|
87
87
|
function createShellySensor(adapter, rawId, etage, raum, device, baseState) {
|
88
88
|
// Allgemein:
|
89
89
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellySensor);
|
90
|
-
this.clearShellyCaches();
|
90
|
+
this.clearShellyCaches(adapter);
|
91
91
|
}
|
92
92
|
exports.createShellySensor = createShellySensor;
|
93
93
|
// Lampe RGB:
|
94
94
|
function createShellyLampeRGB(adapter, rawId, etage, raum, device, baseState) {
|
95
95
|
// Allgemein:
|
96
96
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellyLampeRGB);
|
97
|
-
this.clearShellyCaches();
|
97
|
+
this.clearShellyCaches(adapter);
|
98
98
|
}
|
99
99
|
exports.createShellyLampeRGB = createShellyLampeRGB;
|
100
100
|
// Rollladen:
|
101
101
|
function createShellyRollladen(adapter, rawId, etage, raum, device, baseState) {
|
102
102
|
// Allgemein:
|
103
103
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellyRollladen);
|
104
|
-
this.clearShellyCaches();
|
104
|
+
this.clearShellyCaches(adapter);
|
105
105
|
}
|
106
106
|
exports.createShellyRollladen = createShellyRollladen;
|
107
107
|
// Dimmer:
|
@@ -260,7 +260,7 @@ function createShellyDimmer(adapter, rawId, etage, raum, device, baseState, alex
|
|
260
260
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceShellyDimmer);
|
261
261
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceShellyDimmer);
|
262
262
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceShellyDimmer);
|
263
|
-
this.clearShellyCaches();
|
263
|
+
this.clearShellyCaches(adapter);
|
264
264
|
}
|
265
265
|
exports.createShellyDimmer = createShellyDimmer;
|
266
266
|
// Lampe Weiss:
|
@@ -353,7 +353,7 @@ function createShellyLampe(adapter, rawId, etage, raum, device, baseState, chann
|
|
353
353
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceShellyLampeWeiss);
|
354
354
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceShellyLampeWeiss);
|
355
355
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceShellyLampeWeiss);
|
356
|
-
this.clearShellyCaches();
|
356
|
+
this.clearShellyCaches(adapter);
|
357
357
|
}
|
358
358
|
exports.createShellyLampe = createShellyLampe;
|
359
359
|
// Steckdose:
|
@@ -446,7 +446,7 @@ function createShellySteckdose(adapter, rawId, etage, raum, device, baseState, c
|
|
446
446
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceShellySteckdose);
|
447
447
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceShellySteckdose);
|
448
448
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceShellySteckdose);
|
449
|
-
this.clearShellyCaches();
|
449
|
+
this.clearShellyCaches(adapter);
|
450
450
|
}
|
451
451
|
exports.createShellySteckdose = createShellySteckdose;
|
452
452
|
var cacheRollladenArray = null;
|
package/shellyFunctions.ts
CHANGED
@@ -82,7 +82,7 @@ export function createShellyDevice(adapter: any, rawId: number, etage: string, r
|
|
82
82
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeEtage, etage, category);
|
83
83
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeRaum, raum, category);
|
84
84
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeDevice, device, category);
|
85
|
-
this.clearShellyCaches();
|
85
|
+
this.clearShellyCaches(adapter);
|
86
86
|
}
|
87
87
|
|
88
88
|
function createDatenpunktSingle(adapter: any, deviceRawId, attributeType, attributeName, attributeValue, category) {
|
@@ -103,7 +103,7 @@ export function createShellySensor(adapter: any, rawId: number, etage: string,
|
|
103
103
|
|
104
104
|
// Allgemein:
|
105
105
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellySensor);
|
106
|
-
this.clearShellyCaches();
|
106
|
+
this.clearShellyCaches(adapter);
|
107
107
|
}
|
108
108
|
|
109
109
|
// Lampe RGB:
|
@@ -111,7 +111,7 @@ export function createShellyLampeRGB(adapter: any, rawId: number, etage: string
|
|
111
111
|
|
112
112
|
// Allgemein:
|
113
113
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellyLampeRGB);
|
114
|
-
this.clearShellyCaches();
|
114
|
+
this.clearShellyCaches(adapter);
|
115
115
|
}
|
116
116
|
|
117
117
|
// Rollladen:
|
@@ -119,7 +119,7 @@ export function createShellyRollladen(adapter: any, rawId: number, etage: strin
|
|
119
119
|
|
120
120
|
// Allgemein:
|
121
121
|
createShellyDevice(adapter, rawId, etage, raum, device, baseState, deviceShellyRollladen);
|
122
|
-
this.clearShellyCaches();
|
122
|
+
this.clearShellyCaches(adapter);
|
123
123
|
}
|
124
124
|
|
125
125
|
// Dimmer:
|
@@ -287,7 +287,7 @@ export function createShellyDimmer(adapter: any, rawId: number, etage: string,
|
|
287
287
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceShellyDimmer);
|
288
288
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceShellyDimmer);
|
289
289
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceShellyDimmer);
|
290
|
-
this.clearShellyCaches();
|
290
|
+
this.clearShellyCaches(adapter);
|
291
291
|
}
|
292
292
|
|
293
293
|
// Lampe Weiss:
|
@@ -386,7 +386,7 @@ export function createShellyLampe(adapter:any, rawId: number, etage: string, rau
|
|
386
386
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceShellyLampeWeiss);
|
387
387
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceShellyLampeWeiss);
|
388
388
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceShellyLampeWeiss);
|
389
|
-
this.clearShellyCaches();
|
389
|
+
this.clearShellyCaches(adapter);
|
390
390
|
}
|
391
391
|
|
392
392
|
// Steckdose:
|
@@ -485,7 +485,7 @@ export function createShellySteckdose(adapter:any, rawId: number, etage: string,
|
|
485
485
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOffExitHouseWinter, turnOffExitHouseWinter, deviceShellySteckdose);
|
486
486
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseSummer, turnOnEnterHouseSummer, deviceShellySteckdose);
|
487
487
|
createDatenpunktSingle(adapter, rawId, attributeTypeBoolean, attribute_TurnOnEnterHouseWinter, turnOnEnterHouseWinter, deviceShellySteckdose);
|
488
|
-
this.clearShellyCaches();
|
488
|
+
this.clearShellyCaches(adapter);
|
489
489
|
}
|
490
490
|
|
491
491
|
var cacheRollladenArray = null;
|
package/zigbeeFunctions.js
CHANGED
@@ -119,7 +119,7 @@ function createZigbeeDevice(adapter, rawId, baseState, etage, raum, device, cate
|
|
119
119
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeEtage, etage, category);
|
120
120
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeRaum, raum, category);
|
121
121
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeDevice, device, category);
|
122
|
-
this.clearZigbeeCaches();
|
122
|
+
this.clearZigbeeCaches(adapter);
|
123
123
|
}
|
124
124
|
exports.createZigbeeDevice = createZigbeeDevice;
|
125
125
|
// Dosenrelais:
|
@@ -223,7 +223,7 @@ function createZigbeeSteckdose(adapter, rawId, baseState, etage, raum, device, a
|
|
223
223
|
}
|
224
224
|
});
|
225
225
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attribute_TasterBooleanOff, db_additionalStates4TurnOff, deviceZigbeeSteckdose);
|
226
|
-
this.clearZigbeeCaches();
|
226
|
+
this.clearZigbeeCaches(adapter);
|
227
227
|
}
|
228
228
|
exports.createZigbeeSteckdose = createZigbeeSteckdose;
|
229
229
|
// LampeWeiss:
|
@@ -418,7 +418,7 @@ function createZigbeeLampeWeiss(adapter, rawId, baseState, etage, raum, device,
|
|
418
418
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeLampWeiss_ColorSchemes_Weiss4_level, null, deviceZigbeeLampeWeiss);
|
419
419
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeLampWeiss_ColorSchemes_Weiss4_ct, null, deviceZigbeeLampeWeiss);*/
|
420
420
|
}
|
421
|
-
this.clearZigbeeCaches();
|
421
|
+
this.clearZigbeeCaches(adapter);
|
422
422
|
}
|
423
423
|
exports.createZigbeeLampeWeiss = createZigbeeLampeWeiss;
|
424
424
|
// LampeRGB:
|
@@ -661,7 +661,7 @@ function createZigbeeLampeRGB(adapter, rawId, baseState, etage, raum, device, is
|
|
661
661
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeRGBLamp_ColorSchemes_Weiss4_level, null, category);
|
662
662
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeRGBLamp_ColorSchemes_Weiss4_ct, null, category);*/
|
663
663
|
}
|
664
|
-
this.clearZigbeeCaches();
|
664
|
+
this.clearZigbeeCaches(adapter);
|
665
665
|
}
|
666
666
|
exports.createZigbeeLampeRGB = createZigbeeLampeRGB;
|
667
667
|
function createDatenpunktSingle(adapter, deviceRawId, attributeType, attributeName, attributeValue, category) {
|
package/zigbeeFunctions.ts
CHANGED
@@ -142,7 +142,7 @@ export function createZigbeeDevice(adapter:any, rawId: number, baseState: string
|
|
142
142
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeEtage, etage, category);
|
143
143
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeRaum, raum, category);
|
144
144
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attributeDevice, device, category);
|
145
|
-
this.clearZigbeeCaches();
|
145
|
+
this.clearZigbeeCaches(adapter);
|
146
146
|
}
|
147
147
|
|
148
148
|
// Dosenrelais:
|
@@ -249,7 +249,7 @@ export function createZigbeeSteckdose(adapter:any, rawId: number, baseState: str
|
|
249
249
|
}
|
250
250
|
});
|
251
251
|
createDatenpunktSingle(adapter, rawId, attributeTypeString, attribute_TasterBooleanOff, db_additionalStates4TurnOff, deviceZigbeeSteckdose);
|
252
|
-
this.clearZigbeeCaches();
|
252
|
+
this.clearZigbeeCaches(adapter);
|
253
253
|
}
|
254
254
|
|
255
255
|
// LampeWeiss:
|
@@ -453,7 +453,7 @@ export function createZigbeeLampeWeiss(adapter:any, rawId: number, baseState: st
|
|
453
453
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeLampWeiss_ColorSchemes_Weiss4_level, null, deviceZigbeeLampeWeiss);
|
454
454
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeLampWeiss_ColorSchemes_Weiss4_ct, null, deviceZigbeeLampeWeiss);*/
|
455
455
|
}
|
456
|
-
this.clearZigbeeCaches();
|
456
|
+
this.clearZigbeeCaches(adapter);
|
457
457
|
}
|
458
458
|
|
459
459
|
// LampeRGB:
|
@@ -706,7 +706,7 @@ export function createZigbeeLampeRGB(adapter:any, rawId: number, baseState: stri
|
|
706
706
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeRGBLamp_ColorSchemes_Weiss4_level, null, category);
|
707
707
|
createDatenpunktSingle(adapter, rawId, attributeTypeNumber, attributeRGBLamp_ColorSchemes_Weiss4_ct, null, category);*/
|
708
708
|
}
|
709
|
-
this.clearZigbeeCaches();
|
709
|
+
this.clearZigbeeCaches(adapter);
|
710
710
|
}
|
711
711
|
|
712
712
|
function createDatenpunktSingle(adapter:any, deviceRawId, attributeType, attributeName, attributeValue, category:string) {
|