sonoscli

Control Sonos speakers via command-line interface over local network.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/wangqianCAI/OBI --skill sonoscli-wangqiancai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/wangqianCAI/OBI/tree/main/skills/sonoscli
Command: npx skills add https://github.com/wangqianCAI/OBI --skill sonoscli-wangqiancai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires go.

What problem does it solve?

This Skill eliminates the need for manual app navigation by providing a direct command-line interface to manage Sonos speakers, grouping, and playback across your local network.

Core Features & Use Cases

  • Device Discovery: Automatically locate and identify Sonos speakers on the local network.
  • Playback Control: Execute play, pause, stop, and volume adjustments for specific zones.
  • Advanced Management: Handle speaker grouping, favorite management, and queue manipulation.
  • Use Case: Quickly set the volume in the kitchen or group multiple speakers for a party without opening the Sonos mobile application.

Quick Start

Use the sonoscli skill to discover all available speakers on the network and then set the volume of the Kitchen speaker to 15.

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?

Yes, you can adjust volume and manage playback on Sonos speakers via the command line. The CLI executes play, pause, stop, and volume adjustments for specific zones directly through local network communication, bypassing manual app navigation.

Do I need a specific environment to automate Sonos audio control?

You need the Go environment and the sonos binary installed to automate Sonos audio control. The CLI requires local network access to communicate with hardware via SSDP and SMAPI protocols for device discovery and playback operations.

Can I group multiple Sonos speakers for a party using a CLI?

Yes, you can group multiple Sonos speakers using the CLI. It handles advanced management tasks like speaker grouping and queue manipulation, allowing you to quickly group multiple speakers for a party without opening the Sonos mobile application.

What is the best way to automate smart home audio workflows for Sonos?

The best way to automate smart home audio workflows for Sonos is using a command-line interface. It provides direct local network control over device discovery and playback management, seamlessly integrating Sonos hardware into your smart home automation workflows.

Why does my Sonos CLI device discovery fail on the local network?

Sonos CLI device discovery fails if local network access is blocked, as the tool uses SSDP and SMAPI protocols to locate hardware. Ensure the sonos binary is correctly installed and your network permits local device communication.