Blake Blackshear
944b9181e0
if recording not on disk, delete from db and return
2022-02-05 09:38:22 -06:00
Blake Blackshear
326b368e82
cleanup clean snapshots on event deletion too
2022-02-05 09:38:22 -06:00
Blake Blackshear
040d8c9778
require url safe camera names
2022-02-05 09:38:22 -06:00
Bernt Christian Egeland
273f803c7c
Event Datepicker ( #2428 )
...
* new datepicker
* dev
* dev
* dev
* fix for version 0.10
* added rounded corners for date range
* lint
* Commented out some Select.test.
* improved date range selection
* improved functions with useCallback
* improved Select.test.jsx
* keyboard navigation
* keyboard navigation
* added dropdown menu icon
* Hide filters on xs, Button to show
* check if to far left before right
* Filter button text
* improved local timezone
2022-02-02 07:26:45 -06:00
Yuriy Sannikov
bd8e23833c
Run python unit tests in a github actions ( #2589 )
...
* tox tests initial commit
* run tests in the Dockerfile during the build phase
* remove local tests
Co-authored-by: YS <ys@gm.com>
2022-01-14 07:31:25 -06:00
Yuriy Sannikov
9edf38347c
safe refactoring ( #2552 )
...
Co-authored-by: YS <ys@gm.com>
2021-12-31 11:59:43 -06:00
TJ Horner
1569ce7cf6
Change JPEG mime type ( #2543 )
2021-12-30 17:03:29 -06:00
Blake Blackshear
db1255aa7f
disable disk sync on startup
2021-12-13 06:51:03 -06:00
Blake Blackshear
609b436ed8
fix migrations
2021-12-13 06:50:06 -06:00
Blake Blackshear
95bdf9fe34
check for apex dir
2021-12-12 10:27:01 -06:00
Ryan McLean
251d29aa38
#2117 change entered_zones from set to list so that they are not automatically alphabetically ordered ( #2212 )
2021-12-12 09:29:57 -06:00
Justin Goette
156e1a4dc2
Allow for ".yaml" ( #2244 )
...
* allow for ".yaml"
* remove unused import
2021-12-12 09:27:05 -06:00
Matt Clayton
a5c13e7455
Add temperature of coral tpu to telemetry mqtt message
2021-12-12 09:22:32 -06:00
Blake Blackshear
fcb4aaef0d
limit vod response cache
2021-12-12 09:21:45 -06:00
Blake Blackshear
589432bc89
update docs
2021-12-12 09:21:45 -06:00
Blake Blackshear
b19a02888a
expire overlapping segments based on mode
2021-12-12 09:21:45 -06:00
Blake Blackshear
18fd50dfce
store objects and motion counts in the db
2021-12-12 09:21:45 -06:00
Blake Blackshear
df0246aed8
warn when retention mismatch
2021-12-12 09:21:45 -06:00
Blake Blackshear
cbb2882123
refactor segment stats logic
2021-12-12 09:21:45 -06:00
Blake Blackshear
9f18629df3
switch to retain config instead of retain_days
2021-12-12 09:21:45 -06:00
Blake Blackshear
63f8034e46
pass processed tracked objects
2021-12-12 09:21:45 -06:00
Blake Blackshear
f3efc0667f
retain frame data for recording maintenance
2021-12-12 09:21:45 -06:00
Blake Blackshear
af001321a8
fix process_clip
2021-12-12 09:21:45 -06:00
Blake Blackshear
92e08b92f5
sync recordings with disk once on startup
2021-12-12 09:21:45 -06:00
Blake Blackshear
26241b0877
no need to expire recordings every minute
2021-12-12 09:21:45 -06:00
Blake Blackshear
c1155af169
ensure cache copies when events have ended
2021-11-21 09:43:37 -06:00
Blake Blackshear
77c1f1bb1b
cleanup missing files from database once per hour
2021-11-21 07:55:35 -06:00
Blake Blackshear
ae3c01fe2d
handle missing file edge case
2021-11-21 07:26:31 -06:00
Blake Blackshear
7a2a85d253
log error messages on vod endpoints
2021-11-21 07:25:36 -06:00
Blake Blackshear
77c66d4e49
ensure duration > 0 for segments
2021-11-21 07:25:01 -06:00
Blake Blackshear
494e5ac4ec
use snapshot url to support in progress events
2021-11-20 09:52:02 -06:00
Blake Blackshear
63b7465452
ensure stationary interval is greater than 0
2021-11-20 09:15:03 -06:00
Blake Blackshear
e6d2df5661
add duration to cache
2021-11-19 16:56:00 -06:00
Blake Blackshear
a3301e0347
avoid running ffprobe for each segment multiple times
2021-11-19 07:28:51 -06:00
Blake Blackshear
3d556cc2cb
warn if no wait time
2021-11-19 07:19:14 -06:00
Blake Blackshear
585efe1a0f
keep 5 segments in cache
2021-11-19 07:16:29 -06:00
Blake Blackshear
c7d47439dd
better cache handling
2021-11-17 08:57:57 -06:00
Blake Blackshear
19a6978228
avoid proactive messages with retain_days 0 and handle first pass
2021-11-17 07:44:58 -06:00
Blake Blackshear
1ebb8a54bf
avoid divide by zero
2021-11-17 07:29:23 -06:00
Blake Blackshear
ae968044d6
revert switch to b/w frame prep
2021-11-17 07:28:53 -06:00
Blake Blackshear
b912851e49
fix default motion comment
2021-11-15 06:54:03 -06:00
Blake Blackshear
14c74e4361
more robust cache management
2021-11-10 21:12:41 -06:00
Blake Blackshear
51fb532e1a
set retain when setting switches from frontend
2021-11-09 07:40:23 -06:00
Blake Blackshear
3541f966e3
error handling for the recording maintainer
2021-11-09 07:05:21 -06:00
Blake Blackshear
c7faef8faa
don't modify ffmpeg_cmd object
2021-11-08 19:05:39 -06:00
Blake Blackshear
cdd3000315
fix ffmpeg config for env vars
2021-11-08 18:20:47 -06:00
Blake Blackshear
1c1c28d0e5
create ffmpeg commands on startup
2021-11-08 07:36:21 -06:00
Blake Blackshear
4422e86907
clarify shm in docs
2021-11-08 07:36:21 -06:00
Blake Blackshear
8f43a2d109
use resolution of clip
2021-11-08 07:36:21 -06:00
Blake Blackshear
bd7755fdd3
revamp process clip
2021-11-08 07:36:21 -06:00