A Yamaha Network Control Plugin using HTTP to try out - it uses URL calls rather than a fixed socket connection to operate the AVR.
This plugin has the prime advantage of not requiring a Luup engine restart, if the Yamaha AVR loses mains power. Direct socket connections (as I understand it) cannot recover from a power loss of the remote device - apparently due to the design of the firmware, when using the functions in the luup io module: as of Vera Firmware Version 1.5.622 - Feb 2014.
This plugin has been tested using the Vera U15 interface and Firefox 26 only.
Installation for U15:
Go to U15–>APPS–>Develop Apps–>Luup files and upload the five files (ensuring to exclude the associated PDF).
Select the “Create device” button on the same page. Enter ‘D_YamahaRxHTTP1.xml’ into the ‘Upnp Device Filename’ entry box and select the ‘Create device’ button immediately below.
Do a reload(s) of the engine and the browser and once the device is established, go to the Advanced Tab and enter the IP address of the receiver. Do some more reload(s) of the engine and the browser!
This fixes a bug whereby the zone count would soon contain incorrect values stopping the plugin from functioning.
Existing users just need to update the L_YamahaRxHTTP1.lua and D_YamahaRxHTTP1.json file. The PDF has also been updated.
A link has been added for the “vTuner internet radio guide” as used by the Yamaha AVR.
[ul][li]The plugin functions and parameters are case sensitive.[/li]
[li]Read the PDF and look at the linked spreadsheet in the PDF.[/li][/ul]
The attached PDF has further details on usage. The attached graphic shows the Actions available and their parameters. Bug reports welcome.
- Minor fixes and additions
This code is on GitHub here:
You can install the plugin from the ‘Alternate App Store’, which works together with ‘ALTUI’:
Delete any existing ‘Vera Plugin Yamaha RX HTTP’ device before installing from the ‘Alternate App Store’.
Note that ‘ALTUI’ is highly recommended to all users.