Skip to main content
The Melody device is our in‑house engineered interactive haptic hardware hub.
All WiFi playback requests are executed live against:
https://api.getmelody.io" Authenticated requests must include:

1. Playback Protocol (Read / Write)

Select the active playback protocol before issuing any control commands.

Playback Source (Read)

Indicates the current origin of device control.

HSC — Haptics Script Control

Transport: WiFi only
Behavior: Script playback from a remote .funscript file via URL. The server orchestrates timeline playback.

Start Playback (Write)

Stop Playback (Write)

Interrupt and stop script playback.

Script Status (Read)

Use for: synchronized sensations for videos, VR players, and timeline-driven playback systems.

HDC — Haptics Direct Control

Transport: WiFi, BLE
Behavior: Immediate position control. Every new command interrupts active movement.

Motion Command (Write)

Motion Status (Read)

Use for: UI manual controls, external timeline drivers, and interruptible positional motion.

HPS — Haptics Points Stream

Transport: WiFi, BLE Behavior: Stream sequential position + timestamp points. The device calculates velocity using time‑delta differences between points. Requirements:
  • Minimum 2 points required for velocity calculation
  • Maximum 64 points per message

Add Points (Write)

Note: If time delta between points is negative, the previous point timestamp is treated as 0.

Play Stream (Write)

Starts stream playback using buffered points.

Pause Stream (Write)

Pauses without clearing the buffer.

Flush Stream (Write)

Clears the buffered point queue.

Stream Status (Read)

Use for: Real-time haptic streaming, dynamic timelines, and smooth motion derived from time‑delta input.

HLC — Haptics Loop Control

Transport: WiFi, BLE Behavior: Automatic, repeating up/down stroking loop inside a defined range.

Set Loop Parameters (Write)

Start Loop (Write)

Begins automatic haptic loop.

Stop Loop (Write)

Stops loop playback safely and clears active loop state.

Loop Status (Read)

Use for: Continuous and rhythmic motion patterns driven by firmware.

Summary

You’re ready to send playback and motion commands — just set the protocol first, then explore the reference tabs for deeper technical detail.