Simple SmartApp and Device Type to provide integration for a Yamaha Network Receiver with the following features… and now with MusicCast support!
Zone Status (on/off)
Zone Source
Zone Source Control
Zone Volume Control
NOTE: volume control will mimic the volume levels of the Yamaha receiver using a range of -80…16; if you want to use a range of 1…100, you will need to swap 3 lines in the device type code
Zone Mute (on/off)
Zone Party Mode (on/off)
** Update 03/12/2021 **
The short story is that this integration is NO LONGER BEING MAINTAINED; please feel free to clone the repo and carry it forward!
The long story is that ever since ST rolled out the new app and basically broke support for tons of integrations (including this one), I waited, waited and tried many times to find a good enough solution for all of us to enjoy. Unfortunately that never came and I decided earlier this year to explore other home automation options… and I found one that fits the bill perfectly… Home Assistant. The system is stable, flexible and growing in the way all of us had hoped ST would. The great news about Home Assistant is that there are tons of integrations available, including support for this one: Yamaha Network Receivers - Home Assistant. For those of you who are worried about your Z-Wave/Zigbee devices, what I have done is continue to use the ST Hub as the Z-Wave/Zigbee bridge and use the Home Assistant - SmartThings integration to control everything. I can’t tell you how happy I have been with the Home Assistant platform, capabilities, community, everything… it’s pretty amazing. If you’re like me and frustrated with the current status of ST, give it a look… you won’t be disappointed. It’s been a lot of fun!
Zone Sources and Source Naming: if you want to change the number of sources or names for the sources on the tiles, search and replace Source 1, Source 2, Source 3, Source 4, Source 5, or Source 6 with the desired name (there should be 2 replacements for each input source).
Add the Yamaha Network Receiver SmartApp from the SmartThings marketplace
Configure the SmartApp
SmartThings Hub: REQUIRED
Yamaha Receiver Name: REQUIRED unique name for your Yamaha Network Receiver (UPDATE 02/25/17: added support for multiple receivers)
Yamaha Receiver IP: REQUIRED to connect to the Yamaha Network Receiver
Yamaha Receiver Zones: REQUIRED zones that your Yamaha Network Receiver is capable of supporting (UPDATE 11/28/16: added support for Zone_B)
Install will setup the SmartApp and create Devices for each zone
Configure your Devices/Zones
Open the Yamaha: Zone Device
Tap the gear icon in the top right to edit the device
Customize the Zone Sources to configure available Input Sources; supported sources are device specific but generally include the following: AUDIO1, AUDIO2, AV1, AV2, AV3, AV4, AV5, AV6, Bluetooth, DOCK, HDMI1, HDMI2, HDMI3, HDMI4, HDMI5, iPod, MULTI CH, SIRIUS, TUNER, UAW, V-AUX, NET
Updated the Yamaha Zone Device Type to include source control… check it out and let me know if you have any questions. If you’ve already configured the Yamaha SmartApp, you will need to load the new Device Type, delete and then reinstall the SmartApp.
I’d like to change the source labels and, if possible, set up some different ones. Can you point me in the direction to solve the latter? For example, I would like to be able to select sources ‘Audio 1’ and ‘Audio 2’ on my Yamaha.
In the market for a new receiver, definitely interested in getting one with ST control. Am i looking for a specific models or the year it was produced. Or any yamaha receiver with net connection?
Okay, please bear with me. This is the first time I’ve tried to modify code.
I actually changed the source names in the tiles section of the handler to the names as I have them defined in my receiver (eg. ‘Blu-ray’ for HDMI1 …).
So that’s the first and second occurrences of the source in the code and this way the tiles show the names as I know them. Then for the third occurrence I put the actual source name …
This plugin should work with any Yamaha receiver that has a network connection. The Yamaha network protocol doc has a list of the supported receivers but it’s basically those that have a net connection.
Just FYI… I’m personally running this against a 5 year old and brand new receiver with zero issues.
That did it. I’m not sure I needed to revert the DH first. Initially I could not delete the SmartApp. It was giving me an unexpected error. I tried to delete the Receiver ‘Thing’ and it reminded me I had hooked it to several other SmartApps. Once I removed the Thing from those apps I was able remove your app and start over. All good now.
Really appreciate your help.
Now I’d like to find out how to only show valid sources for my Zone 2. Presently the same tiles show regardless of Zone. But it’s still great. I can now turn the receiver on and off with Alexa.
Ok - just updated the device type and moved the source definitions to the device preferences section. You should now be able to set unique sources per zone… but the number of sources is fixed between zones… ie. if you want to show 6 sources, then 6 sources will show for each zone. Also the actual tile labels will be the same across zones, even though they can control different sources. If I get some time, may look into fixing this, but that’s how it works for now.
This is awesome, but struggling to get it to work with the second zone. I have a TSR5790 and I suspect it has something to do with the fact it is referred to as “Zone B” Any ideas?