Files
Home_assistant/telegram-bot/.env.example
T
2026-06-13 20:20:56 +00:00

15 lines
379 B
Bash

# Telegram Bot API token from @BotFather
TELEGRAM_BOT_TOKEN=
# Home Assistant backend URL (must be reachable from VPS)
HA_API_BASE_URL=https://home.example.com/api/v1
# How often to poll for notices (seconds)
POLL_INTERVAL_SEC=30
# SQLite data directory
DATA_DIR=./data
# Optional: comma-separated Telegram user IDs allowed to use the bot
ALLOWED_TELEGRAM_IDS=