Sebastian Goscik
c4c5468816
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-07 01:17:31 +01:00
Sebastian Goscik
474d3c32fa
Linting
2025-06-26 02:21:41 +01:00
Sebastian Goscik
bbd70f49bf
ruff format
2024-08-09 23:43:03 +01:00
Lloyd Pickering
ccf2cde272
Switch to using UIProtect library ( #160 )
...
* Updated poetry dependencies to remove optional flags on dev/test
* file fixups from running poetry run tox
* Updated to Python 3.10
* Switched to UI Protect library
* Updated changelog
* Fix docker permissions
- Make scripts executable by everyone
- Correct XDG variable name to fix incorrect config path being used
* Revert "Updated poetry dependencies to remove optional flags on dev/test" and regenerated lock file
This reverts commit 432d0d3df7 .
---------
Co-authored-by: Sebastian Goscik <sebastian.goscik@live.co.uk >
2024-08-09 22:16:19 +00:00
Sebastian Goscik
701fd9b0a8
Fix event enum string conversion to value
2023-11-01 21:32:19 +00:00
Sebastian Goscik
9410051ab9
Add feature to skip events longer than a maximum length
2023-11-01 00:11:49 +00:00
Sebastian Goscik
66b3344e29
Add download rate limiter
2023-07-29 12:07:31 +01:00
Sebastian Goscik
c4e9a42c1a
Block all calls to protect client when the connection is
...
dropped and we are awaiting a reconnect
2023-07-08 16:30:09 +01:00
Sebastian Goscik
f4c3c68f0d
Fixed download failure counting
...
previously it would only count as a failure if the download "succeeded" but was None
2023-04-29 09:48:46 +01:00
Sebastian Goscik
9def99ff97
linter fixes
2023-03-24 15:06:10 +00:00
Sebastian Goscik
cec323f803
Make download failure assertion more specific
2023-03-24 12:18:09 +00:00
Sebastian Goscik
89fe672693
Add ability to ignore events that keep failing
2023-03-24 12:17:44 +00:00
Sebastian Goscik
48f743bc8e
flake8 & mypy fixes
2023-03-08 00:03:26 +00:00
Sebastian Goscik
818f2eb5b3
Reclassify log messages
2023-03-07 00:16:19 +00:00
Sebastian Goscik
dfdc85001c
color logging no longer uses global variable
2023-03-07 00:16:19 +00:00
Sebastian Goscik
73022fddf1
Simplify exception logging
2023-02-25 20:51:18 +00:00
Sebastian Goscik
0c34294b7e
clear current event after upload/download
2022-12-10 06:44:56 +00:00
Sebastian Goscik
0978798078
Fix uploading files not being accounted for when checking for missing events
2022-12-09 11:12:08 +00:00
Sebastian Goscik
58eb1fd8a7
Added event ID to uploader/downloader logging
...
Also fixed issue where logging outside of unifi_protect_backup was not adding colors
2022-12-08 12:04:36 +00:00
Sebastian Goscik
bba96e9d86
Make video download buffer size configurable
2022-12-08 00:15:11 +00:00
Sebastian Goscik
4e10e0f10e
Use run_command in downloader and uploader
2022-12-05 14:03:59 +00:00
Sebastian Goscik
471ecb0662
Major Restructure
...
- Each task is now its own class
- Added a database to track backed up events and their destinations
- Added task to check for and backup missed events
2022-12-03 21:48:44 +00:00