/install devialet
Devialet Speaker Control
Control Devialet speakers (Phantom, Mania) over your local network with Spotify integration.
Natural Language Commands
When the user says things like:
- "Play Nines - Lick Shots on my speaker" → Search and play via Spotify
- "Set speaker volume to 40" → Adjust volume
- "Pause the music" → Pause playback
- "What's playing?" → Check current track and status
Setup
- Find your speaker's IP address (check router or Devialet app)
- Set the
DEVIALET_IPenvironment variable, or add toTOOLS.md:## Devialet Speaker - IP: 192.168.x.x - For Spotify integration: install Spotify desktop app, playerctl, and xdotool
Quick Usage
# Set your speaker IP
export DEVIALET_IP="192.168.x.x"
# Play a song (search and play)
./scripts/play-on-devialet.sh "Drake - God's Plan"
# Play by Spotify URI
./scripts/play-on-devialet.sh spotify:track:4YZNJOA9d8wiO5ELNY5WxC
# Pause / Resume
./scripts/play-on-devialet.sh pause
./scripts/play-on-devialet.sh resume
# Volume
./scripts/play-on-devialet.sh volume 50
# Status
./scripts/play-on-devialet.sh status
Requirements
- Devialet speaker with DOS 2.14+ or SDOS 1.3+ firmware
- Spotify integration (optional):
- Spotify desktop app running and logged in
playerctlandxdotoolinstalled (sudo apt install playerctl xdotool)- Speaker set as Spotify Connect device (select once in Spotify app)
How It Works
- Searches for track via Spotify desktop app (D-Bus/MPRIS)
- Opens track URI in Spotify
- Spotify Connect streams to Devialet
- Devialet API controls playback/volume
Direct Devialet API
For non-Spotify control (replace $DEVIALET_IP with your speaker's IP):
# Volume (0-100)
curl -X POST -H "Content-Type: application/json" \
-d '{"volume": 50}' \
"http://$DEVIALET_IP/ipcontrol/v1/systems/current/sources/current/soundControl/volume"
# Play/Pause
curl -X POST "http://$DEVIALET_IP/ipcontrol/v1/groups/current/sources/current/playback/play"
curl -X POST "http://$DEVIALET_IP/ipcontrol/v1/groups/current/sources/current/playback/pause"
# Mute/Unmute
curl -X POST "http://$DEVIALET_IP/ipcontrol/v1/groups/current/sources/current/playback/mute"
curl -X POST "http://$DEVIALET_IP/ipcontrol/v1/groups/current/sources/current/playback/unmute"
# Get status
curl -s "http://$DEVIALET_IP/ipcontrol/v1/devices/current" | jq .
Supported Models
- Phantom I, Phantom II, Phantom Reactor (DOS 2.14+)
- Dialog
- Mania (SDOS 1.3+)
API Reference
See references/api.md for complete endpoint documentation.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install devialet - 安装完成后,直接呼叫该 Skill 的名称或使用
/devialet触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Devialet Speaker Control 是什么?
Control Devialet Phantom speakers via HTTP API. Use for: play/pause, volume control, mute/unmute, source selection, and speaker status. Requires DOS 2.14+ firmware. Works with Phantom I, Phantom II, Phantom Reactor, and Dialog. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1915 次。
如何安装 Devialet Speaker Control?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install devialet」即可一键安装,无需额外配置。
Devialet Speaker Control 是免费的吗?
是的,Devialet Speaker Control 完全免费(开源免费),可自由下载、安装和使用。
Devialet Speaker Control 支持哪些平台?
Devialet Speaker Control 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Devialet Speaker Control?
由 JGM2025(@jgm2025)开发并维护,当前版本 v1.0.0。