Yamaha-nodejs
A node module to control your yamaha receiver. Tested with RX-V775, should work with all yamaha receivers with a network interface.
Install
npm install yamaha-nodejs
Example
var YamahaAPI = ;var yamaha = "192.168.0.100";yamaha;
Prerequisites
- To power on the yamaha, network standby has to be enabled
- The Yamaha reveiver is stateful. Some commands only work work if the receiver is in the right state. E.g. to get web radio channels, the "NET RADIO" input has to be selected.
Methods
var yamaha = "192.168.0.100"yamahayamahayamahayamaha //Volumeyamahayamahayamahayamahayamaha //Extended Volume Settingsyamaha //-60 to 60 (may depend on model)yamaha //-60 to 60 (may depend on model)yamaha //-60 to 60 (may depend on model)yamaha //0 to 5 (may depend on model)yamaha //0 to 3 (may depend on model)yamahayamahayamahayamahayamahayamaha //Playbackyamahayamahayamahayamahayamaha //Switch Inputyamahayamaha //Party Modeyamahayamahayamahayamaha //Basicyamaha //Get Infoyamaha yamahayamahayamahayamaha // FM Tuneryamahayamaha //Select Menu Itemsyamahayamaha // Single Commands, receiver has to be in the right stateyamahayamaha // Chained Commands, they ensure the receiver is in the right stateyamaha
Zones
The zone parameter is optional, you can pass a number or a string
Promises
All these methods return a promise:
yamaha
Execute Tests
mocha mochatestjs --ip 192168025
Discovery
If you know how to discover YAMAHA receivers, please contact me or create a pull request. I would like to integrate that function.