Skip to content

PSeitz/SoundOnReturn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoundOnReturn

Plays sound on a yamaha receiver, when mobile phone connects with wlan

Prerequisite/Inall

Available Options

  • ip
  • mac_adresses - Whitelist of mac-adresses, all accepted if empty
  • volume (e.g. -500)
  • selectSongNumberFromUsb
  • selectWebRadioFavoriteChannel

Usage

Start From The CommandLine

Create a config file, e.g. conf.json with selected options. Then start it with:

node sor-starter.js -c /path/to/conf.json
{
    "ip":"Yamaha Ip-Adress",
	"mac_adresses":["FF:FF:FF:FF:FF:FF","AA:AA:AA:AA:AA:AA"], // Whitelist of mac-adresses, all if empty
	"selectWebRadioFavoriteChannel":1
	"activationHours": "12-24"
}
Usage From Other Node Modules
    var SoundOnReturn = require('soundonreturn');
new SoundOnReturn({
    ip:"192.168.0.25",
    selectWebRadioFavoriteChannel:1,
    mac_adresses:["90:72:40:6c:e1:bc"] // Whitelist of mac-adresses, all accepted if empty,
    activationHours: "12-24"
});

About

Plays sound on a yamaha receiver, when mobile phone connects with wlan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published