sonoscli

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Controlling Sonos speakers across a local network can be tedious and error-prone; this Skill provides a lightweight CLI to discover devices, check status, and control playback, volume, and grouping from scripts or terminal.

Core Features & Use Cases

  • Discover Sonos devices on the local network.
  • Check status, play, pause, stop, and adjust volume for a named speaker or group.
  • Group or ungroup zones to synchronize playback across rooms.
  • Script and automate common tasks in home-automation flows.

Quick Start

Discover your speakers with the CLI and start playback on a chosen zone.

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 to discover local devices, check status, and manage playback, volume, and grouping across multiple zones.

Can I group Sonos zones together using a CLI script?

Yes, you can group and ungroup Sonos zones to synchronize playback across rooms by issuing CLI commands within your home automation and multi-room setup scripts.

Do I need any specific binaries installed to manage Sonos playback via CLI?

Yes, managing Sonos playback via CLI requires the 'sonos' binary to be available on the host machine to handle device discovery and control commands.

What happens if a Sonos speaker is unreachable during CLI control?

If a Sonos speaker is unreachable during CLI control, the system includes failover handling to manage the error and prevent script failures when issuing playback or volume commands.

How do I discover Sonos devices on a local network for automation?

To discover Sonos devices on a local network for automation, you issue a simple CLI command that scans the network and lists available speakers for status checks and playback control.