Files
homeai/.env.example
Aodhan Collins af6b7bd945 feat: upgrade voice pipeline — MLX Whisper STT (20x faster), Qwen3.5 MoE LLM, fix HA tool calling
- Replace faster-whisper with wyoming-mlx-whisper (whisper-large-v3-turbo, MLX Metal GPU)
  STT latency: 8.4s → 400ms for short voice commands
- Add Qwen3.5-35B-A3B (MoE, 3B active params, Q8_0) to Ollama — 26.7 tok/s vs 5.4 tok/s (70B)
- Add model preload launchd service to pin voice model in VRAM permanently
- Fix HA tool calling: set commands.native=true, symlink ha-ctl to PATH
- Add pipeline benchmark script (STT/LLM/TTS latency profiling)
- Add service restart buttons and STT endpoint to dashboard
- Bind Vite dev server to 0.0.0.0 for LAN access

Total estimated pipeline latency: ~27s → ~4s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 18:03:12 +00:00

57 lines
3.2 KiB
Plaintext

# HomeAI — Shared Configuration Template
# Copy to .env and fill in your values.
# .env is gitignored — never commit it.
# ─── API Keys ──────────────────────────────────────────────────────────────────
HUGGING_FACE_API_KEY=
OPENROUTER_API_KEY=
OPENAI_API_KEY=
DEEPSEEK_API_KEY=
GEMINI_API_KEY=
ELEVENLABS_API_KEY=
# ─── Data & Paths ──────────────────────────────────────────────────────────────
DATA_DIR=${HOME}/homeai-data
REPO_DIR=${HOME}/Projects/HomeAI
# ─── Network ───────────────────────────────────────────────────────────────────
# Set to your machine's local IP (not 127.0.0.1)
HOST_IP=192.168.1.100
# ─── P1: Infrastructure ────────────────────────────────────────────────────────
# Pre-existing instances — set these to your actual URLs
HA_URL=http://localhost:8123
HA_TOKEN= # Generated in Home Assistant UI → Profile → Security
PORTAINER_URL=https://localhost:9443
GITEA_URL=http://localhost:3000
# Managed by homeai-infra docker-compose
UPTIME_KUMA_URL=http://localhost:3001
CODE_SERVER_URL=http://localhost:8090
CODE_SERVER_PASS= # Set in homeai-infra/docker/.env
N8N_URL=http://localhost:5678
N8N_USER=admin
N8N_PASS= # Set in homeai-infra/docker/.env
# ─── P2: LLM ───────────────────────────────────────────────────────────────────
OLLAMA_URL=http://localhost:11434
OLLAMA_API_URL=http://localhost:11434/v1
OPEN_WEBUI_URL=http://localhost:3030
OLLAMA_PRIMARY_MODEL=llama3.3:70b
OLLAMA_FAST_MODEL=qwen2.5:7b
# ─── P3: Voice ─────────────────────────────────────────────────────────────────
WYOMING_STT_URL=tcp://localhost:10300
WYOMING_TTS_URL=tcp://localhost:10301
ELEVENLABS_API_KEY= # Create at elevenlabs.io if using elevenlabs TTS engine
# ─── P4: Agent ─────────────────────────────────────────────────────────────────
OPENCLAW_URL=http://localhost:8080
# ─── P7: Visual ────────────────────────────────────────────────────────────────
VTUBE_WS_URL=ws://localhost:8001
# ─── P8: Images ────────────────────────────────────────────────────────────────
COMFYUI_URL=http://localhost:8188