Skip to main content

Gradually fade the volume of a Sonos group on your LAN.

Project description

sonos-fade

Gradually fade the volume of a Sonos group on your LAN.

Discovers Sonos speakers via SSDP, lets you pick a group, and ramps the volume to a target level one step at a time — handy for nudging music down at the end of an evening without a jarring cut.

Install

pip install sonos-fade

Usage

Interactive (prompts for group and target volume):

sonos-fade

List discovered groups:

sonos-fade list

Non-interactive fade:

sonos-fade fade --group "Living Room" --target 5 --seconds-per-step 2

Options

  • --group — group label or coordinator name. Prompts if omitted or no match.
  • --target — target volume (0–100). Prompts if omitted.
  • --seconds-per-step — seconds between each 1-unit volume change.

Requirements

  • Python 3.10+
  • Sonos speakers reachable on the local network

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sonos_fade-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonos_fade-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file sonos_fade-0.1.0.tar.gz.

File metadata

  • Download URL: sonos_fade-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for sonos_fade-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e2db08af95ec5e1c4c1230af0b1ae792b41824fbc68e7f2c0d546de669f9dc99
MD5 050710230c77d2b9a1224c4f7a87d714
BLAKE2b-256 fc7986890d6bd053cd331fbd7be307c3beab62553205979007ab9ae8525be0da

See more details on using hashes here.

File details

Details for the file sonos_fade-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sonos_fade-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for sonos_fade-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32e7d2812ec6a2892ad60b047d4cc38c2f74b26acb34af07ee0fce219b97edaf
MD5 f4de3650be988321d5a6328c3a300b85
BLAKE2b-256 22b9d9bd3b0b774ad181a033d19431f8a258e3e5f58a3e9f383d506f6a20ab8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page