Commit Graph

468 Commits

Author SHA1 Message Date
Blake Blackshear
ca7563f24a log level configuration 2020-12-05 08:42:34 -06:00
Blake Blackshear
bc0a511237 no need to write jpg disk 2020-12-05 08:42:34 -06:00
Blake Blackshear
e62e2e1dbe dont delete the recordings directory 2020-12-05 08:42:34 -06:00
Blake Blackshear
9b1f4c2dde default save_clips objects 2020-12-05 08:42:34 -06:00
Blake Blackshear
57364df577 add logging for directory creation 2020-12-05 08:42:34 -06:00
Blake Blackshear
b9144e9259 exit on config errors 2020-12-05 08:42:34 -06:00
Blake Blackshear
2bab6865a4 add zeroconf discovery 2020-12-05 08:42:34 -06:00
Blake Blackshear
e734f8fabd optional android notification aspect ratio 2020-12-05 08:42:34 -06:00
Blake Blackshear
4705c1df3b reduce min timestamp size 2020-12-05 08:42:34 -06:00
Blake Blackshear
b2534763eb publish object counts rather than on/off 2020-12-05 08:42:34 -06:00
Blake Blackshear
77e7137a9f make directories constants 2020-12-05 08:42:34 -06:00
Blake Blackshear
feea53aee7 cleanup empty directories 2020-12-05 08:42:34 -06:00
Blake Blackshear
0467d8c28b serve up recordings with nginx 2020-12-05 08:42:34 -06:00
Blake Blackshear
91b835736c add recording maintenance 2020-12-05 08:42:34 -06:00
Blake Blackshear
2d96f44041 add record settings to config 2020-12-05 08:42:34 -06:00
Blake Blackshear
8ea26d46eb fix log timeout 2020-12-05 08:42:34 -06:00
Blake Blackshear
b1cb158f37 ensure zones dont have the same name as a camera 2020-12-05 08:42:34 -06:00
Blake Blackshear
852c95488a graceful exit of subprocesses 2020-12-05 08:42:34 -06:00
Blake Blackshear
bc8bfd469c add multiple streams per camera 2020-12-05 08:42:34 -06:00
Blake Blackshear
f75c32c888 fix fontconfig error 2020-12-05 08:42:34 -06:00
Blake Blackshear
10abcdd731 add support for rebroadcasting as rtmp 2020-12-05 08:42:34 -06:00
Blake Blackshear
1c010461a1 avoid null error 2020-12-05 08:42:34 -06:00
Blake Blackshear
e205ac3ebf minimize logging 2020-12-05 08:42:34 -06:00
Blake Blackshear
1f92b41b6b oops 2020-12-05 08:42:34 -06:00
Blake Blackshear
38980d9730 only publish end events for true positives 2020-12-05 08:42:34 -06:00
Blake Blackshear
ce5718c871 ensure all events are cleaned up 2020-12-05 08:42:34 -06:00
Blake Blackshear
7032379f75 publish events like a change feed 2020-12-05 08:42:34 -06:00
Blake Blackshear
459da05263 pull from memory if event in progress 2020-12-05 08:42:34 -06:00
Blake Blackshear
a4c9ef0021 add endpoint for event thumbnail 2020-12-05 08:42:34 -06:00
Blake Blackshear
082f4b0886 add service to get by id 2020-12-05 08:42:34 -06:00
Blake Blackshear
da43041fc4 add zones to summary data 2020-12-05 08:42:34 -06:00
Blake Blackshear
d3f4fd3f47 sleep in the right place 2020-12-05 08:42:34 -06:00
Blake Blackshear
e37f61689a manage events for unlisted cameras 2020-12-05 08:42:34 -06:00
Blake Blackshear
95c5009711 add event cleanup thread 2020-12-05 08:42:34 -06:00
Blake Blackshear
b852515e18 add clip retention to config 2020-12-05 08:42:34 -06:00
Blake Blackshear
6509f0f3d4 use localtime in group by 2020-12-05 08:42:34 -06:00
Blake Blackshear
edeea09d5c new http endpoints 2020-12-05 08:42:34 -06:00
Blake Blackshear
df9950434c add parameters to event query 2020-12-05 08:42:34 -06:00
Blake Blackshear
dec652a75f only save events when a clip is created 2020-12-05 08:42:34 -06:00
Blake Blackshear
5d8a9f304b add bas64 encoded thumbnail to the database 2020-12-05 08:42:34 -06:00
Blake Blackshear
202432a4e6 check for None value thumbnail_data 2020-12-05 08:42:34 -06:00
Blake Blackshear
da244fd390 only set thumbnail data if object is a true positive 2020-12-05 08:42:34 -06:00
Blake Blackshear
4156a192b3 add some debug logging to frame cache 2020-12-05 08:42:34 -06:00
Blake Blackshear
799c939bb0 dont use a property 2020-12-05 08:42:34 -06:00
Blake Blackshear
dd9b8d5f41 attempt to fix missing thumbs 2020-12-05 08:42:34 -06:00
Blake Blackshear
c25f3c45df better frame handling for best images 2020-12-05 08:42:34 -06:00
Blake Blackshear
8f08fc1491 cleanup false_positive attribute 2020-12-05 08:42:34 -06:00
Blake Blackshear
18e04f8fa3 ensure some valid thumbnail is available 2020-12-05 08:42:34 -06:00
Blake Blackshear
a1afd9fe55 don't save thumbnails for false positives 2020-12-05 08:42:34 -06:00
Blake Blackshear
2c9675133d cleanup 2020-12-05 08:42:34 -06:00