# E-paper Maclink

A native macOS family dashboard for e-paper: Apple Calendar, Reminders, and Home Assistant sensors.

一家人的日程被排进 Seeed XIAO ESP32-C3 加 7.5 寸 800×480 单色墨水屏，但绝大部分活不在屏这边干。

- id: kmplngj-epaper-maclink
- author: kmplngj
- repository: https://github.com/kmplngj/epaper-maclink
- license: MIT
- shape: epaper
- scenes: home, tools
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/kmplngj-epaper-maclink/
- html_zh: https://esp32gallery.com/zh/projects/kmplngj-epaper-maclink/
- json: https://esp32gallery.com/data/catalog/projects/kmplngj-epaper-maclink.json

## Hardware

Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
The family agenda, rendered on a Seeed XIAO ESP32-C3 with a 7.5-inch monochrome 800×480 panel, but almost none of the work happens on the display. A native SwiftUI Mac app pulls Apple Calendar and Reminders through EventKit plus optional Home Assistant sensors, composes the page with TRMNL pixel fonts, and uploads a PNG to a FastAPI server that keeps the last image in SQLite; the display wakes and fetches only when the frame changed. Two columns hold as many complete days as fit, with a lookahead of up to 31 days, and the footer takes up to four HA sensor readings with small Markdown. Each display gets its own check interval and daily update window. The catch is stated plainly: new content and date changes need the Mac awake and the app running. macOS 14 or later and a Swift 6 toolchain are required, and the firmware is GPLv3 because it builds on OpenDisplay.
```

## 中文

```
一家人的日程被排进 Seeed XIAO ESP32-C3 加 7.5 寸 800×480 单色墨水屏，但绝大部分活不在屏这边干。Mac 上一个 SwiftUI 程序通过 EventKit 读日历和提醒事项，可选再拉 Home Assistant 的传感器，用 TRMNL 的点阵字体把整页画好，以 PNG 传到 FastAPI 服务端存进 SQLite；墨水屏只在画面真的变了才醒来取图。版面分成两栏，尽量塞下整天，最多往后看 31 天，页脚能放四个 Home Assistant 读数，可以带一点 Markdown。每块屏的检查间隔和每日更新时间段都能单独设。代价说得很直白：要出新内容和日期变化，Mac 必须醒着且程序在跑。系统要 macOS 14 以上和 Swift 6 工具链，固件因为基于 OpenDisplay 而是 GPLv3。
```
