Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear 1b78912759 dynamic ws/wss selection 2021-02-20 08:11:58 -06:00
Blake Blackshear cf2e33bdc2 docs updates 2021-02-20 07:47:25 -06:00
Blake Blackshear f1826e8486 fix link and clarify audio encoding (fixes #800) 2021-02-19 06:51:26 -06:00
Blake Blackshear 82a146d6bb subscribe in the connect callback (fixes #814) 2021-02-19 06:44:50 -06:00
Blake Blackshear 6ba8d17706 update wheels again 2021-02-18 07:13:10 -06:00
Blake Blackshear 914809141d unpin numpy 2021-02-18 07:12:14 -06:00
Blake Blackshear c1fde80c00 add gevent to prebuilt wheels 2021-02-16 07:06:32 -06:00
Blake Blackshear 8dbe6deb20 add some error handling to mqtt relay 2021-02-16 07:06:32 -06:00
Blake Blackshear 02fa650199 constrain websockets to frigate topics 2021-02-16 07:06:32 -06:00
Blake Blackshear c692eb4927 revise log messages 2021-02-16 07:06:32 -06:00
Blake Blackshear e3e473609f relay messages from sockets to mqtt 2021-02-16 07:06:32 -06:00
Blake Blackshear 8146aa9cbb relay mqtt to clients 2021-02-16 07:06:32 -06:00
Blake Blackshear e84e0e7a51 simple echo websocket working 2021-02-16 07:06:32 -06:00
Blake Blackshear 2cd3e6ae4c update docker commands to avoid privileged mode 2021-02-16 07:06:32 -06:00
Blake Blackshear fdc9ef9dc3 fix cache cleanup for large full disks 2021-02-16 07:06:32 -06:00
Blake Blackshear 5858d936e1 only save the event to the database if a snapshot or clip exists 2021-02-16 07:06:32 -06:00
Blake Blackshear 5908c21327 better error handling (fixes #739) 2021-02-09 07:35:41 -06:00
Blake Blackshear 4a5307f47f ignore detections that don't overlap with motion 2021-02-09 07:25:22 -06:00
Blake Blackshear 9ee2982234 fix intersection calculation 2021-02-09 07:25:22 -06:00
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