sonoscli

Control Sonos speakers via command line for playback, volume, and groups.

19.0k|5.6k|Updated Jul 9, 2024
One-click install
npx skills add https://github.com/elizaOS/eliza --skill sonoscli-elizaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/elizaOS/eliza/tree/main/packages/skills/skills/sonoscli
Command: npx skills add https://github.com/elizaOS/eliza --skill sonoscli-elizaos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sonos, and includes references (resource) components.

What problem does it solve?

This Skill allows users to control their Sonos speakers directly from the command line, simplifying tasks like discovering speakers, checking status, playing music, and managing volume and groups.

Core Features & Use Cases

  • Speaker Discovery: Automatically find Sonos speakers on your local network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Management: Adjust the volume for specific speakers.
  • Grouping: Create and manage speaker groups for synchronized audio.
  • Queue Management: Control the playback queue, add, and clear tracks.
  • Favorites & Spotify Integration: Access Sonos favorites and search Spotify via SMAPI.

Quick Start

Use the sonoscli skill to discover all available Sonos 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 from the command line by using this Skill to discover devices, manage playback, adjust volume, and handle speaker grouping directly through terminal commands.

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

Yes, you can group Sonos speakers for synchronized audio playback. The Skill supports creating and managing speaker groups, allowing you to control grouped devices simultaneously from the command line.

Do I need the sonos CLI tool installed to discover and manage my speakers?

Yes, you need the sonos CLI tool installed and accessible in your system's PATH. This prerequisite allows the Skill to execute network discovery, status checks, and playback commands for your speaker ecosystem.

How do I search and play Spotify music on Sonos using a terminal?

You can search Spotify via SMAPI to find tracks and add them to your playback queue. This Skill integrates Spotify search capabilities, allowing you to initiate music playback directly from the command line.

What's the best way to manage Sonos favorites and playback queues without the mobile app?

The best way to manage Sonos favorites and playback queues without the mobile app is using this Skill, which provides CLI commands to access favorites, add tracks, and clear the playback queue.

Are there limitations when using a CLI to control Sonos speaker groups on a local network?

A key limitation is that the Skill requires the sonos CLI tool to be properly configured in your system PATH, and all speaker discovery, grouping, and playback control operations depend on local network connectivity with your Sonos devices.