homebridge-loxone-proxy 1.4.0 → 1.4.1-beta.2

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
@@ -1,7 +1,7 @@
1
1
 
2
2
  <p align="center">
3
3
 
4
- <img src="https://github.com/homebridge/branding/raw/master/logos/homebridge-wordmark-logo-vertical.png" width="150">
4
+ <img src="https://github.com/homebridge/branding/blob/latest/logos/homebridge-wordmark-logo-horizontal.png" width="250">
5
5
 
6
6
  </p>
7
7
 
@@ -28,14 +28,14 @@ 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.
35
35
  |`MoodSwitch` | Switch Group | Auto | all LightControllerV2 moods are mapped to a Switch Group as a seperate switch.
36
36
  |`Motion` | MotionSensor | Manual | Requires an alias in the config.
37
37
  |`PresenceDetector` | OccupancySensor | Auto
38
- |`Switch` | Switch, Outlet, or Lightbulb | Auto
38
+ |`Switch, Pushbutton` | Switch, Outlet, or Lightbulb | Auto
39
39
  |`Ventilation` | Fanv2 | Auto
40
40
  |`WindowMonitor` | ContactSensor | Auto
41
41
 
@@ -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 Intercom MotionSensor`);
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 Intercom MotionSensor`);
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,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E,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"}
@@ -0,0 +1,4 @@
1
+ import { Switch } from './Switch';
2
+ export declare class Pushbutton extends Switch {
3
+ }
4
+ //# sourceMappingURL=Pushbutton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pushbutton.d.ts","sourceRoot":"","sources":["../../../src/loxone/items/Pushbutton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,qBAAa,UAAW,SAAQ,MAAM;CACrC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Pushbutton = void 0;
4
+ const Switch_1 = require("./Switch");
5
+ class Pushbutton extends Switch_1.Switch {
6
+ }
7
+ exports.Pushbutton = Pushbutton;
8
+ //# sourceMappingURL=Pushbutton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pushbutton.js","sourceRoot":"","sources":["../../../src/loxone/items/Pushbutton.ts"],"names":[],"mappings":";;;AAAA,qCAAkC;AAKlC,MAAa,UAAW,SAAQ,eAAM;CACrC;AADD,gCACC"}
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.0",
5
+ "version": "1.4.1-beta.2",
6
6
  "description": "Homebridge plugin which exposes a Loxone system to HomeKit.",
7
7
  "license": "Apache-2.0",
8
8
  "repository": {
@@ -1,4 +0,0 @@
1
- import { Switch } from './Switch';
2
- export declare class PushButton extends Switch {
3
- }
4
- //# sourceMappingURL=PushButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PushButton.d.ts","sourceRoot":"","sources":["../../../src/loxone/items/PushButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,qBAAa,UAAW,SAAQ,MAAM;CACrC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PushButton = void 0;
4
- const Switch_1 = require("./Switch");
5
- class PushButton extends Switch_1.Switch {
6
- }
7
- exports.PushButton = PushButton;
8
- //# sourceMappingURL=PushButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PushButton.js","sourceRoot":"","sources":["../../../src/loxone/items/PushButton.ts"],"names":[],"mappings":";;;AAAA,qCAAkC;AAKlC,MAAa,UAAW,SAAQ,eAAM;CACrC;AADD,gCACC"}