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:
Nicolas Mowen
2024-03-04 16:18:30 -07:00
committed by GitHub
parent 38e76666e7
commit b4b2162ada
11 changed files with 247 additions and 40 deletions

View File

@@ -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;