npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-sonos

v1.1.2

Published

The n8n sonos node allows users to control their sonos system using n8n automation workflows.

Readme

workflow

n8n-nodes-sonos

This is the repository for the n8n sonos node.

Setup

Prerequisite: You have to have an n8n node running. It can be either a cloud instance or a locally running instance in a docker container, e.g. on a Synology NAS.

Add node to n8n

Add the n8n-nodes-sonos node to your n8n instance. ScreenRecording

Setup Sonos Developer Account

In order to use the Sonos node, you have to create a Sonos Developer Account and create a new Control Integration. The created credentials will be required for the creation of the n8n credential. using-oauth

In n8n create a new credential for the Sonos node and copy the redirect URL. Make sure you copy the correct redirect URI into the allowed redirect URIs of your Sonos integration in your developer account.

Afterwards you should be able to create workflows using the Sonos node.

Features and possible use cases

Currently supported features:

  • Group all players
  • Set Group Volume
  • Play
  • Pause
  • Toggle Play/Pause
  • Set Group Volume
  • Play Favorite
  • Play File from URL
  • Skip Song
  • Previous Song
  • Turn On/Off TV (requires supported device)
  • Start Home Theater Playback
  • Set Home Theater Options (night mode / dialog enhancement)

Possible use cases

  • Every day at 10pm set the home theater to night mode and enhance dialogs, every morning switch back
  • Every morning at 9 turn on TV, start TV playback, group the players and set volume to 30
  • If a webhook gets called stop/start the music
  • If I receive money on my paypal business account, group all players, set the volume to 50 and play a file from a URL

Running locally / Development

First install n8n globally

npm install n8n -g

Then build and link this library:

npm run build
npm link

Afterwards find out where n8n was installed

which n8n

Go to the folder that is listed and type:

npm link n8n-nodes-sonos
n8n start

Afterwards you can use the node in your locally running instance

License

MIT