sonoscli is a modern command-line interface for controlling Sonos speaker systems directly from the terminal using local network communication protocols. Written in Go, the tool allows users to discover, group, and manage Sonos devices without relying on the official desktop or mobile applications. It supports playback controls, room grouping, queue management, favorites, live event subscriptions, and Spotify integration while maintaining a scriptable interface suitable for automation workflows. The project emphasizes reliability through SSDP discovery, topology awareness, and subnet scan fallbacks to ensure consistent device detection across different network environments. It also provides structured outputs such as JSON and TSV, making it useful for scripting, monitoring, and integration with external automation systems. Designed for developers and power users, sonoscli combines low-level control with a streamlined user experience optimized for terminal environments.

Features

  • Terminal-based Sonos speaker management
  • Reliable network discovery and topology awareness
  • Playback and queue control commands
  • Room grouping and scene management
  • Spotify integration without direct credentials
  • JSON and TSV output for automation workflows

Project Samples

Project Activity

See All Activity >

Categories

Sound/Audio

License

MIT License

Follow sonoscli

sonoscli Web Site

Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sonoscli!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Sound Audio

Registered

2026-05-06