From a1e17131117f07d1a5f03d9f0e3be6af4a76d157 Mon Sep 17 00:00:00 2001 From: Outis Date: Thu, 23 Apr 2026 09:46:13 -0400 Subject: [PATCH] Enable audio capture and notifications in config --- sky-cam.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sky-cam.conf b/sky-cam.conf index 597a8b1..f6b0819 100644 --- a/sky-cam.conf +++ b/sky-cam.conf @@ -266,8 +266,8 @@ AUDIO_BITRATE=192k # montage-mvt.sh — music track on movement # 2. mean brightness (0–255) > SEASONS_GREY_DARK_FLOOR (frame is not dark) # Night frames are dark so they always pass even if stddev is low. # Requires ImageMagick (convert). Start with these values and tune from there: -#SEASONS_GREY_STDDEV_MIN=5 # skip if stdev < 5 (very uniform colour) -#SEASONS_GREY_DARK_FLOOR=30 # …but only if mean brightness > 30 (not a night frame) +SEASONS_GREY_STDDEV_MIN=5 # skip if stdev < 5 (very uniform colour) +SEASONS_GREY_DARK_FLOOR=30 # …but only if mean brightness > 30 (not a night frame) # # Performance: ImageMagick is only called on files below SEASONS_LARGE_FRAME_BYTES. # Files above that threshold are always good and skip the check entirely. @@ -331,7 +331,7 @@ CAPTURE_INTERVAL=10 # Seconds without a new frame before the watchdog sends a stall notification. # A recovery notification fires automatically when capture resumes. # Must always be at least 2× the effective CAPTURE_INTERVAL for that camera. -CAPTURE_STALE_SECS=30 +CAPTURE_STALE_SECS=500 # ── Sunrise audio capture ────────────────────────────────────────────────────── # Records the camera's RTSP audio stream during the sunrise window so that @@ -339,7 +339,7 @@ CAPTURE_STALE_SECS=30 # at real speed, while the video plays as the sped-up timelapse. # The audio file is deleted automatically after it is mixed into the video. # -AUDIO_ENABLED=false # set true if your camera has a working mic +AUDIO_ENABLED=true # set true if your camera has a working mic CAPTURE_AUDIO_BITRATE=96k # bitrate for the sunrise audio recording # Audio is recorded for exactly SUNRISE_TARGET_SECS, centred on actual sunrise: # floor(TARGET/2) seconds before, ceil(TARGET/2) after (odd second → post-sunrise). @@ -376,7 +376,7 @@ AMBIENT_RETENTION_DAYS=30 # global default; 0 = keep forever # Self-hosted: https://docs.ntfy.sh/install/ # Cloud: pick any topic name at ntfy.sh (no account needed) # Set NTFY_URL=https://ntfy.sh/your-topic in .env, then flip the toggle below. -NTFY_ENABLED=false +NTFY_ENABLED=true NTFY_URL="${NTFY_URL:-}" # Email — requires the 'mail' command (package: mailutils or s-nail).