Skip to content

Commit

Permalink
v7.11.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd committed Jan 5, 2025
1 parent 04339ac commit 2d01f3a
Show file tree
Hide file tree
Showing 40 changed files with 262 additions and 309 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Lock Threads'

on:
schedule:
- cron: '30 0 * * *'
- cron: '30 0/6 * * *'
workflow_dispatch:

permissions:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Internet Systems Consortium License
===================================

Copyright (c) `2017-2024`, `HJD https://github.com/hjdhjd`
Copyright (c) `2017-2025`, `HJD https://github.com/hjdhjd`

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
Expand Down
4 changes: 4 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. This project uses [semantic versioning](https://semver.org/).

## 7.11.0 (2025-01-05)
* Improvement: additional refinements to deal with more frequent Protect controller connectivity quirks.
* Housekeeping.

## 7.10.1 (2024-12-27)
* Housekeeping.

Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright(C) 2017-2024, HJD (https://github.com/hjdhjd). All rights reserved.
/* Copyright(C) 2017-2025, HJD (https://github.com/hjdhjd). All rights reserved.
*
* eslint.config.mjs: Linting defaults for Homebridge plugins.
*/
Expand Down
2 changes: 1 addition & 1 deletion homebridge-ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h5>Support</h5>
</div>
<script type="module">

/* Copyright(C) 2017-2024, HJD (https://github.com/hjdhjd). All rights reserved.
/* Copyright(C) 2017-2025, HJD (https://github.com/hjdhjd). All rights reserved.
*
* Plugin webUI script loader.
*/
Expand Down
2 changes: 1 addition & 1 deletion homebridge-ui/public/ui.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright(C) 2017-2024, HJD (https://github.com/hjdhjd). All rights reserved.
/* Copyright(C) 2017-2025, HJD (https://github.com/hjdhjd). All rights reserved.
*
* ui.mjs: Homebridge UniFi Protect webUI.
*/
Expand Down
2 changes: 1 addition & 1 deletion homebridge-ui/server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright(C) 2017-2024, HJD (https://github.com/hjdhjd). All rights reserved.
/* Copyright(C) 2017-2025, HJD (https://github.com/hjdhjd). All rights reserved.
*
* server.js: homebridge-unifi-protect webUI server API.
*
Expand Down
134 changes: 67 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-unifi-protect",
"version": "7.10.1",
"version": "7.11.0",
"displayName": "Homebridge UniFi Protect",
"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.",
"author": {
Expand Down Expand Up @@ -77,19 +77,19 @@
"dependencies": {
"@homebridge/plugin-ui-utils": "2.0.0",
"ffmpeg-for-homebridge": "^2.1.7",
"homebridge-plugin-utils": "^1.13.0",
"unifi-protect": "^4.19.0",
"homebridge-plugin-utils": "^1.14.0",
"unifi-protect": "^4.20.3",
"ws": "8.18.0"
},
"devDependencies": {
"@stylistic/eslint-plugin": "2.12.1",
"@types/node": "22.10.2",
"@types/node": "22.10.5",
"@types/ws": "8.5.13",
"eslint": "9.17.0",
"homebridge": "1.8.4",
"shx": "0.3.4",
"typescript": "5.7.2",
"typescript-eslint": "8.18.2"
"typescript-eslint": "8.19.0"
},
"optionalDependencies": {
"bufferutil": "4.0.9"
Expand Down
2 changes: 1 addition & 1 deletion src/devices/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright(C) 2017-2024, HJD (https://github.com/hjdhjd). All rights reserved.
/* Copyright(C) 2017-2025, HJD (https://github.com/hjdhjd). All rights reserved.
*
* index.ts: Protect device classes.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/devices/protect-camera-package.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright(C) 2019-2024, HJD (https://github.com/hjdhjd). All rights reserved.
/* Copyright(C) 2019-2025, HJD (https://github.com/hjdhjd). All rights reserved.
*
* protect-camera-package.ts: Package camera device class for UniFi Protect.
*/
Expand All @@ -15,7 +15,7 @@ export class ProtectCameraPackage extends ProtectCamera {
private flashlightTimer?: NodeJS.Timeout;

// Configure the package camera.
protected async configureDevice(): Promise<boolean> {
protected configureDevice(): boolean {

// Get our parent camera.
const parentCamera = this.nvr.getDeviceById(this.ufp.id);
Expand Down Expand Up @@ -121,7 +121,7 @@ export class ProtectCameraPackage extends ProtectCamera {
this.accessory.configureController(this.stream.controller);

// We're done.
return Promise.resolve(true);
return true;
}

// Configure a light accessory to turn on or off the flashlight.
Expand Down
Loading

0 comments on commit 2d01f3a

Please sign in to comment.