sonoscli

Control Sonos speakers via command-line interface with the sonos binary.

5.1k|1.2k|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/linuxhsj/openclaw-zero-token --skill sonoscli-linuxhsj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/linuxhsj/openclaw-zero-token/tree/main/skills/sonoscli
Command: npx skills add https://github.com/linuxhsj/openclaw-zero-token --skill sonoscli-linuxhsj

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 manage and control Sonos speakers on your local network, simplifying tasks like playback, volume adjustment, and speaker grouping.

Core Features & Use Cases

  • Discover Speakers: Automatically find Sonos devices on your network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Adjustment: Set specific volume levels for your speakers.
  • Grouping Management: 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 adjust the volume of a specific speaker without needing the official app.

Quick Start

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

You can control Sonos speakers via a command-line interface to manage playback, adjust volume, and group devices on your local network. This requires the 'sonos' binary to be installed and accessible in your system's PATH.

Can I group Sonos speakers together for synchronized audio without using the official app?

Yes, you can group and ungroup Sonos speakers for synchronized audio playback across multiple rooms directly from the command line. This allows you to play the same music throughout your home without needing the official app.

What's the best way to discover Sonos devices on my local network?

The best way to discover Sonos devices on your local network is to use the speaker discovery feature. This function automatically finds all available Sonos devices connected to your local network.

Do I need the official Sonos app installed to adjust speaker volume?

No, you do not need the official Sonos app to adjust speaker volume. You can set specific volume levels for individual or grouped speakers directly using command-line interface controls.

Why does the sonoscli tool require a specific binary in the system PATH?

The tool requires the 'sonos' binary in the system PATH because it acts as the underlying engine executing the local network commands. Without this prerequisite installed and accessible, the command-line interface cannot communicate with the speakers.

Are there limitations to controlling Sonos playback via a command-line interface?

The command-line interface supports core playback functions like play, pause, and stop for individual or grouped speakers. Its scope is limited to local network control, meaning it does not replace app-based account management or streaming service configuration.