Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear d4afcde6c9 reduce min timestamp size 2021-01-26 21:40:33 -06:00
Blake Blackshear 257de89ce4 publish object counts rather than on/off 2021-01-26 21:40:33 -06:00
Blake Blackshear 735cc3962b make directories constants 2021-01-26 21:40:33 -06:00
Blake Blackshear feb42181de cleanup empty directories 2021-01-26 21:40:33 -06:00
Blake Blackshear f5c4bfa7b4 serve up recordings with nginx 2021-01-26 21:40:33 -06:00
Blake Blackshear 65ddd91855 add recording maintenance 2021-01-26 21:40:33 -06:00
Blake Blackshear 6d7d838613 add record settings to config 2021-01-26 21:40:33 -06:00
Blake Blackshear 5edf7b7f00 fix log timeout 2021-01-26 21:40:33 -06:00
Blake Blackshear 117569830d ensure zones dont have the same name as a camera 2021-01-26 21:40:33 -06:00
Blake Blackshear d62aec7287 graceful exit of subprocesses 2021-01-26 21:40:33 -06:00
Blake Blackshear 4e0cf3681e add multiple streams per camera 2021-01-26 21:40:33 -06:00
Blake Blackshear d98751102a fix fontconfig error 2021-01-26 21:40:33 -06:00
Blake Blackshear 1acbeb813e add support for rebroadcasting as rtmp 2021-01-26 21:40:33 -06:00
Blake Blackshear b87ec752cf avoid null error 2021-01-26 21:40:33 -06:00
Blake Blackshear 753df31fa6 minimize logging 2021-01-26 21:40:33 -06:00
Blake Blackshear bd77b74689 oops 2021-01-26 21:40:33 -06:00
Blake Blackshear 810c23d8ee only publish end events for true positives 2021-01-26 21:40:33 -06:00
Blake Blackshear 34d9b2983e ensure all events are cleaned up 2021-01-26 21:40:33 -06:00
Blake Blackshear 63c5c8412a publish events like a change feed 2021-01-26 21:40:33 -06:00
Blake Blackshear 60207723d1 pull from memory if event in progress 2021-01-26 21:40:33 -06:00
Blake Blackshear f4117ad096 add endpoint for event thumbnail 2021-01-26 21:40:33 -06:00
Blake Blackshear 8bed4e9970 add service to get by id 2021-01-26 21:40:33 -06:00
Blake Blackshear f72eaf781c add zones to summary data 2021-01-26 21:40:33 -06:00
Blake Blackshear e9ecc20a36 sleep in the right place 2021-01-26 21:40:33 -06:00
Blake Blackshear addfa2a32d manage events for unlisted cameras 2021-01-26 21:40:33 -06:00
Blake Blackshear 0dad9bc393 add event cleanup thread 2021-01-26 21:40:33 -06:00
Blake Blackshear 5155875a72 add clip retention to config 2021-01-26 21:40:33 -06:00
Blake Blackshear 4ed1217366 use localtime in group by 2021-01-26 21:40:33 -06:00
Blake Blackshear 50e898a684 new http endpoints 2021-01-26 21:40:33 -06:00
Blake Blackshear 251c7fa982 add parameters to event query 2021-01-26 21:40:33 -06:00
Blake Blackshear 00c75e9f98 only save events when a clip is created 2021-01-26 21:40:33 -06:00
Blake Blackshear 1b5b02d286 add bas64 encoded thumbnail to the database 2021-01-26 21:40:33 -06:00
Blake Blackshear 946d655cee check for None value thumbnail_data 2021-01-26 21:40:33 -06:00
Blake Blackshear d56710b0b5 only set thumbnail data if object is a true positive 2021-01-26 21:40:33 -06:00
Blake Blackshear 0cf78277b5 add some debug logging to frame cache 2021-01-26 21:40:33 -06:00
Blake Blackshear ce2a583ff9 dont use a property 2021-01-26 21:40:33 -06:00
Blake Blackshear 84bddad30e attempt to fix missing thumbs 2021-01-26 21:40:33 -06:00
Blake Blackshear 0ff682504a better frame handling for best images 2021-01-26 21:40:33 -06:00
Blake Blackshear 5d5984166f cleanup false_positive attribute 2021-01-26 21:40:33 -06:00
Blake Blackshear b825eb44fe ensure some valid thumbnail is available 2021-01-26 21:40:33 -06:00
Blake Blackshear 7015eb66f2 don't save thumbnails for false positives 2021-01-26 21:40:33 -06:00
Blake Blackshear 494eeb16a5 cleanup 2021-01-26 21:40:33 -06:00
Blake Blackshear 692fdc8d5d reduce logging 2021-01-26 21:40:33 -06:00
Blake Blackshear ec1a8ebd4a fixes 2021-01-26 21:40:33 -06:00
Blake Blackshear 59daa6597b update nginx config 2021-01-26 21:40:33 -06:00
Blake Blackshear 3941ce4ad1 stop writing json file to disk 2021-01-26 21:40:33 -06:00
Blake Blackshear aff87d4372 create tracked object class and save thumbnails 2021-01-26 21:40:33 -06:00
Blake Blackshear 373ca87887 maintain thumbnail frames for tracked objects 2021-01-26 21:40:33 -06:00
Blake Blackshear 03c855ecbe sort imports 2021-01-26 21:40:33 -06:00
Blake Blackshear 3a3cb24631 naming threads and processes for logs 2021-01-26 21:40:33 -06:00
Blake Blackshear 4c3fea25a5 use a queue for logging 2021-01-26 21:40:33 -06:00
Blake Blackshear af303cbf2a create typed config classes 2021-01-26 21:40:33 -06:00
Blake Blackshear b7c09a9b38 add nginx and change default file locations 2021-01-26 21:40:33 -06:00
Blake Blackshear eced06eea8 config setup 2021-01-26 21:40:33 -06:00
Blake Blackshear 15d989255c add watchdog 2021-01-26 21:40:33 -06:00
Blake Blackshear 095566b9c2 add back all endpoints 2021-01-26 21:40:33 -06:00
Blake Blackshear b77a65d446 add event processor 2021-01-26 21:40:33 -06:00
Blake Blackshear 9778a748fc add capture processes 2021-01-26 21:40:33 -06:00
Blake Blackshear a89dddcafa add camera processors 2021-01-26 21:40:33 -06:00
Blake Blackshear 75973fd4c0 add detected_frames_processor 2021-01-26 21:40:33 -06:00
Blake Blackshear 514036f9d1 add detector processes 2021-01-26 21:40:33 -06:00
Blake Blackshear 36fbedab20 init db/http/mqtt 2021-01-26 21:40:33 -06:00
Blake Blackshear 180baeba50 app container and config schema 2021-01-26 21:40:33 -06:00
Blake Blackshear cce82fe2a5 move primary script into the module 2021-01-26 21:40:33 -06:00
Blake Blackshear 5512bb2e06 saving events and simple endpoint 2021-01-26 21:40:33 -06:00
Blake Blackshear be1fcbbdf8 basic database model and api endpoint 2021-01-26 21:40:33 -06:00
Blake Blackshear 422cd52049 store events in tinydb 2021-01-26 21:40:33 -06:00
Blake Blackshear d67a56d37e update events model 2021-01-26 21:40:33 -06:00
Blake BlackshearandGitHub 4b3b702459 Update bug_report.md 2020-11-15 14:51:20 -06:00
Blake BlackshearandGitHub 34439699ae tweak logo 2020-10-26 10:05:26 -05:00
Blake Blackshear 64b63142b1 start the frame rate tracker 2020-10-26 08:01:18 -05:00
Blake Blackshear cee1ab000b make ffmpeg pid available for cache maintenance (fixes #271) 2020-10-26 08:01:18 -05:00
Blake Blackshear 3ff98770c1 link to mjpeg documentation 2020-10-26 06:36:03 -05:00
Blake Blackshear b6f7940b10 hwaccel docs 2020-10-25 14:30:36 -05:00
Blake Blackshear 75312602aa add support for iHD driver 2020-10-25 14:30:36 -05:00
Blake Blackshear 75977128f0 ensure dummy frame is in yuv shape 2020-10-25 14:30:36 -05:00
Blake Blackshear eafde6c677 capture ffmpeg in a dedicated process 2020-10-25 14:30:36 -05:00
Blake Blackshear da0598baef disable flask warning 2020-10-25 14:30:36 -05:00
Blake Blackshear 35ba5e2f7c improve frame memory management 2020-10-25 14:30:36 -05:00
Blake Blackshear 49258d6dbe tweaks for recent issues 2020-10-24 08:52:40 -05:00
Blake Blackshear 5a081e4f00 docs rewrite 2020-10-24 08:23:16 -05:00
Blake Blackshear 4feae472e9 reformatting and fixing typos 2020-10-23 06:56:06 -05:00
Blake Blackshear dd86e4f317 fix clips path and check for symlinks 2020-10-19 07:01:31 -05:00
Blake Blackshear 4db285a875 remove reference to stable 2020-10-18 14:12:25 -05:00
Blake Blackshear 939d1ba091 use global and ensure dirs exist 2020-10-18 13:47:13 -05:00
Blake Blackshear 0fe8d486d9 make cache/clips dirs configurable 2020-10-18 13:47:13 -05:00
Blake Blackshear a3cb02af5c sync arch names with hassio 2020-10-18 13:47:13 -05:00
Blake Blackshear 45a6b8452c allow config file to be specified by env var and allow json 2020-10-18 13:47:13 -05:00
Blake Blackshear 9d594cc640 allow setting config file location via env var 2020-10-18 13:47:13 -05:00
Blake Blackshear 59e41ae1ac update sample config 2020-10-18 13:47:13 -05:00
Blake Blackshear c6ed16465b move the timestamp to bottom 2020-10-18 13:47:13 -05:00
Blake Blackshear 8f14b36f5a tweak size 2020-10-18 13:47:13 -05:00
Blake Blackshear b6c2491e3b use the actual original shape 2020-10-18 13:47:13 -05:00
Blake Blackshear 8e31d04d90 scale font of timestamp dynamically 2020-10-18 13:47:13 -05:00
Blake Blackshear bf93fbb357 add ability to draw bounding boxes/timestamps on snapshots 2020-10-18 13:47:13 -05:00
Blake Blackshear c064b244db handle empty best frames 2020-10-18 13:47:13 -05:00
Blake Blackshear 0280610e96 fix detector cleanup 2020-10-18 13:47:13 -05:00
Blake Blackshear 4363623c45 reduce zone filter bouncing 2020-10-18 13:47:13 -05:00
Blake Blackshear c960914ec3 prevent the camera process from hanging 2020-10-18 13:47:13 -05:00
Blake Blackshear 9ecc80b443 syntax error 2020-10-18 13:47:13 -05:00