16 Commits

Author SHA1 Message Date
4c03bc849e Several minor updates to the existing blueprints 2026-02-28 22:10:11 +03:00
006f9e532c Add {year} variable to asset templates in Immich Album Watcher
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 21:27:59 +03:00
6848c3f903 BREAKING: Replace hour/interval inputs with flexible time lists in Immich Album Watcher
Replace interval-based scheduling with explicit time lists for more flexibility:
- Periodic Summary: Replace interval_hours + start_hour with notification_times
- Scheduled Assets: Replace interval_hours + start_hour with notification_times
- Memory Mode: Replace start_hour with notification_times

Changes:
- Remove `periodic_interval_hours` and `periodic_start_hour` inputs
- Remove `scheduled_assets_interval_hours` and `scheduled_assets_start_hour` inputs
- Replace `memory_mode_start_hour` with `memory_mode_notification_times`
- Add three new time text inputs accepting comma-separated HH:MM format
- Replace hourly time_pattern trigger with three template triggers
- Update trigger logic to match current time against configured times
- Update documentation to reflect new time-based scheduling

Users can now specify any times (e.g., "09:00, 14:30, 21:00") instead of
calculating intervals. Times must use 24-hour format with leading zeros.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 12:50:23 +03:00
27ff2ae8f0 Remove telegram_notify_targets from Immich Album Watcher
Simplify Telegram recipient configuration to only use input_text
entities for chat IDs. Removes the notify entity friendly name
parsing which was complex and error-prone.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 02:18:36 +03:00
9189c5a07d Add image URL option for periodic summary notifications
New input `periodic_summary_image_url` allows customizing the image
attached to periodic summary Telegram messages. Defaults to official
Immich logo. Set empty for text-only notifications.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:56:51 +03:00
498c1ac6dc Document transcoded asset usage for Telegram media
Note that the service uses transcoded/optimized versions of assets
when available, not the original files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 12:29:54 +03:00
03df890737 Fix max asset size minimum value validation error
Change telegram_max_asset_size input minimum from 0 to 1 (service
requires at least 1 byte). Set default to 50 MB for no extra filtering.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 12:29:24 +03:00
5c98657e05 Add maximum asset size filter for Telegram media
- Add telegram_max_asset_size input (0-50 MB slider)
- Pass max_asset_data_size parameter to send_telegram_notification
- Allows filtering out large files before sending to Telegram
- Set to 0 for no filtering (default Telegram 50 MB limit)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 03:40:46 +03:00
12bbbe8fd8 Update README for chat action and memory mode changes
- Document chat action indicator feature for Telegram
- Update memory mode to reflect fixed daily schedule

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 02:49:08 +03:00
dce47a9f75 Add asset sorting and favorites-only filter for notifications
New notification settings for "assets added" events:
- Sort Assets By: date, rating, name, or original order
- Sort Direction: ascending or descending
- Notify Favorites Only: filter to only favorite assets

Rating sort handles null values by placing unrated assets last
(descending) or first (ascending).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 14:54:36 +03:00
b48d78a188 Add Memory Mode as separate feature with independent schedule
Replace the previous memory order_by option with a dedicated Memory Mode
feature that has its own enable toggle, schedule (interval/start hour),
and settings. Users can now run both Scheduled Assets and Memory Mode
independently at different times.

Memory Mode fetches photos taken on today's date in previous years using
the memory_date parameter, sorted by date ascending (oldest first).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 14:23:57 +03:00
9bb7824a38 Add Memory mode for On This Day scheduled assets
Add new "Memory (On This Day)" option to scheduled assets Order By
selector. When selected, fetches photos taken on today's date in
previous years using the on_this_day parameter from get_assets service.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:27:23 +03:00
678cdafc39 Add link to Immich Album Watcher integration in README
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 00:33:53 +03:00
29158b8b07 Update README with album date placeholders documentation
Added {album_created} and {album_updated} to:
- Message Template Variables
- Asset Item Template Variables
- Album Item Template Variables (also added {album_id})
- Scheduled Assets Message Template Variables

Also added missing {common_date} and {common_location} to
Scheduled Assets documentation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 00:11:21 +03:00
e63bb3da95 Add reverse geocoding location support and fix NoneType error
- Add location template inputs (common_location_template, location_if_unique_template, location_format)
- Display common location in header when all assets share the same location
- Show per-asset location when locations differ using {location_if_unique}
- Location only shown when all three fields (city, state, country) are present
- Fix TypeError on NoneType length check when asset.created_at is null
- Add defensive checks for date parsing to prevent template errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 02:51:15 +03:00
7b00899903 Restructure repository: organize blueprints into folders
Each blueprint now has its own folder containing:
- blueprint.yaml: The automation code with a short header
- README.md: Detailed documentation extracted from headers

Updated CLAUDE.md with repository structure guidelines.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 02:38:52 +03:00