Skip to content

wiegraff13/node-sonos-discovery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sonos-discovery

This is a simplification of the Sonos implementation of UPnP for the node.js stack. This library will allow you to interact with your sonos system with simple commands like play, pause, next etc, but is expected to be ran at all times because it keeps track of the players.

0.9.0 is totally rewritten with another XML parser. This might break things. I've also added better subscription handling, according to the specification.

For example integrations, please see the following projects:

https://github.com/jishi/node-sonos-http-api

https://github.com/jishi/node-sonos-web-controller

Options

You can pass a settings object to the discovery function, possible options are:

  • log: (object) logger instance
  • disableIpDiscovery: (boolean) if set to true, sonos-discovery will listen on 0.0.0.0 to detect all sonos players, else sonos-discovery will listen on all detected IPv4 interfaces (excluding localhost)

About

Simplified framework for Sonos built on node.js

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 100.0%