homebridge-loxone-proxy 2.1.0-beta.5 → 2.1.0-beta.6

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
@@ -135,7 +135,13 @@ Loxone `Intercom` and `IntercomV2` controls are exposed as a Doorbell + Camera (
135
135
 
136
136
  **Intercom V2 credentials.** The plugin opens the IntercomV2 video stream with the Miniserver `username`/`password` from the plugin config. That account needs enough rights in Loxone Config to access the intercom; otherwise the stream and snapshots fail with `401 Unauthorized`.
137
137
 
138
- **Two-way audio (experimental).** Enable *Two-Way Audio* under Advanced. Loxone Intercom V2 uses automatic WebRTC talkback, so no extra configuration is needed. For non-Loxone cameras you can supply FFmpeg return-audio output args (`TwoWayAudioOutputArgs`) using the `{camera_host}`, `{stream_url}`, `{audio_host}`, `{audio_user}` and `{audio_pass}` placeholders.
138
+ **Sound and two-way audio.** Enable *Audio and Two-Way Audio* on the HKSV tab (`Advanced.EnableTwoWayAudio`). A Loxone Intercom (Gen 2) then gives its microphone in the live view and takes HomeKit's talk button on its speaker, over WebRTC, with no further configuration. The intercom has no listen-only mode: while somebody watches, it is in a call, as when the talk button is tapped in the Loxone app. For non-Loxone cameras you can supply FFmpeg return-audio output args (`TwoWayAudioOutputArgs`) using the `{camera_host}`, `{stream_url}`, `{audio_host}`, `{audio_user}` and `{audio_pass}` placeholders.
139
+
140
+ **Motion.** Where the intercom has no motion sensor of its own in the Loxone app, motion is told by comparing the camera's pictures, over the whole picture. It only starts a recording: the activity zones and person detection you set in the Home app then decide what HomeKit keeps and tells you about.
141
+
142
+ **Sound in recordings.** With *Record the Door's Sound* (`Advanced.RecordingAudio`) HKSV recordings of a Loxone Intercom (Gen 2) carry the door's sound; every recording then opens a call to the intercom for as long as it runs. Off (the default), recordings have a silent audio track.
143
+
144
+ **FFmpeg.** The video is encoded with the ffmpeg that comes with Homebridge (`ffmpeg-for-homebridge`); `Advanced.FfmpegPath` names another one (it needs `libx264`, and `libfdk_aac` for live sound). Nothing is encoded while nobody watches and nothing is recorded: the prebuffer is kept as the camera's own JPEGs.
139
145
 
140
146
  # Limitations
141
147
  Apple does not allow more than 150 accessories per bridge. This plugin will not map more than 150 items on a single bridge, but if you have other plugins active you might still hit the limit. Ways to stay under it: split rooms onto their [own bridges](#per-room-bridges), run this plugin as a child bridge, or use a dedicated Loxone user and only expose the items you actually want in HomeKit.
@@ -63,17 +63,6 @@
63
63
  { "title": "Disabled", "enum": ["Disabled"] }
64
64
  ]
65
65
  },
66
- "MotionTriggersDoorbell": {
67
- "type": "boolean",
68
- "title": "Use Motion to trigger Doorbell event",
69
- "default": false
70
- },
71
- "JpegHeaderSize": {
72
- "type": "integer",
73
- "title": "JPEG Header Size Offset (bytes)",
74
- "description": "Adjust motion detection baseline when cameras prepend variable JPEG metadata.",
75
- "default": 623
76
- },
77
66
  "VentilationManualSeconds": {
78
67
  "type": "integer",
79
68
  "title": "Ventilation manual-override duration (seconds)",
@@ -82,10 +71,21 @@
82
71
  },
83
72
  "EnableTwoWayAudio": {
84
73
  "type": "boolean",
85
- "title": "Enable Two-Way Audio (experimental)",
86
- "description": "Enables HomeKit return audio. Loxone Intercom V2 uses automatic WebRTC talkback (no FFmpeg output args needed).",
74
+ "title": "Enable Audio and Two-Way Audio",
75
+ "description": "Loxone Intercom (Gen 2): the door's microphone in the live view and HomeKit's talk button to its speaker, over WebRTC (no FFmpeg output args needed). While somebody watches, the intercom is in a call. Other cameras: return audio through the FFmpeg output args below.",
87
76
  "default": false
88
77
  },
78
+ "RecordingAudio": {
79
+ "type": "boolean",
80
+ "title": "Record the Door's Sound (HKSV)",
81
+ "description": "Loxone Intercom (Gen 2) with audio enabled: HomeKit Secure Video recordings carry the door's sound. Every recording then opens a call to the intercom for as long as it runs. Off: recordings have a silent audio track.",
82
+ "default": false
83
+ },
84
+ "FfmpegPath": {
85
+ "type": "string",
86
+ "title": "FFmpeg Path",
87
+ "description": "Optional: the ffmpeg to use for the intercom's video (needs libx264; libfdk_aac for live audio). Empty: the one that comes with Homebridge (ffmpeg-for-homebridge)."
88
+ },
89
89
  "TwoWayAudioOutputArgs": {
90
90
  "type": "string",
91
91
  "title": "Two-Way Audio FFmpeg Output Args",
@@ -233,10 +233,10 @@
233
233
  "description": "HomeKit Secure Video, camera motion detection and two-way audio. HKSV recording requires iCloud+ and a compatible HomeKit Hub.",
234
234
  "items": [
235
235
  "enableHKSV",
236
- "Advanced.MotionTriggersDoorbell",
237
- "Advanced.JpegHeaderSize",
238
236
  "Advanced.EnableTwoWayAudio",
239
- "Advanced.TwoWayAudioOutputArgs"
237
+ "Advanced.RecordingAudio",
238
+ "Advanced.TwoWayAudioOutputArgs",
239
+ "Advanced.FfmpegPath"
240
240
  ]
241
241
  },
242
242
  {
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": "2.1.0-beta.5",
5
+ "version": "2.1.0-beta.6",
6
6
  "description": "Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.",
7
7
  "license": "Apache-2.0",
8
8
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "@homebridge/camera-utils": "^2.2.0",
37
37
  "@homebridge/plugin-ui-utils": "^1.0.3",
38
38
  "@roamhq/wrtc": "^0.10.0",
39
- "loxone-homekit": "^1.1.3",
39
+ "loxone-homekit": "^1.3.3",
40
40
  "loxone-ts-client": "^0.5.0"
41
41
  },
42
42
  "devDependencies": {