https://github.com/pseitz/soundonreturn
Plays sound on a yamaha receiver, when mobile phone connects with wlan
https://github.com/pseitz/soundonreturn
Last synced: 28 days ago
JSON representation
Plays sound on a yamaha receiver, when mobile phone connects with wlan
- Host: GitHub
- URL: https://github.com/pseitz/soundonreturn
- Owner: PSeitz
- Created: 2014-09-08T20:36:16.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-11T10:02:12.000Z (over 11 years ago)
- Last Synced: 2025-02-26T17:49:30.700Z (over 1 year ago)
- Language: JavaScript
- Size: 293 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SoundOnReturn
=============
Plays sound on a yamaha receiver, when mobile phone connects with wlan
## Prerequisite/Inall
- [Install Nodejs](http://nodejs.org/)
- Execute `npm install soundonreturn`
## 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
```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
```javascript
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"
});
```