Offline wake word detection for “codmir” with Vosk and microphone capture.

Wakeword Listener

Listens for the wake word “codmir” using Vosk (offline) and triggers downstream automation.

  • Path: workers/wakeword-listener/
  • Image runs with ALSA/PortAudio; maps /dev/snd

Environment

  • WAKEWORD (default codmir)
  • ORCHESTRATOR_URL (optional; direct trigger)
  • ORCH_FPS, ORCH_OVERLAY, ORCH_AUTO_STOP_SECONDS, ORCH_COOLDOWN_SECONDS
  • N8N_WEBHOOK_URL (optional)
  • SAMPLE_RATE, DEVICE_INDEX, DEVICE_NAME, DEBUG

Run

  • Script: workers/wakeword-listener/run-linux.sh
  • Docker Compose: docker/compose.codmir.yml (service wakeword-listener)

Output

  • Posts JSON event to webhook (if set)
  • Optionally calls orchestrator /session/start directly