Motion timeline data (#10245)

* Refactor activity api to send motion and audio data

* Prepare for using motion data timeline

* Get working

* reduce to 0

* fix

* Formatting

* fix typing

* add motion data to timelines and allow motion cameas to be selectable

* Fix tests

* cleanup

* Fix not loading preview when changing hours
This commit is contained in:
Nicolas Mowen authored and GitHub committed 2024-03-05 13:55:44 -06:00
1 parent a174d82eb9
commit 9e8a42ca0e
11 files changed
+269 -197

No files matched your search

+6
View File
@@ -37,3 +37,9 @@ export type ReviewSummary = {
total_detection: number;
total_motion: number;
};
export type MotionData = {
start_time: number;
motion: number;
audio: number;
};