NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
dim motion segments for motion during alerts and detections (#10454)
Josh Hawkins98977f1dedf3
diff --git a/web/src/components/timeline/MotionSegment.tsx b/web/src/components/timeline/MotionSegment.tsxindex 19bf7a5431..0ebcffd681 100644--- a/web/src/components/timeline/MotionSegment.tsx+++ b/web/src/components/timeline/MotionSegment.tsx@@ -223,7 +223,7 @@ export function MotionSegment({<div className="flex justify-center"><divkey={`${segmentKey}_motion_data_1`}- className={`h-[2px] rounded-full bg-motion_review`}+ className={`h-[2px] rounded-full ${severity[0] != 0 ? "bg-motion_review-dimmed" : "bg-motion_review"}`}style={{width: secondHalfSegmentWidth,}}@@ -235,7 +235,7 @@ export function MotionSegment({<div className="flex justify-center"><divkey={`${segmentKey}_motion_data_2`}- className={`h-[2px] rounded-full bg-motion_review`}+ className={`h-[2px] rounded-full ${severity[0] != 0 ? "bg-motion_review-dimmed" : "bg-motion_review"}`}style={{width: firstHalfSegmentWidth,}}diff --git a/web/tailwind.config.js b/web/tailwind.config.jsindex d4078c18e7..58ce1b5fe1 100644--- a/web/tailwind.config.js+++ b/web/tailwind.config.js@@ -93,6 +93,7 @@ module.exports = {},motion_review: {DEFAULT: "hsl(var(--motion_review))",+ dimmed: "hsl(var(--motion_review_dimmed))",},audio_review: {DEFAULT: "hsl(var(--audio_review))",diff --git a/web/themes/theme-default.css b/web/themes/theme-default.cssindex 83f40870fd..96c0603ac9 100644--- a/web/themes/theme-default.css+++ b/web/themes/theme-default.css@@ -77,6 +77,9 @@--motion_review: hsl(44, 94%, 50%);--motion_review: 44, 94%, 50%;+ --motion_review_dimmed: hsl(44, 60%, 40%);+ --motion_review_dimmed: 44, 60%, 40%;+--audio_review: hsl(228, 94%, 67%);--audio_review: 228, 94%, 67%;}