mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
Add configurable morning summaries that aggregate data from multiple sources: - Weather forecast via Open-Meteo API (free, no API key needed) - Today's calendar events - Today's tasks + overdue tasks - Birthdays from contacts - Plants needing water from Planta New commands: - !morning / !morgen - Get summary now - !morning-on/off - Enable/disable automatic delivery - !morning-time HH:MM - Set delivery time - !morning-location [city] - Set weather location - !morning-timezone [zone] - Set timezone - !morning-format [kompakt|ausfuehrlich] - Set format - !morning-settings - Show current settings New shared services in @manacore/bot-services: - WeatherService - Open-Meteo integration with geocoding - ContactsApiService - Birthday fetching - PlantaApiService - Watering schedule - MorningSummaryService - Aggregates all sources - MorningPreferencesService - User preferences storage Includes scheduler for automatic daily delivery at user-configured time. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
1 KiB
Text
41 lines
1 KiB
Text
# Server
|
|
PORT=3310
|
|
NODE_ENV=development
|
|
TZ=Europe/Berlin
|
|
|
|
# Matrix Connection
|
|
MATRIX_HOMESERVER_URL=http://localhost:8008
|
|
MATRIX_ACCESS_TOKEN=syt_your_access_token_here
|
|
MATRIX_STORAGE_PATH=./data/mana-bot-storage.json
|
|
|
|
# Optional: Restrict to specific rooms (comma-separated)
|
|
# MATRIX_ALLOWED_ROOMS=!room1:mana.how,!room2:mana.how
|
|
|
|
# AI Service (Ollama)
|
|
OLLAMA_URL=http://localhost:11434
|
|
OLLAMA_MODEL=gemma3:4b
|
|
OLLAMA_TIMEOUT=120000
|
|
|
|
# Clock Service (external API)
|
|
CLOCK_API_URL=http://localhost:3017/api/v1
|
|
|
|
# Storage paths
|
|
TODO_STORAGE_PATH=./data/todos.json
|
|
CALENDAR_STORAGE_PATH=./data/calendar.json
|
|
|
|
# API Services (for Morning Summary)
|
|
TODO_API_URL=http://localhost:3018
|
|
CALENDAR_API_URL=http://localhost:3014
|
|
CONTACTS_API_URL=http://localhost:3015
|
|
PLANTA_API_URL=http://localhost:3022
|
|
|
|
# Weather (Morning Summary)
|
|
WEATHER_DEFAULT_LOCATION=Berlin
|
|
|
|
# Voice Services
|
|
STT_URL=http://localhost:3020
|
|
VOICE_BOT_URL=http://localhost:3050
|
|
DEFAULT_VOICE=de-DE-ConradNeural
|
|
DEFAULT_SPEED=1.0
|
|
VOICE_ENABLED=true
|
|
VOICE_PREFERENCES_PATH=./data/voice-preferences.json
|