Commit Graph

1412 Commits

Author SHA1 Message Date
Nick Mowen
0ebd678ac3 Improve logging 2022-10-08 18:47:05 -06:00
Nick Mowen
94ce11e162 Add another test 2022-10-08 18:47:05 -06:00
Nick Mowen
ce87afc027 Fix bugs from tests 2022-10-08 18:47:04 -06:00
Nick Mowen
797f3a57d3 Fix existing tests 2022-10-08 18:47:04 -06:00
Nick Mowen
8a32071790 Rewrite storage cleanup logic to be much more efficient 2022-10-08 18:47:04 -06:00
Nick Mowen
dfb9d9ce70 Remove total and other inefficencies 2022-10-08 18:47:04 -06:00
Nick Mowen
71f2bb042b Rework camera stats to be more efficient 2022-10-08 18:47:04 -06:00
Nick Mowen
1dbe02cbd0 Get size of file from cache 2022-10-08 18:47:02 -06:00
Nick Mowen
132274579c Don't run for a camera with no recording segments 2022-10-08 18:44:56 -06:00
Nick Mowen
ac03e842bc Format tests 2022-10-08 18:44:56 -06:00
Nick Mowen
f310b2a931 Add tests for storage maintenance calculation and cleanup 2022-10-08 18:44:56 -06:00
Nick Mowen
6d40c8492a Add note about storage based retention to recording docs 2022-10-08 18:44:56 -06:00
Nick Mowen
9f2faa0c1b Remove warning about not supported storage based retention 2022-10-08 18:44:56 -06:00
Nick Mowen
d6d2fb848b Increase definition of part time recorder 2022-10-08 18:44:56 -06:00
Nick Mowen
4d9040b49f Handle edge case for cameras that only record part time 2022-10-08 18:44:56 -06:00
Nick Mowen
959c648ac9 Specifically define sort 2022-10-08 18:44:56 -06:00
Nick Mowen
6502a52225 Catch case where no recordings exist for camera 2022-10-08 18:44:56 -06:00
Nick Mowen
310aa0d3f0 Fix typo and improve logging 2022-10-08 18:44:56 -06:00
Nick Mowen
1396cd7b44 Formatting 2022-10-08 18:44:56 -06:00
Nick Mowen
1743823e3e Improve cleanup log 2022-10-08 18:44:56 -06:00
Nick Mowen
fce03ec90e Handle case where segments are not deleted on initial run or is only retained segments 2022-10-08 18:44:56 -06:00
Nick Mowen
4895e69a28 Cleanup some comments 2022-10-08 18:44:56 -06:00
Nick Mowen
d7ef31d05e Round segment size 2022-10-08 18:44:54 -06:00
Nick Mowen
aa48e7f054 Fix bug 2022-10-08 18:44:33 -06:00
Nick Mowen
46ec2c77dd Formatting 2022-10-08 18:44:33 -06:00
Nick Mowen
9d4aef0e03 Cleanup 2 hours of recordings at a time 2022-10-08 18:44:33 -06:00
Nick Mowen
4b41842aae Remove unused files 2022-10-08 18:44:33 -06:00
Nick Mowen
1284e3edaa Keep track of total segment and hour averages 2022-10-08 18:44:31 -06:00
Nick Mowen
384595f5e6 Formatting 2022-10-08 18:43:38 -06:00
Nick Mowen
c3387effe0 Store segment and hour avg sizes per camera 2022-10-08 18:43:38 -06:00
Nick Mowen
ad9227e0e6 Update comment 2022-10-08 18:43:38 -06:00
Nick Mowen
ddf35495f5 Add storage maintainer and calculate average sizes 2022-10-08 18:43:38 -06:00
Nick Mowen
3186046d45 Start adding storage maintainer 2022-10-08 18:43:36 -06:00
Nick Mowen
476d011c55 Include segment size in recordings endpoint 2022-10-08 18:42:34 -06:00
Nick Mowen
23a32f9898 Fix size parsing 2022-10-08 18:42:31 -06:00
Nick Mowen
a50534ebc6 Add default 2022-10-08 18:41:18 -06:00
Nick Mowen
4f41e7df86 Add comment 2022-10-08 18:41:18 -06:00
Nick Mowen
52b9614db2 Store the segment size in db 2022-10-08 18:41:11 -06:00
Nick Mowen
bb3aee3698 Add field and migration for segment size 2022-10-08 18:38:20 -06:00
Blake Blackshear
3c01dbed7d increment version 2022-10-08 19:32:45 -05:00
Jörg Menke
2eada219cd
Restructured camera specific documentation (#4005)
* Restructured camera specific documentation

* Make room for manufacture specific docs
* Added initial (more or less) working setup for Annke C800 camera

* Update docs/docs/configuration/camera_specific.md

remove tracking settings from example

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Moved unify and blue iris cams examples

* headline cleanup

* removed doubled headline in advanced options
* changed headline level for camera specific setup to make headlines
  show up in toc

* removed specific optimizations not related to cam

* more generic phrasing

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2022-10-07 21:15:12 -05:00
Nicolas Mowen
8dd367efa9
Link to env var option (#4032) 2022-10-07 21:13:47 -05:00
Nicolas Mowen
66dc8c772b
Remove snapshot requirement for thumbnail event query (#4039) 2022-10-07 21:13:15 -05:00
Sean Kelly
68cdd9b94c
Fix some typos in docs (#4020) 2022-10-05 06:15:15 -05:00
Nicolas Mowen
65c211bb6d
Catch ffprobe empty stdout (#4016) 2022-10-04 19:56:04 -05:00
Nicolas Mowen
60ad38261b
Fix sub label access (#4015)
* Fix access

* Formatting
2022-10-04 18:49:37 -05:00
Blake Blackshear
c02100ee6f increment version 2022-10-04 06:28:56 -05:00
Blake Blackshear
8669c29e3d
don't overwrite segments that already exist (#3995) 2022-10-01 18:11:29 -05:00
Kamahat
10783fec49
identation, device Id (#3921)
* identation, device Id

indentation issue : "deploy"  need to ne at th esame level as "image"
Device ID : use "device id" instead of "count: 1" cf : https://docs.docker.com/compose/gpu-support/

* Update docs/docs/configuration/hardware_acceleration.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2022-10-01 09:04:28 -05:00
Julien Ehrhart
3bed4611f1
Add an example for birdseye override at camera level (#3922) 2022-10-01 09:04:05 -05:00