Files
sky-cam/notify_config.txt
T
Claude 8617248cc0 Add year-based folders, attribution overlay, notifications, crontab/systemd
season_info.py
- Add ASTRO_YEAR: year of the Winter solstice that started the current cycle
  (Spring/Summer/Autumn 2026 → 2025; Winter Dec-2026 → 2026)

4-seasons.sh
- Daily clip output path now includes ASTRO_YEAR:
  movies/$name/$ASTRO_YEAR/$SEASON/Mvt$N/

montage-mvt.sh (full rewrite)
- Attribution is now a drawtext overlay (top 6 s of the video, fade in/out)
  instead of an appended black card — no frame-size matching needed, and
  year-end join requires no special handling
- Output path mirrors the new year-based folder structure
- Sends notification via notify.sh when done
- Automatically triggers year-end-join.sh after Autumn Mvt 3

year-end-join.sh (new)
- Concatenates all 12 movement montages for a given ASTRO_YEAR
- Output: movies/$name/$ASTRO_YEAR/$name-$ASTRO_YEAR.mp4
- Sends notification when done

notify.sh + notify_config.txt (new)
- Generic best-effort notification helper: ntfy, email, Mattermost text post
- All methods disabled by default; user fills in notify_config.txt

sky-cam.crontab + systemd/ (new)
- Crontab file: sunrise at 09:00, 4-seasons at 01:00, fullday at 02:00
- systemd .service + .timer units for all three daily jobs
- montage/year-end triggered internally, not by cron

https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
2026-04-18 13:59:48 +00:00

23 lines
1.3 KiB
Plaintext

# notify_config.txt — sky-cam notification settings
# Each method is independently toggled. Set to true and fill in the value.
# ── ntfy (push notifications via ntfy.sh or self-hosted ntfy) ─────────────────
# Self-host: https://docs.ntfy.sh/install/
# Cloud: sign up at https://ntfy.sh, pick a topic name
NTFY_ENABLED=false
NTFY_URL=https://ntfy.sh/your-topic-here
# ── Email ─────────────────────────────────────────────────────────────────────
# Requires the 'mail' command (e.g. mailutils or s-nail package).
# For outbound SMTP relay, configure /etc/ssmtp/ssmtp.conf or msmtp.
EMAIL_ENABLED=false
EMAIL_TO=you@example.com
EMAIL_FROM=skycam@localhost
# ── Mattermost text post ──────────────────────────────────────────────────────
# Posts a plain-text notification (no video attachment) to the given channel.
# Reuses the URL and access_token from mattermost_config.txt.
# MM_NOTIFY_CHANNEL_ID can be the same daily-upload channel or a separate one.
MM_NOTIFY_ENABLED=false
MM_NOTIFY_CHANNEL_ID=your-channel-id-here