sonoscli

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

12|3|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/ApiliumCode/mayros --skill sonoscli-apiliumcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/ApiliumCode/mayros/tree/main/skills/sonoscli
Command: npx skills add https://github.com/ApiliumCode/mayros --skill sonoscli-apiliumcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and 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 speaker groups.

Core Features & Use Cases

  • Device Discovery: Automatically find Sonos speakers on your local network.
  • Playback Control: Play, pause, stop, and control the volume of individual or grouped speakers.
  • Grouping Management: Easily group and ungroup speakers for synchronized audio.
  • Use Case: Quickly group your living room and kitchen speakers to play the same music throughout your home, or pause all speakers simultaneously when you leave the house.

Quick Start

Use the sonoscli skill to discover all available Sonos speakers on your 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?

Sonos speaker control from the command line involves discovering devices, managing playback, adjusting volume, and grouping speakers on a local network using the sonos CLI tool.

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

Grouping Sonos speakers via CLI allows you to synchronize audio playback across multiple rooms by grouping and ungrouping devices directly through command line instructions.

Do I need Go to install the sonos CLI tool for home automation?

Installing the sonos CLI tool for home automation may require Go, enabling device discovery and playback control for Sonos speakers on your local network.

Does Sonos CLI support searching Spotify and managing playback queues?

The Sonos CLI supports advanced media playback features including managing favorites, controlling playback queues, and executing Spotify searches via SMAPI integration on your local network.

Why is my Sonos speaker discovery not working in Docker or macOS?

Sonos speaker discovery may fail in Docker or macOS due to local network permission restrictions, requiring specific network access configurations to successfully locate and control devices.