mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Camera groups (#10223)
* Add camera group config * Add saving of camera group selection * Implement camera groups in config and live view * Fix warnings * Add tooltips to camera group items on desktop * Add camera groups to the filters for events * Fix tooltips and group selection * Cleanup
This commit is contained in:
1 parent
38e76666e7
commit
b4b2162ada
11 files changed
+247
-40
No files matched your search
@@ -204,6 +204,12 @@ export interface CameraConfig {
|
||||
};
|
||||
}
|
||||
|
||||
export type CameraGroupConfig = {
|
||||
cameras: string[];
|
||||
icon: string;
|
||||
order: number;
|
||||
};
|
||||
|
||||
export interface FrigateConfig {
|
||||
audio: {
|
||||
enabled: boolean;
|
||||
@@ -276,6 +282,8 @@ export interface FrigateConfig {
|
||||
|
||||
go2rtc: Record<string, unknown>;
|
||||
|
||||
camera_groups: { [groupName: string]: CameraGroupConfig };
|
||||
|
||||
live: {
|
||||
height: number;
|
||||
quality: number;
|
||||
|
||||
Reference in new issue
Block a user