clean_copy snapshots to be enabled in your config.",
+ "documentation": "Read the documentation",
+ "cleanCopyWarning": "Some cameras have snapshots enabled but have the clean copy disabled. You need to enable clean_copy in your snapshot config to be able to submit images from these cameras to Frigate+.",
+ "table": {
+ "camera": "Camera",
+ "snapshots": "Snapshots",
+ "cleanCopySnapshots": "clean_copy Snapshots"
+ }
+ },
+ "modelInfo": {
+ "title": "Model Information",
+ "modelType": "Model Type",
+ "trainDate": "Train Date",
+ "baseModel": "Base Model",
+ "supportedDetectors": "Supported Detectors",
+ "cameras": "Cameras",
+ "loading": "Loading model information...",
+ "error": "Failed to load model information"
+ }
}
}
diff --git a/web/src/pages/Settings.tsx b/web/src/pages/Settings.tsx
index 353d0dbf8..6ccda34f3 100644
--- a/web/src/pages/Settings.tsx
+++ b/web/src/pages/Settings.tsx
@@ -37,6 +37,7 @@ import AuthenticationView from "@/views/settings/AuthenticationView";
import NotificationView from "@/views/settings/NotificationsSettingsView";
import ClassificationSettingsView from "@/views/settings/ClassificationSettingsView";
import UiSettingsView from "@/views/settings/UiSettingsView";
+import FrigatePlusSettingsView from "@/views/settings/FrigatePlusSettingsView";
import { useSearchEffect } from "@/hooks/use-overlay-state";
import { useSearchParams } from "react-router-dom";
import { useInitialCameraState } from "@/api/ws";
@@ -54,6 +55,7 @@ const allSettingsViews = [
"debug",
"users",
"notifications",
+ "frigateplus",
] as const;
type SettingsType = (typeof allSettingsViews)[number];
@@ -279,6 +281,7 @@ export default function Settings() {
{page == "notifications" && (
{t("frigatePlus.apiKey.desc")}
+ {!config?.model.plus && ( + <> ++ {t("frigatePlus.modelInfo.loading")} +
+ )} + {config?.model?.plus === null && ( ++ {t("frigatePlus.modelInfo.error")} +
+ )} + {config?.model?.plus && ( +{config.model.plus.name}
++ {new Date( + config.model.plus.trainDate, + ).toLocaleString()} +
+{config.model.plus.baseModel}
++ {config.model.plus.supportedDetectors.join(", ")} +
+
+
| + {t("frigatePlus.snapshotConfig.table.camera")} + | ++ {t("frigatePlus.snapshotConfig.table.snapshots")} + | +
+ |
+
|---|---|---|
| {name} | +
+ {camera.snapshots.enabled ? (
+ |
+
+ {camera.snapshots?.enabled &&
+ camera.snapshots?.clean_copy ? (
+ |
+