You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: trmnl-ha/DOCS.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ The add-on persists schedules and configuration in the `/data` directory (mounte
18
18
19
19
This add-on can capture screenshots from **any website**, not just Home Assistant. Use it to convert any web content to e-ink optimized images.
20
20
21
+
> **Pull vs Push:** Pull (displays request images on-demand) and Push (scheduled webhooks POST images to displays). See [Pull vs Push Architecture](#pull-vs-push-architecture) for details.
22
+
21
23
### Quick Start (Docker)
22
24
23
25
```bash
@@ -207,6 +209,32 @@ The add-on supports two screenshot modes:
207
209
208
210
**Generic Mode**: Uses the `url` parameter to capture any public website. No authentication is injected, so it works with any publicly accessible URL.
209
211
212
+
#### Pull vs Push Architecture
213
+
214
+
Both modes support pull and push architectures:
215
+
216
+
| Architecture | How it works | Example |
217
+
|--------------|--------------|---------|
218
+
| **Pull** | Display requests image on-demand via HTTP GET | `curl "http://localhost:10000/lovelace/0?viewport=800x480"` |
219
+
| **Push** | Add-on captures on schedule and POSTs to webhook | Cron schedule with webhook URL configured |
0 commit comments