sonoscli

Control Sonos speakers for discovery, playback, volume, and grouping via sonos CLI.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/RobbyMo81/assistantrobby --skill sonoscli-robbymo81
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/RobbyMo81/assistantrobby/tree/main/skills/sonoscli
Command: npx skills add https://github.com/RobbyMo81/assistantrobby --skill sonoscli-robbymo81

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a simple command-line interface to discover and control Sonos speakers on the local network, removing the need to juggle multiple apps or complex integrations for playback, status checks, and group management.

Core Features & Use Cases

  • Device Discovery & Status: discover speakers and retrieve status and IP details for targeted control.
  • Playback Control & Queue Management: play, pause, stop, and manage the queue for named speakers.
  • Volume and Grouping: set volume levels, create and manage speaker groups (join/unjoin/party/solo).
  • External Search: perform Spotify searches via SMAPI when Spotify Web API credentials are configured.
  • Use Case: automate a morning routine to group kitchen and living room speakers and start a favorite playlist at a specific volume.

Quick Start

Use the sonoscli skill to discover Sonos speakers on the local network and play the 'Favorites' playlist on the Kitchen speaker.

Frequently Asked Questions about sonoscli

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

FAQPage Schema
How do I control Sonos speaker playback from a command line interface?

To control Sonos speaker playback from a command line interface, you can use this Skill to play, pause, stop audio, and manage queues for named speakers on your local network.

Can I group Sonos speakers together using command line automation?

Yes, you can group Sonos speakers together using command line automation to create, join, unjoin, party, and solo speaker groups across your local network.

Do I need to install the sonos CLI binary to discover devices on my local network?

Yes, you need the sonos CLI binary installed and accessible to discover devices. If SSDP discovery fails, you must provide explicit speaker IP addresses for targeted control.

How does Spotify search work with Sonos speaker control?

Spotify search works with Sonos speaker control via SMAPI searches, which requires optional Spotify Web API credentials to be configured for finding and playing audio content.

What's the best way to automate a morning routine with Sonos speakers?

The best way to automate a morning routine with Sonos speakers is using command line control to group specific speakers, set volume levels, and start a favorite playlist automatically.

Why does Sonos device discovery fail on my local network?

Sonos device discovery fails on local networks when SSDP discovery does not return results, requiring you to specify explicit speaker IP addresses to establish control.