homebridge-unifi-protect 6.9.0 → 6.9.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 +3 -16
- package/homebridge-ui/public/index.html +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</DIV>
|
|
14
14
|
</SPAN>
|
|
15
15
|
|
|
16
|
-
`homebridge-unifi-protect` is a [Homebridge](https://homebridge.io) plugin that provides HomeKit support to the [UniFi Protect](https://
|
|
16
|
+
`homebridge-unifi-protect` is a [Homebridge](https://homebridge.io) plugin that provides HomeKit support to the [UniFi Protect](https://ui.com/us/camera-security) device ecosystem. [UniFi Protect](https://ui.com/us/camera-security) is [Ubiquiti's](https://www.ui.com) video security platform, with rich camera, doorbell, and NVR controller hardware options for you to choose from, as well as an app which you can use to view, configure and manage your video camera and doorbells.
|
|
17
17
|
|
|
18
18
|
## <A NAME="why"></A>Why Use This Plugin For UniFi Protect Support In HomeKit?
|
|
19
19
|
This plugin attempts to bridge a gap in the UniFi Protect ecosystem by providing native HomeKit support on par with what you would expect from a first-party of native HomeKit solution. My north star is to create a plugin that *just works* with minimal required configuration by you to get up and running. The goal is to provide as close to a streamlined experience as you would expect from a first-party or native HomeKit solution. For the adventurous, there are more granular options available to enable you to further tailor your experience.
|
|
@@ -23,13 +23,13 @@ What does *just works* mean in practice? It means that this plugin will discover
|
|
|
23
23
|
For the more technically inclined - this plugin has continued to pioneer the HomeKit user experience for UniFi Protect by being the ***first*** Homebridge plugin (and first third-party app, to my knowledge) to successfully reverse engineer the UniFi Protect realtime events API that was introduced with UniFi OS. This allows instantaneous, realtime capturing of events as they occur in the Protect ecosystem, allowing us to provide that same level of realtime sensor and camera feedback to HomeKit. Since reverse engineering the realtime events API, most of the major open source smart automation projects have benefited and also incorporated our work, improving the experience for everyone across smart home ecosystems.
|
|
24
24
|
|
|
25
25
|
### Features
|
|
26
|
-
- ***Easy* configuration - all you need is your UniFi Protect controller IP address, username, and password to get started.** The defaults work for the vast majority of users. When you want more, there are [additional options](https://github.com/hjdhjd/homebridge-unifi-protect/blob/main/docs/FeatureOptions.md) you can play with, if you choose.
|
|
26
|
+
- ***Easy* configuration - all you need is your UniFi Protect controller IP address, username, and password to get started.** The defaults work quite well for the vast majority of users. When you want more, there are [additional options](https://github.com/hjdhjd/homebridge-unifi-protect/blob/main/docs/FeatureOptions.md) you can play with, if you choose.
|
|
27
27
|
|
|
28
28
|
- **Full HomeKit support for the UniFi Protect ecosystem.** All generally available UniFi Protect devices are supported, including cameras, chimes, doorbells, lights, sensors, and ViewPorts.
|
|
29
29
|
|
|
30
30
|
- **[Complete HomeKit Secure Video support for all UniFi Protect cameras.](https://github.com/hjdhjd/homebridge-unifi-protect/blob/main/docs/HomeKitSecureVideo.md)** Complete HomeKit Secure Video support, without the need for additional plugins or software beyond FFmpeg. Another community first - all without the need for additional tools to get a complete solution.
|
|
31
31
|
|
|
32
|
-
- **Blazing fast video streaming.** Video streaming from HomeKit will start within in 1-2 seconds for cameras, in most cases - less than a second when using a fast machine like an Apple Silicon Mac mini. I've spent the time to optimize the video streaming experience to ensure it feels very responsive, and *just works*.
|
|
32
|
+
- **Blazing fast video streaming.** Video streaming from HomeKit will start within in 1-2 seconds for cameras, in most cases - less than a second when using a fast machine like an Apple Silicon Mac mini. I've spent the time to optimize the video streaming experience to ensure it feels very responsive, and *just works*. For those that have hardware-accelerated CPUs and GPUs, streaming load times that can be as low as 0.2-0.3 seconds on a day-to-day basis, which is often better than the native UniFi Protect app! Supported hardware-accelerated platforms are currently: Apple Macs (both Intel and Apple Silicon), Intel Quick Sync Video-enabled CPUs, and Raspberry Pi 4.
|
|
33
33
|
|
|
34
34
|
- **[Full UniFi Protect Doorbell support.](https://github.com/hjdhjd/homebridge-unifi-protect/blob/main/docs/Doorbell.md).** This plugin provides complete support for [UniFi Protect Doorbells](https://store.ui.com/collections/unifi-protect/products/uvc-g4-doorbell). We support all the features of the doorbell including - doorbell rings, two-way audio, package camera support, and the use of the onboard LCD screen for messages. Two-way audio has caveats you should be aware of.
|
|
35
35
|
|
|
@@ -88,19 +88,6 @@ Audio on cameras is tricky in the HomeKit world to begin with, and when you thro
|
|
|
88
88
|
|
|
89
89
|
* **Audio support will not work unless you have a version of FFmpeg that supports fdk-aac.** Unfortunately, most default installations of FFmpeg are not compiled with support for fdk-aac. You'll need to compile or acquire a version of FFmpeg that does. Doing so is beyond the scope of this documentation. There are plenty of guides to this - Google is your friend. This plugin uses [ffmpeg-for-homebridge](https://www.npmjs.com/package/ffmpeg-for-homebridge) which eases the pain somewhat by providing prebuilt static binaries of FFmpeg for certain platforms, and save you the trouble of having to compile a version of FFmpeg yourself.
|
|
90
90
|
|
|
91
|
-
### Using Other Video Processors
|
|
92
|
-
`videoProcessor` is the video processor used to stream video. By default, this is [FFmpeg](https://ffmpeg.org), but can be your own custom version of ffmpeg or other video processor that accepts and understands FFmpeg command line semantics.
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
{
|
|
96
|
-
"platform": "UniFi Protect",
|
|
97
|
-
"videoProcessor": "/my/own/compiled/ffmpeg",
|
|
98
|
-
"controllers": [
|
|
99
|
-
...
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
```
|
|
103
|
-
|
|
104
91
|
### Things To Be Aware Of
|
|
105
92
|
- **Make sure you are running on the latest production / stable firmwares for both your controller platform (UCKgen2+, UDM-Pro, UNVR, etc.) as well as the latest production / stable UniFi Protect controller firmware.**
|
|
106
93
|
- **No beta versions of iOS, iPadOS, macOS, tvOS, or watchOS are supported. You are on your own if you choose to install / run beta firmwares - don't expect support or sympathy if you run into issues.**
|
|
@@ -846,13 +846,14 @@
|
|
|
846
846
|
if(("defaultValue" in option)) {
|
|
847
847
|
|
|
848
848
|
const tdInput = document.createElement("td");
|
|
849
|
+
tdInput.classList.add("mr-2");
|
|
850
|
+
tdInput.style.width = "10%";
|
|
849
851
|
|
|
850
852
|
inputValue = document.createElement("input");
|
|
851
853
|
inputValue.type = "text";
|
|
852
854
|
inputValue.value = initialValue ?? option.defaultValue;
|
|
853
855
|
inputValue.size = 5;
|
|
854
856
|
inputValue.readOnly = !checkbox.checked;
|
|
855
|
-
inputValue.classList.add("mr-2");
|
|
856
857
|
|
|
857
858
|
// Add or remove the setting from our configuration when we've changed our state.
|
|
858
859
|
inputValue.addEventListener("change", async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-unifi-protect",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.1",
|
|
4
4
|
"displayName": "Homebridge UniFi Protect",
|
|
5
5
|
"description": "Homebridge UniFi Protect plugin providing complete HomeKit integration for the UniFi Protect ecosystem with full support for most features including autoconfiguration, motion detection, multiple controllers, and realtime updates.",
|
|
6
6
|
"author": {
|