Listen to and control Logitech Media Server (previously Squeezebox Server).
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
example.js
index.js
package.json
squeezeplayer.js

README.md

Just some code I wrote for my home automation system. Connects javascript to a Logitech Media Server (formerly Squeezebox Server). It provides a "telnet server" which I just connect to using net.createConnection.

See example.js for how to use.

Collects information about known players and then allows:

  • monitoring of volume, wifi signal strength, power status (on/off)
  • switch on/off by calling simple functions
  • play/pause/stop
  • sending arbitrary commands through the telnet interface

I used this together with my [xBee] module to play sounds when my back door opened, and so on.

Licence

Creative Commons License
This work by Richard Morrison is licensed under a Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales License.
Based on a work at github.com.