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 stringTarget speaker by name (matched against topology).
--ip stringTarget speaker by IP — skips discovery.
--format stringplainOutput format: plain, json, or tsv.
--timeout duration5sDiscovery and per-call timeout.
--debugoffPrint SOAP traces to stderr.

#Discovery & status

#Playback

#Volume & mute

#Grouping

#Queue

#Favorites & scenes

#Spotify & SMAPI

#Local config