25 lines
751 B
Bash
25 lines
751 B
Bash
SWITCHBOT_TOKEN=replace-me
|
|
SWITCHBOT_SECRET=replace-me
|
|
|
|
MYSQL_DATABASE=switchbot
|
|
MYSQL_USER=switchbot
|
|
MYSQL_PASSWORD=switchbot_password
|
|
MYSQL_ROOT_PASSWORD=root_password
|
|
|
|
COLLECT_INTERVAL_SECONDS=900
|
|
APP_TIMEZONE=Europe/London
|
|
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
|