Skip to content

Commit 7645f90

Browse files
committed
Update README
1 parent a515f87 commit 7645f90

File tree

5 files changed

+72
-5
lines changed

5 files changed

+72
-5
lines changed

README.md

Lines changed: 72 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,75 @@
1-
# Immich integration for Home Assistant
1+
# Immich × Home Assistant ![GitHub Release](https://img.shields.io/github/v/release/outadoc/immich-home-assistant) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/outadoc/immich-home-assistant/validate.yml)
22

3-
This custom integration for Home Assistant allows you to display random pictures from your Immich instance inside Home Assistant.
3+
This custom integration for Home Assistant allows you to display random pictures from your Immich instance right inside your dashboards.
44

5-
The pictures will be provided under an `image` entity, which should work with other Home Assistant components, like the `picture` card.
5+
### What is Immich?
66

7-
A random image will be fetched every 5 minutes.
8-
The images are selected from your Favorites on your Immich instance.
7+
Immich is a "high performance self-hosted photo and video backup solution".
8+
[Find more on their website](https://immich.app).
9+
10+
### What is Home Assistant?
11+
12+
Home Assistant provides "open source home automation that puts local control and privacy first".
13+
[Find more on their website](https://www.home-assistant.io).
14+
15+
## Installation
16+
17+
Install this component _via_ [HACS](https://hacs.xyz).
18+
19+
[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?repository=immich-home-assistant&category=Integration&owner=outadoc)
20+
21+
Restart Home Assistant once the integration has been installed.
22+
23+
## What can I do with this project?
24+
25+
As a suggestion, you could use this integration to create a picture frame. You can create a "pane" dashboard, and display your picture entity inside of it:
26+
27+
```yaml
28+
type: panel
29+
title: Photo frame
30+
path: photo-frame
31+
icon: mdi:image-frame
32+
subview: true
33+
cards:
34+
- type: picture-entity
35+
entity: image.immich_favorite_image
36+
show_state: false
37+
show_name: false
38+
aspect_ratio: "16:9"
39+
fit_mode: contain
40+
```
41+
42+
You can then use this dashboard on a dedicated device in kiosk mode.
43+
44+
You could even display in onto a Nest Hub device with the [Home Assistant Cast](https://www.home-assistant.io/integrations/cast/#home-assistant-cast) feature − you can finally say goodbye to Google Photos! 🎉
45+
46+
![A Nest Hub 2 showing a cat picture, straight from Home Assistant](assets/demo.jpg)
47+
48+
## How does it work?
49+
50+
The integration can provide multiple `image` entities, which each correspond to an album. Each entity will switch to a new random image every 5 minutes.
51+
52+
These entities can be displayed using standard lovelace cards − for example, the `picture`, or `picture-entity` cards.
53+
54+
<img src="assets/entity-card.png" width="600" alt="Example usage: a picture card showing a picture from Immich">
55+
56+
## Configuration
57+
58+
You can set up the Immich integration right from the web UI.
59+
60+
[![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=immich)
61+
62+
You will need to enter your instance's URL and an API key. You can generate it from your Account Settings, on your Immich instance.
63+
64+
<img src="assets/immich-api-key.png" width="600" alt="'API Keys' section on the Immich account settings page">
65+
66+
### Exposing other albums
67+
68+
By default, only the "Favorites" album is exposed as an entity.
69+
70+
You can expose more albums on the integration's options page.
71+
72+
> [!WARNING]
73+
> Exposing many albums might consume a lot of resources on your Home Assistant machine, and will also increase the number of calls to your Immich instance.
74+
75+
<img src="assets/entity-list.png" width="600" alt="A list of four image entities provided by the Immich integration">

assets/demo.jpg

2.38 MB
Loading

assets/entity-card.png

1.16 MB
Loading

assets/entity-list.png

16.1 KB
Loading

assets/immich-api-key.png

32.7 KB
Loading

0 commit comments

Comments
 (0)