feat(immich_frame): add multi-account support via Accounts list option

- Add Accounts list schema to config.yaml for multi-account support
- Make ApiKey and ImmichServerUrl optional when using Accounts list
- Generate Settings.yaml from addon options in 99-run.sh
- Fix /app/Config symlink direction for proper config persistence
- Set IMMICHFRAME_CONFIG_PATH for reliable config discovery
- Update README with multi-account documentation and examples
- Bump version to 1.0.32.0-2

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-16 06:00:59 +00:00
parent c8cf6e0953
commit dcb1a08a8f
4 changed files with 72 additions and 9 deletions

View File

@@ -41,11 +41,12 @@ Webui can be found at `<your-ip>:8171`.
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `ImmichServerUrl` | str | **Required** | URL of your Immich server (e.g., `http://homeassistant:3001`) |
| `ApiKey` | str | **Required** | Immich API key for authentication |
| `ImmichServerUrl` | str | | URL of your Immich server (e.g., `http://homeassistant:3001`). Used for single-account setup. |
| `ApiKey` | str | | Immich API key for authentication. Used for single-account setup. |
| `Accounts` | list | `[]` | List of Immich accounts for multi-account support. Each entry requires `ImmichServerUrl` and `ApiKey`. |
| `TZ` | str | | Timezone (e.g., `Europe/London`) |
### Example Configuration
### Single Account Example
```yaml
ImmichServerUrl: "http://homeassistant:3001"
@@ -53,6 +54,23 @@ ApiKey: "your-immich-api-key-here"
TZ: "Europe/London"
```
### Multi-Account Example
To display photos from multiple Immich accounts (e.g., you and your partner), use the `Accounts` list:
```yaml
Accounts:
- ImmichServerUrl: "http://homeassistant:3001"
ApiKey: "api-key-for-user-1"
- ImmichServerUrl: "http://homeassistant:3001"
ApiKey: "api-key-for-user-2"
TZ: "Europe/London"
```
When using the `Accounts` list, the `ApiKey` and `ImmichServerUrl` top-level options are not needed. Images will be drawn from each account proportionally based on the total number of images present in each account.
For more configuration options, see the [ImmichFrame documentation](https://immichframe.dev/docs/getting-started/configuration).
### Getting Your Immich API Key
1. Open your Immich web interface