Blake Blackshear
714d76887d
use sqlitequeuedb
2021-01-24 06:53:37 -06:00
Blake Blackshear
cb4a0aa594
ensure error message with missing config is printed
2021-01-19 18:00:26 -06:00
Blake Blackshear
97ce7f3028
initialize detection correctly from config
2021-01-19 07:40:51 -06:00
Blake Blackshear
de99221ad5
add env vars to config
...
fixes #509
2021-01-16 19:09:18 -06:00
Blake Blackshear
6892ce56ac
enable and disable detection via mqtt
2021-01-16 19:09:18 -06:00
Blake Blackshear
bf5ec2f65f
try to cleanup some migration logging
2021-01-16 19:09:18 -06:00
Blake Blackshear
a78830b48e
add database migrations
2021-01-16 19:09:18 -06:00
Nat Morris
12c9e63b13
New stats module, refactor stats generation out of http module.
...
StatsEmitter thread to send stats to MQTT every 60 seconds by default, optional stats_interval config value.
New service stats attribute, containing uptime in seconds and version.
2021-01-16 19:09:18 -06:00
Blake Blackshear
c69299d659
enable turning clips on and off via mqtt
2021-01-16 19:09:18 -06:00
Blake Blackshear
285d630770
cleanup save_Clips/clips inconsistency
2021-01-16 19:09:18 -06:00
Blake Blackshear
24b8bd7c85
fix tmpfs
2020-12-22 09:58:26 -05:00
Blake Blackshear
3ad75a441d
remove redundant error output
2020-12-20 08:04:54 -06:00
Blake Blackshear
f006e9be8d
use CACHE_DIR constant
2020-12-20 08:04:54 -06:00
Blake Blackshear
03f3ba8008
enable mounting tmpfs volume on start
2020-12-20 08:04:54 -06:00
Blake Blackshear
1ad2219f1c
add num_threads fixes #322
2020-12-20 07:37:44 -06:00
Blake Blackshear
1e9eae8d9a
allow db path to be customized
2020-12-20 07:37:44 -06:00
Blake Blackshear
91cde6ce7b
allow defining model shape and switch to mobiledet as default model
2020-12-09 07:22:26 -06:00
Blake Blackshear
e01e14d866
handle and warn if roles dont match enabled features
2020-12-07 08:07:35 -06:00
Blake Blackshear
3bda092140
comment you zeroconf
2020-12-06 07:05:45 -06:00
Blake Blackshear
9086820479
fix flask logger config
2020-12-05 19:05:03 -06:00
Blake Blackshear
d1da57aedc
fix graceful exits
2020-12-05 12:06:07 -06:00
Blake Blackshear
6ded12c566
better exception handling
2020-12-05 12:06:07 -06:00
Blake Blackshear
69e9e0b0bf
log level configuration
2020-12-05 08:48:46 -06:00
Blake Blackshear
6d7acabf4c
add logging for directory creation
2020-12-05 08:48:46 -06:00
Blake Blackshear
45a8b42157
exit on config errors
2020-12-05 08:48:46 -06:00
Blake Blackshear
8785be24b7
add zeroconf discovery
2020-12-05 08:48:46 -06:00
Blake Blackshear
598d3aeda2
make directories constants
2020-12-05 08:48:46 -06:00
Blake Blackshear
012dbf81f7
cleanup empty directories
2020-12-05 08:48:46 -06:00
Blake Blackshear
31f7666337
add recording maintenance
2020-12-05 08:48:46 -06:00
Blake Blackshear
b39da3ee01
pull from memory if event in progress
2020-12-05 08:48:46 -06:00
Blake Blackshear
24d416b869
add event cleanup thread
2020-12-05 08:48:46 -06:00
Blake Blackshear
f2910d48e0
fixes
2020-12-05 08:48:46 -06:00
Blake Blackshear
8874a55b0f
create tracked object class and save thumbnails
2020-12-05 08:48:46 -06:00
Blake Blackshear
eac81136d2
naming threads and processes for logs
2020-12-05 08:48:46 -06:00