← 返回
开发者工具 中文

ToyBridge

Control any BLE toy that has been reverse-engineered and connected via the ToyBridge server. Calls a local HTTP API to send vibrate/stop commands. Requires t...
控制任何已逆向工程并通过ToyBridge服务器连接的BLE玩具。通过调用本地HTTP API发送振动/停止命令。
amandaclarke61
开发者工具 clawhub v1.0.0 1 版本 99817.2 Key: 无需
★ 0
Stars
📥 546
下载
💾 7
安装
1
版本
#latest

概述

ToyBridge — Universal BLE Toy Control

Control any BLE toy through OpenClaw, as long as you have the ToyBridge server running.

This skill is for devices that are not supported by Buttplug.io/Intiface — devices with proprietary or unknown protocols that you've reverse-engineered yourself using the ToyBridge toolkit.

> If your device IS supported by Buttplug.io, use the intiface-control skill instead — it's easier.


Prerequisites

  1. You've reverse-engineered your device's BLE protocol using ToyBridge
  2. You've configured 4-bridge/ble_worker.py for your device
  3. The ToyBridge server is running: uv run 4-bridge/server.py

See the full setup guide for step-by-step instructions.


Commands the agent will use

Vibrate at intensity

curl -s -X POST http://host.docker.internal:8888/vibrate \
  -H "Content-Type: application/json" \
  -d '{"intensity": 60}'

intensity: 0–100 (0 = stop)

Stop immediately

curl -s -X POST http://host.docker.internal:8888/stop

Check status

curl -s http://host.docker.internal:8888/status

> If OpenClaw runs natively (not in Docker), replace host.docker.internal with localhost.


Intensity guide

RangeFeel
-----------------
1–20Gentle
30–50Medium
60–80Strong
90–100Maximum

Preset patterns

PatternWhat it does
----------------------
pulseBursts of 80%, 5 times
waveRamp up 20→100%, then back down, x2
tease30% → 70% → 100%, escalating, then stop

To run a pattern:

curl -s -X POST http://host.docker.internal:8888/vibrate \
  -H "Content-Type: application/json" \
  -d '{"pattern": "wave"}'

Agent rules

  • Always stop (intensity 0) after a timed session unless user says to keep going
  • Do not use the notify tool — use bash with curl
  • Replace host.docker.internal with localhost if OpenClaw is not in Docker

Troubleshooting

ProblemFix
--------------
connection refusedMake sure uv run 4-bridge/server.py is running
Device doesn't respondCheck your device config in ble_worker.py
Wrong intensityValues are clamped to 0–100

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 21:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,260
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 670 📥 324,286
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,294