node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป


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.


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