homebridge-loxone-proxy 1.4.0 → 1.4.1-beta.1
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
|
@@ -28,7 +28,7 @@ It retrieves the loxone StructureFile and tries to map all items to HomeKit acce
|
|
|
28
28
|
|`Gate` | GarageDoorOpener | Auto
|
|
29
29
|
|`Humidity` | HumiditySensor | Manual | Requires an alias in the config.
|
|
30
30
|
|`Intercom` | Doorbell, Camera | Auto
|
|
31
|
-
|`IntercomV2` | Doorbell, MotionSensor, Camera | Auto
|
|
31
|
+
|`IntercomV2` | Doorbell, MotionSensor, Camera | Auto | "Use in userinterface" has to be enabled on the MotionSensor for it to be detected.
|
|
32
32
|
|`IRoomControllerV2` | Thermostat | Auto
|
|
33
33
|
|`Jalousie` | Window Covering | Auto
|
|
34
34
|
|`Lock` | LockMechanism | Manual | A switch with an alias that is defined in the config.
|
|
@@ -14,9 +14,9 @@ class IntercomV2 extends Intercom_1.Intercom {
|
|
|
14
14
|
async configureMotionSensor() {
|
|
15
15
|
const targetUuidPrefix = this.device.details.deviceUuid.split('-')[0];
|
|
16
16
|
const intercomMotionUuid = Object.keys(this.platform.LoxoneItems).filter(uuid => uuid.startsWith(targetUuidPrefix));
|
|
17
|
-
if (intercomMotionUuid) {
|
|
17
|
+
if (intercomMotionUuid.length > 0) {
|
|
18
18
|
const matchingDevice = this.platform.LoxoneItems[`${intercomMotionUuid}`];
|
|
19
|
-
this.platform.log.debug(`[${this.device.name}] Found Loxone
|
|
19
|
+
this.platform.log.debug(`[${this.device.name}] Found Loxone IntercomV2 MotionSensor`);
|
|
20
20
|
const serviceName = matchingDevice.name.replace(/\s/g, '');
|
|
21
21
|
for (const stateName in matchingDevice.states) {
|
|
22
22
|
const stateUUID = matchingDevice.states[stateName];
|
|
@@ -25,7 +25,7 @@ class IntercomV2 extends Intercom_1.Intercom {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
|
-
this.platform.log.debug(`[${this.device.name}] Unable to find Loxone
|
|
28
|
+
this.platform.log.debug(`[${this.device.name}] Unable to find Loxone IntercomV2 MotionSensor`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntercomV2.js","sourceRoot":"","sources":["../../../src/loxone/items/IntercomV2.ts"],"names":[],"mappings":";;;AAAA,sEAAmE;AACnE,yCAAsC;AAKtC,MAAa,UAAW,SAAQ,mBAAQ;IAEtC,KAAK,CAAC,eAAe;QACnB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAU,EAAE,EAAE;YAC7F,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,kCAAkC,EAAE,EAAE,CAAC,CAAC;YAEpF,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;YAGjD,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,qBAAqB;QACzB,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,UAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACvE,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;QAEpH,IAAI,kBAAkB,EAAE;
|
|
1
|
+
{"version":3,"file":"IntercomV2.js","sourceRoot":"","sources":["../../../src/loxone/items/IntercomV2.ts"],"names":[],"mappings":";;;AAAA,sEAAmE;AACnE,y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C,MAAM,CAAC,SAAS,CAAC,CAAC;gBACnD,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;gBACxE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAU,EAAE,cAAc,CAAC,CAAC;aAC9F;SACF;aAAM;YACL,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,iDAAiD,CAAC,CAAC;SAChG;IACH,CAAC;CACF;AA/BD,gCA+BC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"private": false,
|
|
3
3
|
"displayName": "Homebridge Loxone Proxy",
|
|
4
4
|
"name": "homebridge-loxone-proxy",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.1-beta.1",
|
|
6
6
|
"description": "Homebridge plugin which exposes a Loxone system to HomeKit.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"repository": {
|