Quiet hours: time windows with no or fewer screen refreshes (M4)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with src/paperpi/scheduler.py and src/paperpi/config.py, then read the existing scheduler tests that use a pretend clock. Trace how scheduled screen writes and clean_every work before deciding how quiet windows affect them. Done means multiple daily or weekly windows, including ones that cross midnight, limit screen writes as specified, and are applied on config reload; the open behavior questions need answers first.
由索引模型根据 Issue 内容生成。
描述
Idea from txoof (2026-10-23), after the 9.7" ran 21 hours as a service: fewer screen refreshes at times nobody looks, to spare the screen.
What
Quiet hours: one or more time windows in which the screen doesn't change, or changes only once or twice an hour.
Sketch:
[[display.quiet]]
from = "23:00"
to = "07:00"
writes_per_hour = 0 # 0: no screen changes; 1 or 2: at :00 (and :30)
[[display.quiet]]
from = "13:00"
to = "14:00"
days = ["sat", "sun"] # optional; default every day
writes_per_hour = 1
- Several windows; a window may cross midnight; the Pi's local time, so summer and winter time are handled.
- During a window only screen writes are limited; plugins keep fetching (see open point 3), so the first picture after the window is current.
- The hourly full clear (
clean_every) is skipped during a window and done once at its end. - With 1 or 2 writes per hour, each write shows the plugin that is current at that moment.
- Health check: no change needed (healthy doesn't require a recent screen write).
- Applied at config reload. The web form (M5) comes later, separately.
Open points (ask txoof one at a time)
- With 0 writes the last picture stays, possibly a clock with the wrong time. At the start of a window: show "Quiet until 07:00", go blank, or keep the last picture?
- May a music plugin that starts playing break through quiet hours (as it interrupts other plugins now, #284)?
- Do plugins also stop fetching in a window (fewer network requests), or only stop drawing?
Size
About 400–600 lines in one PR: config, scheduler, tests with the pretend clock, docs.
Area
core (src/paperpi/scheduler.py, src/paperpi/config.py), docs.
- 主要语言
- Python
- 星标
- 205
- 派生
- 17
- 平均合并
- 3 小时 49 分钟
- 30 天内合并 PR
- 89
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
txoof/PaperPi 的其他 Issue
-
enhancement
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area:plugins
难度 2/5 1-3 小时 新手友好度 55/100
维护者通常 1 天内回复
-
area:docs
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
area:web enhancement
难度 4/5 3-5 天 新手友好度 56/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
microsoft/agent-lightning#661 ·
维护者通常 2 天内回复
-
area/profiles comp/cli P3 type/feature
难度 2/5 1-3 小时 新手友好度 74/100
NousResearch/hermes-agent#146372 ·
维护者通常 1 天内回复
-
[BUG] OpenAI-compatible embedding model alias breaks embedder construction可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
[oblt-aw][autodoc] Document obs-aw-automerge contract and fix automerge doc inconsistencies可能已有人在做 @github-actions 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
GeoSeries scale and skew tests fail with pytest 9.2.0可能已有人在做 @jiayuasu 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复