Skip to content

Node.JS deamon to limit the Volume of a Sonos Speaker to a defined level

Notifications You must be signed in to change notification settings

zenturacp/SonosVolumeLimit

Repository files navigation

Sonos Volume Controller (Parental Control)

A simple Kids' Parental control of the MAX volume of a Sonos Speaker

I saw the forum post on Sonos.com and was very annoyed that there was no easy fix to this problem.

Requires Node.JS and edit the controller.js file and adjust the Name of the speaker you want to control.

Simple start with "node controller.js" and it will subscribe to event from the speaker.

Configuration

You can modify all variables in the top of the controller.js file

  • const DeviceName = (The Name of your speaker)
  • const MaxVolume = (Max volume in Percent 1-100)

Todo / Roadmap

  • Better error handling on DeviceDiscovery
  • It sometimes causes an error when the script starts
  • WebInterface
  • Multi Speaker (More than just 1 speaker monitored)

Author

Christian Pedersen Mail: [email protected] Twitter: zentura_cp

About

Node.JS deamon to limit the Volume of a Sonos Speaker to a defined level

Resources

Stars

Watchers

Forks

Packages

No packages published