315 Commits

Author SHA1 Message Date
Sebastian Goscik
26c1797ce9 Fix logging padding 2025-07-29 00:20:20 +01:00
Dobby
ef0cf38f83 Fix ruff formatting error 2025-07-27 15:04:53 +01:00
Dobby
2bd48014a0 Split retention and missing range 2025-07-27 15:04:53 +01:00
dependabot[bot]
afe025be1d Bump aiohttp from 3.11.16 to 3.12.14 in the pip group across 1 directory
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.12.14
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-27 11:22:56 +01:00
Dobby
a14ff1bf30 Fix skipping overlapping events on chunk boundary 2025-07-27 11:13:27 +01:00
Dobby
ba64722937 Fix cp command always running 2025-07-27 11:11:54 +01:00
Dobby
65d8e66e79 Fix slow missing events check 2025-07-27 11:10:53 +01:00
Dobby
cb54078153 Move log to after delete finished 2025-07-27 11:08:59 +01:00
Sebastian Goscik
048e061df1 Bump version: 0.13.1 → 0.14.0 2025-07-18 22:44:01 +01:00
Sebastian Goscik
7f8177de35 changelog 2025-07-18 22:44:01 +01:00
Sebastian Goscik
eaabfbdb4e Add support for Finger Print, NFC Card Scan, and Audio Detections
Also refactored code that checks if an event should be backed up into one common shared function.
2025-07-18 22:44:01 +01:00
Michał Wójcik
edf377adc4 README: Use rclone config dir in docker examples
When rclone updates its config it first tries a rename - that fails if
the file itself is bind-mounted and as a fallback rclone creates a
unique backup file (rclone.conf.old-<epoch>). After a few days
filesystem contains millions of these zero-byte files that can exhaust
the inode budget on small filesystems.

Update all Docker examples to follow the rclone manual and bind-mount
the entire /config/rclone directory rather than the single rclone.conf
file.

Signed-off-by: Michal Wojcik <michal.t.wojcik@gmail.com>
2025-07-11 12:41:46 +01:00
Sebastian Goscik
ef06d2a4d4 Bump version: 0.13.0 → 0.13.1 v0.13.1 2025-06-26 02:21:41 +01:00
Sebastian Goscik
12c8539977 Bump uiprotect version 2025-06-26 02:21:41 +01:00
Sebastian Goscik
474d3c32fa Linting 2025-06-26 02:21:41 +01:00
Sebastian Goscik
3750847055 Update bump2version to update uv.lock 2025-06-26 02:20:11 +01:00
Sebastian Goscik
c16a380918 Round download buffer size down to int 2025-06-26 02:20:11 +01:00
Sebastian Goscik
df466b5d0b Correct uv.lock UPB version 2025-06-26 02:20:11 +01:00
Sebastian Goscik
18a78863a7 Update issue templates 2025-06-09 23:15:48 +01:00
Sebastian Goscik
4d2002b98d Remove data volume from remote backup example 2025-06-07 10:26:33 +01:00
Sebastian Goscik
4b4cb86749 Bump version: 0.12.0 → 0.13.0 v0.13.0 2025-04-09 13:01:45 +01:00
Sebastian Goscik
c091fa4f92 changelog 2025-04-09 13:01:45 +01:00
Sebastian Goscik
2bf90b6763 Update readme with parallel downloads 2025-04-09 11:27:45 +01:00
Sebastian Goscik
f275443a7a Fix issue with duplicated logging with parallel loggers 2025-04-09 11:25:34 +01:00
Sebastian Goscik
3a43c1b670 Enable multiple parallel uploaders 2025-04-09 11:25:34 +01:00
Sebastian Goscik
e0421c1dd1 Add all smart detection types 2025-04-09 02:37:10 +01:00
Sebastian Goscik
4ee70e6d4b Updating dev dependencies 2025-04-09 02:25:10 +01:00
Sebastian Goscik
ce2993624f Correct CAMERAS envvar 2025-04-09 02:12:52 +01:00
Sebastian Goscik
cec1f69d8d Bump uiprotect 2025-04-09 02:06:38 +01:00
Sebastian Goscik
c07fb30fff update pre-commit 2025-04-09 01:54:57 +01:00
Sebastian Goscik
1de9b9a757 [actions] Fix CRLF issue on windows 2025-04-09 01:51:29 +01:00
Sebastian Goscik
3ec69a7a97 [actions] Fix uv install on windows 2025-04-09 01:47:06 +01:00
Sebastian Goscik
855607fa29 Migrate project to use uv 2025-04-09 01:40:24 +01:00
Sebastian Goscik
e11828bd59 Update makfile to use ruff 2025-04-08 23:54:24 +01:00
Sebastian Goscik
7439ac9bda Bump version: 0.11.0 → 0.12.0 v0.12.0 2025-01-18 18:23:33 +00:00
Sebastian Goscik
e3cbcc819e git github action python version parsing 2025-01-18 18:23:33 +00:00
Sebastian Goscik
ccb816ddbc fix bump2version config 2025-01-18 17:19:47 +00:00
Sebastian Goscik
9d2d6558a6 Changelog 2025-01-18 17:18:05 +00:00
Sebastian Goscik
3c5056614c Monkey patch in experimental downloader 2025-01-18 17:07:44 +00:00
Sebastian Goscik
1f18c06e17 Bump dependency versions 2025-01-18 17:07:44 +00:00
Sebastian Goscik
3181080bca Fix issue when --camera isnt specified
Click defaults options with multiple=true to an empty list not None if they are not provided
2025-01-18 16:43:02 +00:00
Wietse Wind
6e5d90a9f5 Add ability to INCLUDE specific cameras instead of EXCLUDE (#179)
Co-authored-by: Sebastian Goscik <sebastian.goscik@live.co.uk>
2025-01-18 15:12:55 +00:00
dependabot[bot]
475beaee3d Bump aiohttp from 3.10.10 to 3.10.11 in the pip group across 1 directory
Bumps the pip group with 1 update in the / directory: [aiohttp](https://github.com/aio-libs/aiohttp).


Updates `aiohttp` from 3.10.10 to 3.10.11
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.10...v3.10.11)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: indirect
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 21:02:05 +00:00
Wietse Wind
75cd1207b4 Fix iterating over empty events 2025-01-06 20:41:11 +00:00
Sebastian Goscik
c067dbd9f7 Filter out on-going events
Unifi Protect has started to return events that have not ended. These are now explicitly filtered out
2024-10-26 22:12:50 +01:00
Sebastian Goscik
2c43149c99 ruff formatting 2024-10-26 22:12:50 +01:00
Sebastian Goscik
78a2c3034d Bump uiprotect 2024-10-26 22:12:50 +01:00
jimmydoh
1bb8496b30 Adding support for SMART_DETECT_LINE events 2024-10-26 22:12:50 +01:00
Sebastian Goscik
80ad55d0d0 Simplified websocket reconnection logic
This is now handled automatically by uiprotect internally. We do not need to worry about this, greatly simplifying the logic here to just logging messages
2024-10-26 21:27:19 +01:00
jimmydoh
0b2c46888c Replace check_ws with subcription to websocket state 2024-10-26 21:27:19 +01:00