iobroker-ucl 1.0.54 → 1.0.55
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 +16 -16
- package/homematicFunctions.ts +16 -16
- package/package.json +1 -1
- package/zigbeeFunctions.js +21 -21
- package/zigbeeFunctions.ts +21 -21
package/homematicFunctions.js
CHANGED
@@ -188,67 +188,67 @@ exports.getHomematicDevices = getHomematicDevices;
|
|
188
188
|
function getHomematicDevicesAll(adapter) {
|
189
189
|
//var homematicArray : Array<InstanceType<typeof AbstractHomematic>> = [];
|
190
190
|
var homematicArray = [];
|
191
|
-
|
191
|
+
this.getHomematicDevices(adapter, deviceHomematicWandthermostat).forEach(function (homematic) {
|
192
192
|
// @ts-ignore
|
193
193
|
homematicArray.push(homematic);
|
194
194
|
});
|
195
|
-
|
195
|
+
this.getHomematicDevices(adapter, deviceHomematicPraesenzmelder).forEach(function (homematic) {
|
196
196
|
// @ts-ignore
|
197
197
|
homematicArray.push(homematic);
|
198
198
|
});
|
199
|
-
|
199
|
+
this.getHomematicDevices(adapter, deviceHomematicWetterstation).forEach(function (homematic) {
|
200
200
|
// @ts-ignore
|
201
201
|
homematicArray.push(homematic);
|
202
202
|
});
|
203
|
-
|
203
|
+
this.getHomematicDevices(adapter, deviceHomematicDoor).forEach(function (homematic) {
|
204
204
|
// @ts-ignore
|
205
205
|
homematicArray.push(homematic);
|
206
206
|
});
|
207
|
-
|
207
|
+
this.getHomematicDevices(adapter, deviceHomematicRollladen).forEach(function (homematic) {
|
208
208
|
// @ts-ignore
|
209
209
|
homematicArray.push(homematic);
|
210
210
|
});
|
211
|
-
|
211
|
+
this.getHomematicDevices(adapter, deviceHomematicWandschalter).forEach(function (homematic) {
|
212
212
|
// @ts-ignore
|
213
213
|
homematicArray.push(homematic);
|
214
214
|
});
|
215
|
-
|
215
|
+
this.getHomematicDevices(adapter, deviceHomematicFussbodenheizung).forEach(function (homematic) {
|
216
216
|
// @ts-ignore
|
217
217
|
homematicArray.push(homematic);
|
218
218
|
});
|
219
|
-
|
219
|
+
this.getHomematicDevices(adapter, deviceHomematicWandtaster).forEach(function (homematic) {
|
220
220
|
// @ts-ignore
|
221
221
|
homematicArray.push(homematic);
|
222
222
|
});
|
223
|
-
|
223
|
+
this.getHomematicDevices(adapter, deviceHomematicAccessPoint).forEach(function (homematic) {
|
224
224
|
// @ts-ignore
|
225
225
|
homematicArray.push(homematic);
|
226
226
|
});
|
227
|
-
|
227
|
+
this.getHomematicDevices(adapter, deviceHomematicTemperatursensor).forEach(function (homematic) {
|
228
228
|
// @ts-ignore
|
229
229
|
homematicArray.push(homematic);
|
230
230
|
});
|
231
|
-
|
231
|
+
this.getHomematicDevices(adapter, deviceHomematicRauchmelder).forEach(function (homematic) {
|
232
232
|
// @ts-ignore
|
233
233
|
homematicArray.push(homematic);
|
234
234
|
});
|
235
|
-
|
235
|
+
this.getHomematicDevices(adapter, deviceHomematicFunkSchaltaktor).forEach(function (homematic) {
|
236
236
|
// @ts-ignore
|
237
237
|
homematicArray.push(homematic);
|
238
238
|
});
|
239
|
-
|
239
|
+
this.getHomematicDevices(adapter, deviceHomematicWindow).forEach(function (homematic) {
|
240
240
|
// @ts-ignore
|
241
241
|
homematicArray.push(homematic);
|
242
242
|
});
|
243
|
-
|
243
|
+
this.getHomematicDevices(adapter, deviceHomematicSteckdose).forEach(function (homematic) {
|
244
244
|
// @ts-ignore
|
245
245
|
homematicArray.push(homematic);
|
246
246
|
});
|
247
|
-
|
247
|
+
this.getHomematicDevices(adapter, deviceHomematicHeizkoerper).forEach(function (homematic) {
|
248
248
|
// @ts-ignore
|
249
249
|
homematicArray.push(homematic);
|
250
250
|
});
|
251
|
-
|
251
|
+
this.getHomematicDevices(adapter, deviceHomematicDimmer).forEach(function (homematic) {
|
252
252
|
// @ts-ignore
|
253
253
|
homematicArray.push(homematic);
|
254
254
|
});
|
package/homematicFunctions.ts
CHANGED
@@ -194,67 +194,67 @@ export function getHomematicDevicesAll(adapter: any) {
|
|
194
194
|
var homematicArray = [];
|
195
195
|
|
196
196
|
|
197
|
-
|
197
|
+
this.getHomematicDevices(adapter, deviceHomematicWandthermostat).forEach(homematic => {
|
198
198
|
// @ts-ignore
|
199
199
|
homematicArray.push(homematic);
|
200
200
|
});
|
201
|
-
|
201
|
+
this.getHomematicDevices(adapter, deviceHomematicPraesenzmelder).forEach(homematic => {
|
202
202
|
// @ts-ignore
|
203
203
|
homematicArray.push(homematic);
|
204
204
|
});
|
205
|
-
|
205
|
+
this.getHomematicDevices(adapter, deviceHomematicWetterstation).forEach(homematic => {
|
206
206
|
// @ts-ignore
|
207
207
|
homematicArray.push(homematic);
|
208
208
|
});
|
209
|
-
|
209
|
+
this.getHomematicDevices(adapter, deviceHomematicDoor).forEach(homematic => {
|
210
210
|
// @ts-ignore
|
211
211
|
homematicArray.push(homematic);
|
212
212
|
});
|
213
|
-
|
213
|
+
this.getHomematicDevices(adapter, deviceHomematicRollladen).forEach(homematic => {
|
214
214
|
// @ts-ignore
|
215
215
|
homematicArray.push(homematic);
|
216
216
|
});
|
217
|
-
|
217
|
+
this.getHomematicDevices(adapter, deviceHomematicWandschalter).forEach(homematic => {
|
218
218
|
// @ts-ignore
|
219
219
|
homematicArray.push(homematic);
|
220
220
|
});
|
221
|
-
|
221
|
+
this.getHomematicDevices(adapter, deviceHomematicFussbodenheizung).forEach(homematic => {
|
222
222
|
// @ts-ignore
|
223
223
|
homematicArray.push(homematic);
|
224
224
|
});
|
225
|
-
|
225
|
+
this.getHomematicDevices(adapter, deviceHomematicWandtaster).forEach(homematic => {
|
226
226
|
// @ts-ignore
|
227
227
|
homematicArray.push(homematic);
|
228
228
|
});
|
229
|
-
|
229
|
+
this.getHomematicDevices(adapter, deviceHomematicAccessPoint).forEach(homematic => {
|
230
230
|
// @ts-ignore
|
231
231
|
homematicArray.push(homematic);
|
232
232
|
});
|
233
|
-
|
233
|
+
this.getHomematicDevices(adapter, deviceHomematicTemperatursensor).forEach(homematic => {
|
234
234
|
// @ts-ignore
|
235
235
|
homematicArray.push(homematic);
|
236
236
|
});
|
237
|
-
|
237
|
+
this.getHomematicDevices(adapter, deviceHomematicRauchmelder).forEach(homematic => {
|
238
238
|
// @ts-ignore
|
239
239
|
homematicArray.push(homematic);
|
240
240
|
});
|
241
|
-
|
241
|
+
this.getHomematicDevices(adapter, deviceHomematicFunkSchaltaktor).forEach(homematic => {
|
242
242
|
// @ts-ignore
|
243
243
|
homematicArray.push(homematic);
|
244
244
|
});
|
245
|
-
|
245
|
+
this.getHomematicDevices(adapter, deviceHomematicWindow).forEach(homematic => {
|
246
246
|
// @ts-ignore
|
247
247
|
homematicArray.push(homematic);
|
248
248
|
});
|
249
|
-
|
249
|
+
this.getHomematicDevices(adapter, deviceHomematicSteckdose).forEach(homematic => {
|
250
250
|
// @ts-ignore
|
251
251
|
homematicArray.push(homematic);
|
252
252
|
});
|
253
|
-
|
253
|
+
this.getHomematicDevices(adapter, deviceHomematicHeizkoerper).forEach(homematic => {
|
254
254
|
// @ts-ignore
|
255
255
|
homematicArray.push(homematic);
|
256
256
|
});
|
257
|
-
|
257
|
+
this.getHomematicDevices(adapter, deviceHomematicDimmer).forEach(homematic => {
|
258
258
|
// @ts-ignore
|
259
259
|
homematicArray.push(homematic);
|
260
260
|
});
|
package/package.json
CHANGED
package/zigbeeFunctions.js
CHANGED
@@ -674,7 +674,7 @@ function getZigbeeDevices(adapter, filterCategory) {
|
|
674
674
|
}
|
675
675
|
else if (filterCategory == deviceZigbeeBewegungsmelder) {
|
676
676
|
// @ts-ignore
|
677
|
-
|
677
|
+
zigbeeArray.push(new ZigbeeBewegungsmelder(adapter, adapter.getState(datenpunktPraefix + "." + attributeRawID).val, // [0] Device-ID (z.B. 1 --> In der Anzeige wird daraus "H01")
|
678
678
|
adapter.getState(datenpunktPraefix + "." + attributeBaseState).val, // [1] Datenpunkt Device (z.B. hm-rpc.1.001B9D898F9CBC)
|
679
679
|
adapter.getState(datenpunktPraefix + "." + attributeEtage).val, // [2] Etage/Bereich (z.B. EG)
|
680
680
|
adapter.getState(datenpunktPraefix + "." + attributeRaum).val, // [3] Raum/Unterbereich (z.B. Wohnzimmer)
|
@@ -890,45 +890,45 @@ function getZigbeeDevices(adapter, filterCategory) {
|
|
890
890
|
exports.getZigbeeDevices = getZigbeeDevices;
|
891
891
|
function getZigbeeDevicesAll(adapter) {
|
892
892
|
var zigbeeArray = [];
|
893
|
-
|
893
|
+
this.getZigbeeDevices(adapter, deviceZigbeeSteckdose).forEach(function (zigbee) {
|
894
894
|
// @ts-ignore
|
895
|
-
zigbeeArray.push(
|
895
|
+
zigbeeArray.push(zigbee);
|
896
896
|
});
|
897
|
-
|
897
|
+
this.getZigbeeDevices(adapter, deviceZigbeeBewegungsmelder).forEach(function (zigbee) {
|
898
898
|
// @ts-ignore
|
899
|
-
zigbeeArray.push(
|
899
|
+
zigbeeArray.push(zigbee);
|
900
900
|
});
|
901
|
-
|
901
|
+
this.getZigbeeDevices(adapter, deviceZigbeeLampeRGB).forEach(function (zigbee) {
|
902
902
|
// @ts-ignore
|
903
|
-
zigbeeArray.push(
|
903
|
+
zigbeeArray.push(zigbee);
|
904
904
|
});
|
905
|
-
|
905
|
+
this.getZigbeeDevices(adapter, deviceZigbeeLampeWeiss).forEach(function (zigbee) {
|
906
906
|
// @ts-ignore
|
907
|
-
zigbeeArray.push(
|
907
|
+
zigbeeArray.push(zigbee);
|
908
908
|
});
|
909
|
-
|
909
|
+
this.getZigbeeDevices(adapter, deviceZigbeeRauchmelder).forEach(function (zigbee) {
|
910
910
|
// @ts-ignore
|
911
|
-
zigbeeArray.push(
|
911
|
+
zigbeeArray.push(zigbee);
|
912
912
|
});
|
913
|
-
|
913
|
+
this.getZigbeeDevices(adapter, deviceZigbeeWandtaster).forEach(function (zigbee) {
|
914
914
|
// @ts-ignore
|
915
|
-
zigbeeArray.push(
|
915
|
+
zigbeeArray.push(zigbee);
|
916
916
|
});
|
917
|
-
|
917
|
+
this.getZigbeeDevices(adapter, deviceZigbeeDosenrelais).forEach(function (zigbee) {
|
918
918
|
// @ts-ignore
|
919
|
-
zigbeeArray.push(
|
919
|
+
zigbeeArray.push(zigbee);
|
920
920
|
});
|
921
|
-
|
921
|
+
this.getZigbeeDevices(adapter, deviceZigbeeSchalter).forEach(function (zigbee) {
|
922
922
|
// @ts-ignore
|
923
|
-
zigbeeArray.push(
|
923
|
+
zigbeeArray.push(zigbee);
|
924
924
|
});
|
925
|
-
|
925
|
+
this.getZigbeeDevices(adapter, deviceZigbeeRepeater).forEach(function (zigbee) {
|
926
926
|
// @ts-ignore
|
927
|
-
zigbeeArray.push(
|
927
|
+
zigbeeArray.push(zigbee);
|
928
928
|
});
|
929
|
-
|
929
|
+
this.getZigbeeDevices(adapter, deviceZigbeeFenstersensor).forEach(function (zigbee) {
|
930
930
|
// @ts-ignore
|
931
|
-
zigbeeArray.push(
|
931
|
+
zigbeeArray.push(zigbee);
|
932
932
|
});
|
933
933
|
return zigbeeArray;
|
934
934
|
}
|
package/zigbeeFunctions.ts
CHANGED
@@ -719,7 +719,7 @@ export function getZigbeeDevices(adapter: any, filterCategory: string) {
|
|
719
719
|
|
720
720
|
} else if (filterCategory == deviceZigbeeBewegungsmelder) {
|
721
721
|
// @ts-ignore
|
722
|
-
|
722
|
+
zigbeeArray.push(new ZigbeeBewegungsmelder(adapter,
|
723
723
|
adapter.getState(datenpunktPraefix + "." + attributeRawID).val, // [0] Device-ID (z.B. 1 --> In der Anzeige wird daraus "H01")
|
724
724
|
adapter.getState(datenpunktPraefix + "." + attributeBaseState).val, // [1] Datenpunkt Device (z.B. hm-rpc.1.001B9D898F9CBC)
|
725
725
|
adapter.getState(datenpunktPraefix + "." + attributeEtage).val, // [2] Etage/Bereich (z.B. EG)
|
@@ -1038,45 +1038,45 @@ export function getZigbeeDevices(adapter: any, filterCategory: string) {
|
|
1038
1038
|
export function getZigbeeDevicesAll(adapter: any) {
|
1039
1039
|
var zigbeeArray = [];
|
1040
1040
|
|
1041
|
-
|
1041
|
+
this.getZigbeeDevices(adapter, deviceZigbeeSteckdose).forEach(zigbee => {
|
1042
1042
|
// @ts-ignore
|
1043
|
-
zigbeeArray.push(
|
1043
|
+
zigbeeArray.push(zigbee);
|
1044
1044
|
});
|
1045
|
-
|
1045
|
+
this.getZigbeeDevices(adapter, deviceZigbeeBewegungsmelder).forEach(zigbee => {
|
1046
1046
|
// @ts-ignore
|
1047
|
-
zigbeeArray.push(
|
1047
|
+
zigbeeArray.push(zigbee);
|
1048
1048
|
});
|
1049
|
-
|
1049
|
+
this.getZigbeeDevices(adapter, deviceZigbeeLampeRGB).forEach(zigbee => {
|
1050
1050
|
// @ts-ignore
|
1051
|
-
zigbeeArray.push(
|
1051
|
+
zigbeeArray.push(zigbee);
|
1052
1052
|
});
|
1053
|
-
|
1053
|
+
this.getZigbeeDevices(adapter, deviceZigbeeLampeWeiss).forEach(zigbee => {
|
1054
1054
|
// @ts-ignore
|
1055
|
-
zigbeeArray.push(
|
1055
|
+
zigbeeArray.push(zigbee);
|
1056
1056
|
});
|
1057
|
-
|
1057
|
+
this.getZigbeeDevices(adapter, deviceZigbeeRauchmelder).forEach(zigbee => {
|
1058
1058
|
// @ts-ignore
|
1059
|
-
zigbeeArray.push(
|
1059
|
+
zigbeeArray.push(zigbee);
|
1060
1060
|
});
|
1061
|
-
|
1061
|
+
this.getZigbeeDevices(adapter, deviceZigbeeWandtaster).forEach(zigbee => {
|
1062
1062
|
// @ts-ignore
|
1063
|
-
zigbeeArray.push(
|
1063
|
+
zigbeeArray.push(zigbee);
|
1064
1064
|
});
|
1065
|
-
|
1065
|
+
this.getZigbeeDevices(adapter, deviceZigbeeDosenrelais).forEach(zigbee => {
|
1066
1066
|
// @ts-ignore
|
1067
|
-
zigbeeArray.push(
|
1067
|
+
zigbeeArray.push(zigbee);
|
1068
1068
|
});
|
1069
|
-
|
1069
|
+
this.getZigbeeDevices(adapter, deviceZigbeeSchalter).forEach(zigbee => {
|
1070
1070
|
// @ts-ignore
|
1071
|
-
zigbeeArray.push(
|
1071
|
+
zigbeeArray.push(zigbee);
|
1072
1072
|
});
|
1073
|
-
|
1073
|
+
this.getZigbeeDevices(adapter, deviceZigbeeRepeater).forEach(zigbee => {
|
1074
1074
|
// @ts-ignore
|
1075
|
-
zigbeeArray.push(
|
1075
|
+
zigbeeArray.push(zigbee);
|
1076
1076
|
});
|
1077
|
-
|
1077
|
+
this.getZigbeeDevices(adapter, deviceZigbeeFenstersensor).forEach(zigbee => {
|
1078
1078
|
// @ts-ignore
|
1079
|
-
zigbeeArray.push(
|
1079
|
+
zigbeeArray.push(zigbee);
|
1080
1080
|
});
|
1081
1081
|
|
1082
1082
|
return zigbeeArray;
|