sonoscli

Control Sonos speakers from the command line for playback and grouping.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/coltonbatts/Loubot --skill sonoscli-coltonbatts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/coltonbatts/Loubot/tree/main/skills/sonoscli
Command: npx skills add https://github.com/coltonbatts/Loubot --skill sonoscli-coltonbatts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows users to easily control their Sonos speakers directly from the command line, managing playback, volume, and speaker grouping without needing the official Sonos app.

Core Features & Use Cases

  • Discover Speakers: Automatically find Sonos devices on your local network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Adjustment: Set specific volume levels for speakers.
  • Grouping Management: Group and ungroup speakers for synchronized audio.
  • Queue Management: Control the music queue, including adding and clearing tracks.
  • Favorites & Spotify: Access Sonos favorites and search Spotify.

Quick Start

Discover all Sonos speakers on your network by running the command sonos discover.

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 using a CLI tool to discover devices, manage playback, adjust volume, and handle speaker grouping directly without the official app.

Can I group Sonos speakers together for synchronized audio via CLI?

Yes, you can group and ungroup Sonos speakers for synchronized audio playback via CLI, enabling coordinated control of multiple devices across your local network.

How do I discover Sonos devices on my local network without the app?

To discover Sonos devices on your local network without the app, run the automated discovery command to find all available speakers ready for CLI control.

Does Sonos CLI support searching Spotify and accessing favorites?

Yes, Sonos CLI supports searching Spotify and accessing favorites via SMAPI integration, allowing you to control media sources and queue tracks directly from the terminal.

What are the limitations of managing Sonos playback via command line?

Managing Sonos playback via command line requires a stable local network connection to discover and control devices, and relies on SMAPI integration for accessing external services like Spotify.

Do I need the official Sonos app to manage speaker volume and queue?

No, you do not need the official Sonos app to manage speaker volume and queue, as CLI commands allow you to set specific volume levels and add or clear tracks independently.