devialet
由 jgm2025 提供
Smart Home & IoT简介
Control Devialet Phantom speakers via HTTP API.
描述
该技能的功能
Controls Devialet Phantom and Mania speakers over a local network via HTTP API. Supports play/pause, volume, mute, source selection, and status queries. Optionally integrates with Spotify Connect for track search and playback.
Enables direct local-network control without the Devialet app, and supports scripting and automation that the official app does not expose.
何时使用
- Playing a specific song on a Devialet speaker by name
- Adjusting speaker volume from the command line
- Pausing or resuming playback without touching the app
- Checking what track is currently playing
- Muting the speaker during a call
示例工作流
User asks: Play Drake - God's Plan on my speaker
- 1
Reads DEVIALET_IP from environment or TOOLS.md
- 2
Runs play-on-devialet.sh with the track name
- 3
Script searches for the track via Spotify desktop app over D-Bus/MPRIS
- 4
Opens the Spotify URI to begin playback on the speaker
- 5
Spotify Connect streams audio to the Devialet device
Track begins playing on the Devialet speaker via Spotify Connect
前置要求
- DEVIALET_IP environment variable (speaker's local network IP)
- Devialet speaker with DOS 2.14+ or SDOS 1.3+ firmware
- Spotify desktop app (for Spotify integration, optional)
- playerctl installed via apt (for Spotify integration, optional)
- xdotool installed via apt (for Spotify integration, optional)
安装
clawhub install jgm2025/devialet运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。