Files
eink-push/.env.example
YANG JIANKUAN 2121b1eff4 refactor: 推送改为局域网直连设备,推送前清空画廊旧图
原走 Zectrix 公网 API + 设备 MAC,现改为直连局域网墨水屏设备(喵喵固件)
的 HTTP 接口:POST /upload 推送 PNG 触发刷屏。设备画廊按追加保存,故推送
前先 GET /images 清空旧图,避免图片越推越多、且避免 slideshow 模式轮播
到过期图。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-07 10:19:10 +08:00

20 lines
664 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# eink-push 配置模板:复制为 .env 并填入真实值cp .env.example .env
# 真实环境变量cron/命令行注入)优先级高于 .env 文件。
# ---- 局域网墨水屏设备(喵喵固件)----
# mDNS host同局域网内可直接在浏览器打开 http://<EPD_HOST>/ 调试
EPD_HOST=epd400a44.local
# ---- 橘喵 jm-devops 后端(设备密钥授权)----
JM_BASE_API=https://admin.jumiaotandian.com/prod-api
JM_CLIENT_ID=
JM_CLIENT_SECRET=
JM_GRANT_TYPE=client_secret
JM_TENANT_ID=000000
# ---- 和风天气QWeather----
QWEATHER_HOST=your-host.re.qweatherapi.com
QWEATHER_KEY=
WEATHER_LOCATION=118.788,32.014
WEATHER_TTL=900