dokidoki

Control interactive BLE devices (scan/connect/playback/timeline) from terminal.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dokidoki" with this command: npx skills add LovappenCava/dokidoki

DokiDoki CLI

Use doki to control interactive BLE devices from the terminal.

Quick Start

  • doki scan - Scan for BLE devices (auto-starts daemon)
  • doki connect DK-META2 - Connect to device (auto-starts daemon)

Common Tasks

Daemon Management

  • doki start - Start background daemon
  • doki stop - Stop background daemon
  • doki status - Check daemon and connection status

Device Connection

  • doki scan - Scan for BLE devices
  • doki connect [name] - Connect to device (default: DK-META2)
  • doki disconnect - Disconnect from device

Timeline Playback

  • doki player play [audio] <timeline.json> - Play timeline with optional audio sync
  • doki player pause - Pause playback (stops device)
  • doki player resume - Resume playback

Direct Device Control

  • doki action linear 50 - Set linear to 50%
  • doki action rotary -30 - Set rotary to -30 (reverse)
  • doki action vibration 80 - Set vibration to 80%
  • doki action pause - Immediately stop all device actions

Timeline Format

Timeline files are JSON files defining device actions at specific timestamps:

{
  "duration": 180.5,
  "actions": [
    {"timestamp": 0.0, "type": "VIBRATION", "value": 50},
    {"timestamp": 5.5, "type": "LINEAR", "value": 30},
    {"timestamp": 10.0, "type": "ROTARY", "value": -50}
  ]
}

Action Types

TypeValue RangeDescription
LINEAR0-100Linear/stroke motion intensity
ROTARY-100 to 100Rotation speed (negative=reverse)
VIBRATION0-100Vibration intensity

Notes

  • Requires Node.js 18+ and Bluetooth Low Energy (BLE) support
  • Supported audio formats: MP3, AAC/M4A, WAV, FLAC, OGG, AIFF
  • Audio playback requires ffplay (Linux/Windows) or afplay (macOS)
  • Logs are written to /tmp/dokidoki.log

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

PinchTab Browser Ops

Browser automation via PinchTab CLI (nav/snap/find/click/fill/press/text) with low-token accessibility-tree flow. Use when the user asks to operate websites,...

Registry SourceRecently Updated
Coding

Aigames

Create a mini HTML game, organize files in a new folder, and upload it to the brianclan/aigames GitHub repo for www.thenext.games.

Registry SourceRecently Updated
Coding

Api Tester Cn

API请求构造、curl命令生成、Mock数据、API文档、HTTP状态码速查、Headers说明。API request builder, curl generator, mock data, API documentation, HTTP status codes, headers reference. Us...

Registry SourceRecently Updated
Coding

Miaoda App Builder

Create, modify, generate, and deploy websites, web apps, dashboards, SaaS products, internal tools, interactive web pages, Weixin mini program , games on the...

Registry SourceRecently Updated