Commands

Command Reference

Command Reference

The full surface of sonos. Every page documents the command, its flags, examples, and what it talks to on the speaker.

Global flags apply to every command:

FlagDefaultWhat it does
--name string—Target speaker by name (matched against topology).
--ip string—Target speaker by IP — skips discovery.
--format stringplainOutput format: plain, json, or tsv.
--timeout duration15sDiscovery and per-call timeout.
--debugoffPrint SOAP traces to stderr.

#Discovery & status

#Playback

#Volume & mute

#Grouping

#Queue

#Favorites & scenes

#Spotify & SMAPI

#Local config