- Fix Wyoming satellite crash on wake word: convert macOS .aiff chimes to .wav (Python wave module only reads RIFF format, not AIFF) - Fix OpenClaw HTTP bridge: increase subprocess timeout 30s → 120s, add SO_REUSEADDR - Fix HA conversation component: use HTTP agent (not CLI) since HA runs in Docker on a different machine; update default host to Mac Mini IP, timeout to 120s - Rewrite character manager as Vite+React app with schema validation - Add Wyoming satellite wake word command, ElevenLabs TTS server, wakeword monitor - Add Phase 5 development plan - Update TODO.md: mark voice pipeline and agent tasks complete Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
579 B
Python
27 lines
579 B
Python
"""Constants for OpenClaw Conversation integration."""
|
|
|
|
DOMAIN = "openclaw_conversation"
|
|
|
|
# Configuration keys
|
|
CONF_OPENCLAW_HOST = "openclaw_host"
|
|
CONF_OPENCLAW_PORT = "openclaw_port"
|
|
CONF_AGENT_NAME = "agent_name"
|
|
CONF_TIMEOUT = "timeout"
|
|
|
|
# Defaults
|
|
DEFAULT_HOST = "10.0.0.101"
|
|
DEFAULT_PORT = 8081 # OpenClaw HTTP Bridge (not 8080 gateway)
|
|
DEFAULT_AGENT = "main"
|
|
DEFAULT_TIMEOUT = 120
|
|
|
|
# API endpoints
|
|
OPENCLAW_API_PATH = "/api/agent/message"
|
|
|
|
# Service names
|
|
SERVICE_PROCESS = "process"
|
|
|
|
# Attributes
|
|
ATTR_MESSAGE = "message"
|
|
ATTR_RESPONSE = "response"
|
|
ATTR_AGENT = "agent"
|