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
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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