Report PDF emailing

This commit is contained in:
2026-06-18 21:07:34 +01:00
parent 7254719794
commit 364f4fe57e
16 changed files with 1428 additions and 16 deletions
+9
View File
@@ -13,3 +13,12 @@ FLASK_SECRET_KEY=replace-with-a-random-string
# Optional: healthcheck.io-style heartbeat URL
# On success: GET <url> | On failure: POST <url>/fail
HEALTHCHECK_URL=https://health.pattinson.org/ping/2009942a-9877-411e-89b4-3d17382c8286
# PDF report email settings
REPORT_OUTPUT_DIR=/tmp/switchbot-reports
REPORT_SENDER_EMAIL=reports@example.com
REPORT_SENDER_NAME=SwitchBot Temps
SMTP2GO_API_KEY=replace-me
SMTP2GO_API_URL=https://api.smtp2go.com/v3/email/send
SMTP2GO_TIMEOUT_SECONDS=20
REPORT_SCHEDULER_POLL_SECONDS=300