sonoscli

Control Sonos speakers on the local network via CLI commands.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Zentin-L/Masterbot --skill sonoscli-zentin-l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/Zentin-L/Masterbot/tree/main/skills/sonoscli
Command: npx skills add https://github.com/Zentin-L/Masterbot --skill sonoscli-zentin-l

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables scriptable, local-network control of Sonos speakers without relying on a GUI or mobile app.

Core Features & Use Cases

  • Discover devices on the network and query their status.
  • Play, pause, and adjust volume on a named speaker or group.
  • Manage grouping of speakers across rooms for synchronized playback.

Quick Start

Run the command 'sonos discover' to list available speakers.

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 via CLI lets you discover devices, check status, play, pause, adjust volume, and manage grouping across rooms without needing a mobile app or GUI.

What's the best way to script Sonos playback and volume adjustments?

Scripting Sonos playback and volume is best handled via a CLI that accepts speaker identifiers by name, allowing you to programmatically play, pause, and adjust volume levels on local network devices.

Can I group Sonos speakers across rooms using terminal commands?

Yes, you can group Sonos speakers across rooms using terminal commands to synchronize playback throughout your home, managing which speakers play together directly from your local environment.

Do I need a mobile app to discover Sonos devices on my local network?

No, you do not need a mobile app; running a CLI discovery command scans your local network and lists available speakers by name, enabling immediate status checks and playback control.

Does Sonos CLI control work without a graphical interface?

Yes, Sonos CLI control operates entirely without a graphical interface, exposing command-line operations for device discovery, playback, volume adjustment, and grouping that integrate directly with your local environment.

Why use command line tools instead of the Sonos app for speaker control?

Command line tools enable scriptable, local-network control of Sonos speakers, allowing automated volume adjustments and playback triggers without manual GUI interaction or mobile app dependency.