Rename default camera from 'sunrise' to 'east' for compass consistency

Cameras are now named by direction (east, north, south, west) throughout
config defaults, examples, and documentation. The config key SUNRISE_CAM
is unchanged — it still means 'which camera faces east and gets the sunrise
job'. Only the camera instance name value changes from 'sunrise' to 'east'.

sky-cam.conf: CAMERAS=(east), SUNRISE_CAM=east, SCHEDULE_*_east,
example comments updated to show all four compass points.
README.md: all command examples updated (4-seasons.sh east, journalctl
sky-cam-capture-east, etc.) — phenomenon references ('sunrise window',
'sunrise time') left unchanged.
bootstrap.sh: example updated to show compass directions.

https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
This commit is contained in:
Claude
2026-04-20 00:53:58 +00:00
parent 9ea03d2249
commit 64cec6b769
3 changed files with 20 additions and 17 deletions
+10 -10
View File
@@ -52,7 +52,7 @@ nano sky-cam.conf
| `BASE_DIR` | Root where camera images live — override if storing on a separate drive (`BASE_DIR/<cam>/<date>/<HH-MM-SS>.jpg`) |
| `MOVIES_DIR` | Where finished videos are written (default: `BASE_DIR/movies`) |
| `MUSIC_DIR` | Directory containing the 12 Vivaldi Four Seasons MP3 files |
| `CAMERAS` | Space-separated list of camera names, e.g. `(sunrise north)` |
| `CAMERAS` | Space-separated list of camera names, e.g. `(east north south west)` |
| `SUNRISE_CAM` | Which camera faces east and gets the sunrise job |
| `LATITUDE` / `LONGITUDE` / `TIMEZONE` | Your location for sunrise calculation |
| `CAPTURE_INTERVAL` | Seconds between captured frames (default: 10) |
@@ -90,8 +90,8 @@ Re-run `./install.sh` any time `sky-cam.conf` changes (schedules, cameras, etc.)
```bash
# Confirm cameras are capturing
systemctl --user status sky-cam-capture-sunrise.service
ls BASE_DIR/sunrise/$(date +%Y-%m-%d)/ # images should appear within CAPTURE_INTERVAL seconds
systemctl --user status sky-cam-capture-east.service
ls BASE_DIR/east/$(date +%Y-%m-%d)/ # images should appear within CAPTURE_INTERVAL seconds
# Check all timers are scheduled
systemctl --user list-timers 'sky-cam-*'
@@ -222,29 +222,29 @@ Attribution data for every file is written to `sunrise-sounds/manifest.json`.
**Re-run a daily seasons clip** for yesterday:
```bash
./4-seasons.sh sunrise
./4-seasons.sh east
```
**Rebuild a movement montage** (e.g. to retry audio after a failure):
```bash
./montage-mvt.sh # uses today's movement
./montage-mvt.sh 2025-06-15 sunrise # specific date + camera
./montage-mvt.sh 2025-06-15 east # specific date + camera
```
**Rebuild the year-end video**:
```bash
./year-end-join.sh 2025 sunrise
./year-end-join.sh 2025 east
```
**Check capture status**:
```bash
systemctl --user status sky-cam-capture-sunrise.service
journalctl --user -u sky-cam-capture-sunrise.service -f
systemctl --user status sky-cam-capture-east.service
journalctl --user -u sky-cam-capture-east.service -f
```
**Check logs**:
```bash
journalctl --user -u sky-cam-sunrise.service
journalctl --user -u sky-cam-seasons-sunrise.service
journalctl --user -u sky-cam-fullday-sunrise.service
journalctl --user -u sky-cam-seasons-east.service
journalctl --user -u sky-cam-fullday-east.service
```
+1 -1
View File
@@ -28,7 +28,7 @@ echo " 2. Edit $TARGET/sky-cam.conf"
echo " — SCRIPT_DIR full path to the directory you'll run scripts from"
echo " — BASE_DIR where your camera images live"
echo " — MUSIC_DIR path to your Vivaldi Four Seasons audio files"
echo " — CAMERAS list of camera names, e.g. (sunrise)"
echo " — CAMERAS list of camera names, e.g. (east) or (east north south west)"
echo " — SUNRISE_CAM which camera faces east (gets the sunrise video job)"
echo " — LATITUDE / LONGITUDE / TIMEZONE your location"
echo ""
+9 -6
View File
@@ -180,8 +180,8 @@ TIMEZONE=America/New_York
# Each name becomes a subfolder under BASE_DIR (images) and BASE_DIR/movies.
# To add a camera: add its name here, add its schedules below, re-run install.sh.
#
CAMERAS=(sunrise) # e.g. CAMERAS=(sunrise north west)
SUNRISE_CAM=sunrise # which camera faces east (gets the sunrise video job)
CAMERAS=(east) # e.g. CAMERAS=(east north south west)
SUNRISE_CAM=east # which camera faces east (gets the sunrise video job)
# ── Schedules ─────────────────────────────────────────────────────────────────
# All times are HH:MM:SS (24-hour local time).
@@ -207,15 +207,18 @@ SUNRISE_CAM=sunrise # which camera faces east (gets the sunrise v
#
SCHEDULE_SUNRISE=03:00:00
SCHEDULE_SEASONS_sunrise=01:00:00
SCHEDULE_FULLDAY_sunrise=02:00:00
SCHEDULE_SEASONS_east=01:00:00
SCHEDULE_FULLDAY_east=02:00:00
# Uncomment and fill in for each camera you add to CAMERAS above:
#SCHEDULE_SEASONS_north=01:30:00
#SCHEDULE_FULLDAY_north=02:30:00
#
#SCHEDULE_SEASONS_west=02:00:00
#SCHEDULE_FULLDAY_west=03:00:00
#SCHEDULE_SEASONS_south=02:00:00
#SCHEDULE_FULLDAY_south=03:00:00
#
#SCHEDULE_SEASONS_west=02:30:00
#SCHEDULE_FULLDAY_west=03:30:00
# ── Sunrise video tuning ──────────────────────────────────────────────────────
# Capture window around sunrise: