sonos-casting

Discover, group, and control Sonos speakers via UPnP and mDNS.

108|9|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/ad-repo/nullplayer --skill sonos-casting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonos-casting
Source: https://github.com/ad-repo/nullplayer/tree/main/skills/sonos-casting
Command: npx skills add https://github.com/ad-repo/nullplayer --skill sonos-casting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a guided, robust workflow to discover, group, and control Sonos speakers from NullPlayer, enabling seamless multi-room playback and coordinator management.

Core Features & Use Cases

  • Device discovery: SSDP/mDNS discovery of Sonos speakers and room topology for quick setup.
  • Group casting: Create and manage multi-room groups, transfer coordinator, and keep rooms in sync.
  • Custom UI integration: Checkbox-based room selection in the context menu to prepare multi-room casts.
  • Reliable playback: Fire-and-forget playback commands with resilience to transient SOAP delays, plus state polling and recovery.
  • Local/remote streaming: Proxied local files and remote streams via an embedded LocalMediaServer for reliable Sonos access.

Quick Start

Open NullPlayer, navigate to Output → Sonos, select rooms, and click Start Casting to begin multi-room playback.

Frequently Asked Questions about sonos-casting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cast audio to multiple Sonos speakers in sync?

You can cast to multiple Sonos speakers by using SSDP and mDNS to discover devices, then applying SOAP commands to group them and synchronize playback across rooms. The Skill manages coordinator transfer and resilient fire-and-forget commands to maintain sync.

How does UPnP and mDNS discovery work for Sonos group management?

UPnP SSDP and mDNS protocols scan your local network to locate Sonos speakers and fetch their group topology. The Skill uses this data to map available devices and enable checkbox-based multi-room group selection and coordinator management.

Can I stream local files to Sonos speakers over a network?

Yes, you can stream local files to Sonos using an embedded LocalMediaServer that proxies local files and remote streams. This ensures reliable AVTransport access by providing a consistent URI for Sonos playback without direct network share limitations.

What's the best way to handle SOAP delays when controlling Sonos playback?

Handling transient SOAP delays is best achieved through fire-and-forget playback commands combined with state polling and recovery. This resilient approach ensures Sonos AVTransport and GroupRenderingControl commands execute reliably despite temporary network latency.

How do I transfer the coordinator role in a Sonos multi-room group?

You can transfer the Sonos group coordinator role by issuing SOAP commands that redefine the group topology. The Skill automates this coordinator transfer process to maintain synchronized multi-room playback when changing the leading speaker.