{"id":50583360,"url":"https://github.com/ddrayne/openclaw-modue-bridge","last_synced_at":"2026-06-05T04:02:12.375Z","repository":{"id":355302984,"uuid":"1227525005","full_name":"ddrayne/openclaw-modue-bridge","owner":"ddrayne","description":"Community OpenClaw plugin: registers modue.* RPC relays so the Modue control surface can talk to OpenClaw agents.","archived":false,"fork":false,"pushed_at":"2026-05-02T21:41:19.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T23:30:31.541Z","etag":null,"topics":["control-surface","macos","modue","openclaw","openclaw-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/ddrayne/openclaw-modue-bridge","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddrayne.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-02T20:03:33.000Z","updated_at":"2026-05-02T21:41:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ddrayne/openclaw-modue-bridge","commit_stats":null,"previous_names":["ddrayne/openclaw-modue-bridge"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ddrayne/openclaw-modue-bridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrayne%2Fopenclaw-modue-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrayne%2Fopenclaw-modue-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrayne%2Fopenclaw-modue-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrayne%2Fopenclaw-modue-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddrayne","download_url":"https://codeload.github.com/ddrayne/openclaw-modue-bridge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrayne%2Fopenclaw-modue-bridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33928631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-surface","macos","modue","openclaw","openclaw-plugin"],"created_at":"2026-06-05T04:02:11.437Z","updated_at":"2026-06-05T04:02:12.360Z","avatar_url":"https://github.com/ddrayne.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenClaw ↔ Modue bridge (community)\n\nA community [OpenClaw](https://openclaw.ai) plugin by @ddrayne that bridges\nOpenClaw and the Modue hardware control surface — both as gateway RPC\nrelays and as agent-callable LLM tools.\n\n## How the pieces fit\n\n```\n        ┌─────────────────────┐         ┌─────────────────────┐\n        │    Modue device     │         │    OpenClaw agent   │\n        │ (display, LEDs,     │         │ (LLM, channels,     │\n        │  slider, keys)      │         │  approvals, etc.)   │\n        └──────────┬──────────┘         └──────────┬──────────┘\n                   │ WebSocket                     │ WebSocket\n                   ▼                               ▼\n         ┌────────────────────────────────────────────────────┐\n         │           OpenClaw gateway (this host)             │\n         │  ┌──────────────────────────────────────────────┐  │\n         │  │   ddrayne-modue-bridge  (this plugin)        │  │\n         │  │   • 13 modue.* RPC relays (broadcast)        │  │\n         │  │   • modue.bridge.ping (primes broadcast)     │  │\n         │  │   • 4 LLM tools (modue_leds/display/...)     │  │\n         │  └──────────────────────────────────────────────┘  │\n         └────────────────────────────────────────────────────┘\n                   ▲\n                   │ WebSocket (paired device)\n                   │\n        ┌──────────┴──────────┐\n        │ @modue/openclaw     │  ← runs INSIDE the Modue app\n        │ (Modue-platform     │    https://github.com/ddrayne/openclaw-modue\n        │  plugin)            │\n        └─────────────────────┘\n```\n\nYou need **both** plugins to get a working setup — this one on the OpenClaw\nside, and [`@modue/openclaw`](https://github.com/ddrayne/openclaw-modue) on\nthe Modue device side.\n\n## What this plugin registers\n\n### `modue.*` gateway methods (broadcast relays)\n\nStateless relays — receive a call from one connected client, broadcast the\nsame event name and params to every other client. Same handler shape in\nboth directions.\n\n- **Agent → device**: `modue.display.set`, `modue.display.raw`,\n  `modue.display.release`, `modue.slider.set`, `modue.leds.set`,\n  `modue.leds.pattern`, `modue.leds.release`, `modue.key.labels`\n- **Device → agents**: `modue.slider.changed`, `modue.knob.changed`,\n  `modue.key.pressed`, `modue.display.touched`, `modue.capabilities`\n\n### `modue.bridge.ping`\n\nCompatibility shim for `@modue/openclaw`, which calls it on every\n(re)connect to \"prime\" the broadcast capture used by the agent tools.\nScope: `operator.read`.\n\n### Agent tools (LLM-callable)\n\n- `modue_leds` — set LED patterns (`pulse`, `chase`, `breathe`, `flash`,\n  `solid`) or individual LED colors\n- `modue_display` — push title / body / image content to the device\n- `modue_slider` — set motorized fader position 0-100\n- `modue_keys` — set labels for the three physical keys\n\n## Setup\n\n### Prerequisites\n\n- An [OpenClaw](https://openclaw.ai) install with the gateway running\n  (`openclaw gateway status` should report `Runtime: running`).\n- A [Modue](https://www.modue.com/) device + app (macOS).\n- The Modue-platform plugin\n  [`@modue/openclaw`](https://github.com/ddrayne/openclaw-modue) installed\n  inside the Modue app.\n\n### Install this plugin (OpenClaw side)\n\n```sh\nopenclaw plugins install @ddrayne/openclaw-modue-bridge\n```\n\nOr for local development:\n\n```sh\nopenclaw plugins install /path/to/openclaw-modue-bridge\n```\n\nRestart the gateway so it picks up the new plugin:\n\n```sh\nopenclaw gateway stop \u0026\u0026 openclaw gateway start\n```\n\n### Configure the Modue side\n\n1. Pull your gateway auth token:\n\n   ```sh\n   python3 -c \"import json; print(json.load(open(f'{__import__(\\\"os\\\").path.expanduser(\\\"~\\\")}/.openclaw/openclaw.json'))['gateway']['auth']['token'])\"\n   ```\n\n2. Open Modue → OpenClaw plugin settings.\n3. Paste the token into **Gateway Token**. Leave **Gateway URL** as the\n   default (`ws://127.0.0.1:18789`) unless you've moved the gateway.\n4. Click **Connect**, or `Cmd+Shift+R` in the Modue app to reload.\n\n### Verify it works\n\nTail the Modue plugin log:\n\n```sh\ntail -f \"$HOME/Library/Application Support/modue/pluginLogs/openclaw.log\"\n```\n\nYou should see, in order:\n\n```\nConnecting to OpenClaw at ws://127.0.0.1:18789\nChallenge received, building device identity\nDevice identity loaded: …\nDevice token saved (pairing approved)        ← first time only\nConnected to OpenClaw gateway                 ← auth ok\n```\n\nThen on the OpenClaw side:\n\n```sh\nopenclaw plugins doctor 2\u003e\u00261 | grep ddrayne-modue-bridge\n# expect: registered: 13 modue.* relays + 1 bridge.ping + 4 tools\n```\n\nTouch a Modue widget (slider, key, or display). The corresponding\n`modue.slider.changed` / `modue.key.pressed` / `modue.display.touched`\nevent should land in the gateway log:\n\n```sh\ntail -f /tmp/openclaw/openclaw-$(date +%Y-%m-%d).log | grep modue\n```\n\n## Troubleshooting\n\n**`gateway token mismatch` in the Modue plugin log**\n\nModue's stored `Gateway Token` doesn't match\n`gateway.auth.token` in `~/.openclaw/openclaw.json`. The token rotates if\nyou reinstall or upgrade OpenClaw. Re-run the prerequisite token-extract\ncommand and paste the new value into Modue's plugin settings.\n\n**`unknown method: modue.bridge.ping` from the gateway**\n\nEither this plugin isn't installed, or the gateway hasn't been restarted\nsince install. Check `openclaw plugins list` for `ddrayne-modue-bridge`\nand run `openclaw gateway stop \u0026\u0026 openclaw gateway start`.\n\n**`bridge ping failed: missing scope: operator.admin`**\n\nThat diagnostic comes from an older standalone `@openclaw/modue` install\nthat's still around. Run `openclaw plugins uninstall modue --force` and\nremove `~/.openclaw/extensions/modue/` if it lingers — this plugin\nprovides the same surface under the proper name.\n\n**Modue plugin RSS climbing during agent activity**\n\nUpdate [`@modue/openclaw`](https://github.com/ddrayne/openclaw-modue) to\nthe latest commit — older versions had a per-notify `channels.status` RPC\nfan-out that OOM'd the Modue platform under sustained streaming.\n`Cmd+Shift+R` after pulling.\n\n## License\n\nISC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddrayne%2Fopenclaw-modue-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddrayne%2Fopenclaw-modue-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddrayne%2Fopenclaw-modue-bridge/lists"}