Enable audio capture and notifications in config

This commit is contained in:
Outis
2026-04-23 09:46:13 -04:00
committed by GitHub
parent 6e4fd951b8
commit a1e1713111
+5 -5
View File
@@ -266,8 +266,8 @@ AUDIO_BITRATE=192k # montage-mvt.sh — music track on movement
# 2. mean brightness (0255) > 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).