- Changed the daily recap time to 22:00. - Modified the `send_daily_recap` function to split the recap message into multiple messages if it exceeds 2000 characters to avoid hitting the Discord message length limit. - Added a 1-second delay between each message chunk to avoid rate limiting.
22 lines
941 B
Python
Executable File
22 lines
941 B
Python
Executable File
# Configuration for the LLM-Powered Monitoring Agent
|
|
|
|
# Discord Webhook URL
|
|
DISCORD_WEBHOOK_URL = "https://discord.com/api/webhooks/1024892743987773471/3Oh1KOw9tevBd-XtUkj8Rz2K4SePCFsxKmRrHhQw5spDeZKNzoyYoq6zC2cnTKo8VjJn"
|
|
|
|
# Home Assistant Configuration
|
|
HOME_ASSISTANT_URL = "http://192.168.2.112:8123"
|
|
HOME_ASSISTANT_TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjOGRmZjI4NDY2MTQ0ZDFkODhiODVjNmQyZTA2MzFiNSIsImlhdCI6MTc1NTU0NDY4OSwiZXhwIjoyMDcwOTA0Njg5fQ.5ZeOkixbdme5SF1QVknZ0bjnPYj1Qrps5HDn-Loi-cQ"
|
|
GOOGLE_HOME_SPEAKER_ID = "media_player.spencer_room_speaker"
|
|
|
|
# Daily Recap Time (in 24-hour format, e.g., "20:00")
|
|
DAILY_RECAP_TIME = "22:00"
|
|
|
|
# Nmap Configuration
|
|
NMAP_TARGETS = "192.168.2.0/24"
|
|
NMAP_SCAN_OPTIONS = "-sS -T4 -R"
|
|
|
|
# Docker Configuration
|
|
DOCKER_CONTAINERS_TO_MONITOR = ["gitea","portainer","gluetun","mealie","n8n","minecraft"]
|
|
|
|
# Test Mode (True to run once and exit, False to run continuously)
|
|
TEST_MODE = False |