Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear 19f07c5142 try and ensure database closes cleanly 2021-02-07 08:41:06 -06:00
Blake Blackshear 6a0f990f0a purge duplicate events during cleanup 2021-02-07 08:41:06 -06:00
Blake Blackshear 325d0ad20a add global object mask 2021-02-06 06:31:10 -06:00
Blake Blackshear b58d9e6f80 add camera level ffmpeg params 2021-02-05 07:25:06 -06:00
Blake Blackshear c003cd208a adjust jpg quality in other locations too 2021-02-05 07:25:06 -06:00
Blake Blackshear 3831f4ee95 allow defining required zones for snapshots/clips/mqtt 2021-02-04 21:45:49 -06:00
Blake Blackshear 5e35c35d12 proactively clean up cache when above 90% use 2021-02-04 08:01:12 -06:00
Blake Blackshear 92bbf4b59a increase default max_disappeared to 5x FPS 2021-02-04 07:21:15 -06:00
Blake Blackshear ce2fe5973a only run detection on objects that intersect with motion 2021-02-04 07:21:15 -06:00
Blake Blackshear 5174300590 add disk usage to stats 2021-02-03 06:37:25 -06:00
Blake Blackshear ec82401dc4 increment version 2021-02-01 08:01:53 -06:00
Blake Blackshear d376f6b1d2 increment version 2021-01-31 06:20:59 -06:00
Blake Blackshear 40d5a9f890 change default log level 2021-01-31 06:18:35 -06:00
Blake Blackshear ee3e744cc6 tail last 100 lines of ffmpeg logs and dump when failure detected 2021-01-31 06:18:35 -06:00
Blake Blackshear b55bd1e027 add param to reduce response sizes by excluding thumbnails in api response 2021-01-31 06:18:35 -06:00
Blake Blackshear e9b1618364 add note about protection mode for tmpfs fixes #658 2021-01-29 06:42:55 -06:00
Blake Blackshear 6dc6ed1e94 more detailed reolink args 2021-01-29 06:40:32 -06:00
Blake Blackshear 1943a49274 add audio info to docs 2021-01-29 06:35:54 -06:00
Blake Blackshear faa8abb2b9 docs updates 2021-01-28 08:21:04 -06:00
Blake Blackshear f6cd2fc68e clarifying addon docs 2021-01-28 07:45:09 -06:00
Blake Blackshear 15b5ffddd4 updating for docusaurus2 docs 2021-01-26 21:40:33 -06:00
Blake Blackshear 2beb44b591 add search to docs 2021-01-26 21:40:33 -06:00
Blake Blackshear 27b659dde1 tweaking the docs 2021-01-26 21:40:33 -06:00
Blake Blackshear 630c2ee6f6 use sqlitequeuedb 2021-01-26 21:40:33 -06:00
Blake Blackshear d31c295598 add debug log when cache is cleaned up 2021-01-26 21:40:33 -06:00
Blake Blackshear a7bb0931c4 if detection stopped, assume the container needs a restart 2021-01-26 21:40:33 -06:00
Blake Blackshear ff99a01423 fix table in docs 2021-01-26 21:40:33 -06:00
Blake Blackshear ea6e311318 readme update 2021-01-26 21:40:33 -06:00
Blake Blackshear d315dbea22 rate limit tracked object updates to every 5 seconds 2021-01-26 21:40:33 -06:00
Blake Blackshear 8db7ab6724 add snapshot endpoint that works during the event fixes #575 2021-01-26 21:40:33 -06:00
Blake Blackshear 9a2c034ae8 get the thumbnail instead of the full frame 2021-01-26 21:40:33 -06:00
Blake Blackshear 2885b80a13 dont wait forever for the cache 2021-01-26 21:40:33 -06:00
Blake Blackshear 4a85156e87 fix initial switch state 2021-01-26 21:40:33 -06:00
Blake Blackshear 1785c69e1b handle exception when frame isnt in cache 2021-01-26 21:40:33 -06:00
Blake Blackshear 7f4e042dfa update index.js to use baseUrl 2021-01-26 21:40:33 -06:00
Blake Blackshear 507ec13848 first pass at subfilter for ingress support 2021-01-26 21:40:33 -06:00
Blake Blackshear 11016b8486 ensure error message with missing config is printed 2021-01-26 21:40:33 -06:00
Blake Blackshear 8615f14407 update notification example 2021-01-26 21:40:33 -06:00
Blake Blackshear 1e84f08018 fix mqtt switch handling 2021-01-26 21:40:33 -06:00
Blake Blackshear 7f663328dc initialize detection correctly from config 2021-01-26 21:40:33 -06:00
Blake Blackshear ea53068432 update wheels version 2021-01-26 21:40:33 -06:00
Blake Blackshear 144aff9b4e pin numpy 2021-01-26 21:40:33 -06:00
Blake Blackshear 70167a34b6 fix zone config 2021-01-26 21:40:33 -06:00
Blake Blackshear ccb668a1b6 no longer need special aarch64 wheels build 2021-01-26 21:40:33 -06:00
Blake Blackshear 0989c64eab versioning wheels image 2021-01-26 21:40:33 -06:00
Blake Blackshear c082fc5cb2 move wheels to build container 2021-01-26 21:40:33 -06:00
Blake Blackshear d84b75168c docs updates for notification changes 2021-01-26 21:40:33 -06:00
Blake Blackshear eb0a5e1c55 rename snapshot endpoint to thumbnail 2021-01-26 21:40:33 -06:00
Blake Blackshear 47ac77dbb0 mqtt tweaks for switches 2021-01-26 21:40:33 -06:00
Blake Blackshear ec84847be7 allow summary data to be filtered 2021-01-26 21:40:33 -06:00
Blake Blackshear e7839bfd40 update readme 2021-01-26 21:40:33 -06:00
Blake Blackshear 8762da627b snapshots config typo 2021-01-26 21:40:33 -06:00
Blake Blackshear 3fab321045 update object filters to inherit like motion settings 2021-01-26 21:40:33 -06:00
Blake Blackshear 9451048574 remove support for image masks 2021-01-26 21:40:33 -06:00
Blake Blackshear 46c002038b don't fallback to the CPU
fixes #381
2021-01-26 21:40:33 -06:00
Blake Blackshear d1d833ea9a add change type to events topic
#476
2021-01-26 21:40:33 -06:00
Blake Blackshear c1f0750526 ensure each camera has a detect role set 2021-01-26 21:40:33 -06:00
Blake Blackshear 89e02b6956 add detection enable to config
fixes #482
2021-01-26 21:40:33 -06:00
Blake Blackshear 97e8258288 add env vars to config
fixes #509
2021-01-26 21:40:33 -06:00
Blake Blackshear 39040c1874 enable and disable detection via mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear c709851888 move setproctitle to prebuilt wheel location 2021-01-26 21:40:33 -06:00
Blake Blackshear b022bec1fa switch to docker based web builds 2021-01-26 21:40:33 -06:00
Blake Blackshear bca0531963 handle null thumbnail data 2021-01-26 21:40:33 -06:00
Blake Blackshear b2c7fc8f5b add mask as object filter 2021-01-26 21:40:33 -06:00
Blake Blackshear 96ac2c29d6 add object masks and move moton mask 2021-01-26 21:40:33 -06:00
Blake Blackshear 14a5118b4d add missing global shapshots config 2021-01-26 21:40:33 -06:00
Blake Blackshear 5ad4017510 try to cleanup some migration logging 2021-01-26 21:40:33 -06:00
Blake Blackshear 63e14a98f9 add retention settings for snapshots 2021-01-26 21:40:33 -06:00
Blake Blackshear 25e3fe8eab init variables on camera state 2021-01-26 21:40:33 -06:00
Blake Blackshear 840f046572 handle process exit exceptions 2021-01-26 21:40:33 -06:00
Blake Blackshear 89e3c2e4b1 store has_clip and has_snapshot on events 2021-01-26 21:40:33 -06:00
Blake Blackshear c770470b58 add database migrations 2021-01-26 21:40:33 -06:00
Blake Blackshear a9afa303a2 turn off snapshots via mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear e5399ae07a enable turning clips on and off via mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear 80a5a7b129 cleanup save_Clips/clips inconsistency 2021-01-26 21:40:33 -06:00
Blake Blackshear 9dc97d4b6b add jpg snapshots to disk and clean up config 2021-01-26 21:40:33 -06:00
Blake Blackshear 6f5f5c9461 add clips endpoint to readme 2021-01-26 21:40:33 -06:00
Blake Blackshear fc04bc6046 better mask error handling 2021-01-26 21:40:33 -06:00
Blake Blackshear 9f504253fb fix tmpfs 2021-01-26 21:40:33 -06:00
Blake Blackshear 961997e078 remove redundant error output 2021-01-26 21:40:33 -06:00
Blake Blackshear 363594a9a2 use CACHE_DIR constant 2021-01-26 21:40:33 -06:00
Blake Blackshear 247e2677f3 enable mounting tmpfs volume on start 2021-01-26 21:40:33 -06:00
Blake Blackshear 5b5159f4dd docs and issue template 2021-01-26 21:40:33 -06:00
Blake Blackshear bc8b85860c update process clip for latest changes 2021-01-26 21:40:33 -06:00
Blake Blackshear 44d45c5880 publish event updates on zone change 2021-01-26 21:40:33 -06:00
Blake Blackshear a6d8e4fc3f readme updates 2021-01-26 21:40:33 -06:00
Blake Blackshear 2cc9a15f6a handle scenario with empty cache 2021-01-26 21:40:33 -06:00
Blake Blackshear 151f9fb2ee add qsv support to amd64 image 2021-01-26 21:40:33 -06:00
Blake Blackshear 32fb76b3d1 add num_threads fixes #322 2021-01-26 21:40:33 -06:00
Blake Blackshear 8d52e2635a optimize clips fixes #299 2021-01-26 21:40:33 -06:00
Blake Blackshear f20e1f20a6 add post_capture option 2021-01-26 21:40:33 -06:00
Blake Blackshear af8594c5c6 re-crop to the object rather than the region 2021-01-26 21:40:33 -06:00
Blake Blackshear 899d41f361 allow runtime drawing settings for mjpeg and latest 2021-01-26 21:40:33 -06:00
Blake Blackshear 7dc6382c90 allow the mask to be a list of masks 2021-01-26 21:40:33 -06:00
Blake Blackshear e8009c2d26 adding version endpoint 2021-01-26 21:40:33 -06:00
Blake Blackshear 3bc7cdaab6 configurable motion and detect settings 2021-01-26 21:40:33 -06:00
Blake Blackshear 724d8187c6 update gitignore 2021-01-26 21:40:33 -06:00
Blake Blackshear 8f68df60c7 fix test 2021-01-26 21:40:33 -06:00
Blake Blackshear 6af3cb6134 switch default threshold to .7 2021-01-26 21:40:33 -06:00
Blake Blackshear 2ff0c3907f allow process clips to output a csv of scores 2021-01-26 21:40:33 -06:00