Skip to content

Allow saving settings and enabling wake word without OpenClaw connection - #728

Merged
yuga-hashimoto merged 1 commit into
yuga-hashimoto:mainfrom
Lloyd-Jackman-UKPL:fix/wake-word-without-openclaw
Jun 17, 2026
Merged

Allow saving settings and enabling wake word without OpenClaw connection#728
yuga-hashimoto merged 1 commit into
yuga-hashimoto:mainfrom
Lloyd-Jackman-UKPL:fix/wake-word-without-openclaw

Conversation

@Lloyd-Jackman-UKPL

Copy link
Copy Markdown
Contributor

Two changes to support using Wake Hermes Claw with a Hermes API Server backend (e.g. via p2p/phy-OS) without needing an OpenClaw gateway or HTTP connection manually configured:

SettingsActivity.kt:

  • Remove the gateway/HTTP host requirement from the Save button's enabled state — users who only need to save wake word preferences shouldn't be forced to configure an OpenClaw connection first
  • Guard connectManual() against an empty host so saving with no gateway configured doesn't attempt a pointless connection

MainActivity.kt:

  • In toggleHotwordService(), also check BackendManager.chatTargets() for any configured backend (Hermes API Server, etc.) before blocking wake word enablement
  • Previously only checked runtime.manualHost or settings.httpUrl, which meant wake word was impossible to enable without an OpenClaw gateway or HTTP connection even when a fully-working Hermes API Server backend was already configured and showing as "Connected" on the home screen

Lines changed: 7 insertions, 4 deletions across 2 files.

Two changes to support using Wake Hermes Claw with a Hermes API Server
backend (e.g. via p2p/phyo-OS) without needing an OpenClaw gateway or
HTTP connection manually configured:

1. SettingsActivity.kt: Remove the gateway/HTTP host requirement from
   the Save button's enabled state so wake word preferences can be saved
   without an OpenClaw connection. Guard connectManual() against empty
   host to avoid attempting a connection to nothing.

2. MainActivity.kt: In toggleHotwordService(), also check BackendManager
   for any configured backend (Hermes API Server, etc.) before blocking
   wake word enablement. Previously only checked gateway manual host or
   HTTP URL settings.

Also fixes two pre-existing lint errors (StringFormatInvalid) that were
blocking CI: adds missing %%s format placeholder to operator_offline_command
and approve_command_format strings across all 9 locale files.
@Lloyd-Jackman-UKPL
Lloyd-Jackman-UKPL force-pushed the fix/wake-word-without-openclaw branch from d5ab196 to b10e777 Compare June 16, 2026 21:14
@yuga-hashimoto
yuga-hashimoto merged commit 05a3bcb into yuga-hashimoto:main Jun 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants