lunch-notifier/.env.example
Barely Removable a9ea0a2d87
All checks were successful
Deploy / deploy (push) Successful in 42s
Add Home Assistant calendar sync via webhook
Every successful menu fetch now POSTs the day's items to HA_WEBHOOK_URL
(when set), so an HA automation can turn it into a calendar event. Surface
the push result as a "Calendar Sync" badge on the status card, hidden
unless HA_WEBHOOK_URL is configured.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KsJqAZ82Veyf5oihBr71S5
2026-09-03 07:05:31 -07:00

30 lines
916 B
Text

# Copy this to .env and fill in your values
# --- Required ---
# 10-digit phone number (no + or country code)
PHONE_NUMBER=4805405363
# Your carrier's SMS email gateway
# Verizon: vtext.com | T-Mobile: tmomail.net | AT&T: txt.att.net | Cricket: sms.cricketwireless.net
CARRIER_GATEWAY=vtext.com
# Gmail address to send from
GMAIL_USER=you@gmail.com
# Gmail App Password (myaccount.google.com → Security → App passwords)
# Remove spaces from the 16-char code
GMAIL_APP_PASSWORD=xxxxxxxxxxxxxxxxxxxx
# --- Optional ---
# Home Assistant webhook URL to push the day's menu to (for a calendar-event
# automation). Leave unset to skip. e.g. http://192.168.86.X:8123/api/webhook/<id>
HA_WEBHOOK_URL=
# Time to send the text each day (24-hour HH:MM, container timezone)
RUN_TIME=07:00
# Days to run (comma-separated: mon,tue,wed,thu,fri,sat,sun)
RUN_DAYS=mon,tue,wed,thu,fri
# HTTP trigger server port
PORT=2323