Voice Wake (Global Wake Words)
Clawdbot treats wake words as a single global list owned by the Gateway.- There are no per-node custom wake words.
- Any node/app UI may edit the list; changes are persisted by the Gateway and broadcast to everyone.
- Each device still keeps its own Voice Wake enabled/disabled toggle (local UX + permissions differ).
Storage (Gateway host)
Wake words are stored on the gateway machine at:~/.clawdbot/settings/voicewake.json
Protocol
Methods
voicewake.get→{ triggers: string[] }voicewake.setwith params{ triggers: string[] }→{ triggers: string[] }
- Triggers are normalized (trimmed, empties dropped). Empty lists fall back to defaults.
- Limits are enforced for safety (count/length caps).
Events
voicewake.changedpayload{ triggers: string[] }
- All WebSocket clients (macOS app, WebChat, etc.)
- All connected bridge nodes (iOS/Android), and also on node connect as an initial “current state” push.
Client behavior
macOS app
- Uses the global list to gate
VoiceWakeRuntimetriggers. - Editing “Trigger words” in Voice Wake settings calls
voicewake.setand then relies on the broadcast to keep other clients in sync.
iOS node
- Uses the global list for
VoiceWakeManagertrigger detection. - Editing Wake Words in Settings calls
voicewake.set(over the bridge) and also keeps local wake-word detection responsive.
Android node
- Exposes a Wake Words editor in Settings.
- Calls
voicewake.setover the bridge so edits sync everywhere.