sonoscli

Control Sonos speakers via command line for discovery, playback, volume, and grouping.

375|38|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/CraftOS-dev/CraftBot --skill sonoscli-craftos-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/CraftOS-dev/CraftBot/tree/main/skills/sonoscli
Command: npx skills add https://github.com/CraftOS-dev/CraftBot --skill sonoscli-craftos-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to control Sonos speakers, simplifying tasks like discovering devices, checking status, playing media, and managing volume and groups.

Core Features & Use Cases

  • Device Discovery: Automatically find Sonos speakers on your local network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Management: Adjust the volume for specific rooms or groups.
  • Grouping: Create and manage speaker groups for synchronized playback.
  • Favorites & Queue: Access and control your Sonos favorites and playback queue.
  • Spotify Integration: Search and play music from Spotify via SMAPI.

Quick Start

Use the sonoscli skill to discover all available Sonos speakers on the network.

Frequently Asked Questions about sonoscli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Sonos speakers from the command line?

You can control Sonos speakers from the command line by installing the sonos CLI tool, which enables device discovery, playback management, volume adjustment, and speaker grouping directly from your terminal.

Can I play Spotify music on Sonos speakers using a CLI tool?

Yes, you can play Spotify music on Sonos speakers using the sonos CLI tool, which supports searching and playing media from Spotify via SMAPI integration for direct playback control.

How do I group Sonos speakers for synchronized playback via terminal?

You can group Sonos speakers for synchronized playback by using the grouping commands in the sonos CLI tool, which allows you to create and manage speaker groups across your local network.

Do I need to install any dependencies to manage Sonos playback from the command line?

Yes, you need the sonos CLI tool installed and accessible in your system's PATH to manage Sonos playback, volume, and device discovery from the command line.

What is the best way to discover Sonos devices on a local network?

The best way to discover Sonos devices on a local network is using the sonos CLI tool's device discovery feature, which automatically finds all available Sonos speakers connected to your network.

Can I manage Sonos favorites and playback queue from the terminal?

Yes, you can manage Sonos favorites and playback queue from the terminal using the sonos CLI tool, which provides commands to access and control your saved favorites and current queue.