Homebridge plugin for my Yamaha Receiver optimized for use with the Home App and Alexa
homebridge-plugin for Yamaha AVR control with Apple-Homekit. Optimized for use with the Apple Home App and with homebridge-alexa. Creates a Fan for each zone with the Fan speed being the volume. ( I was originally using light bulbs, but switched as Siri and Alexa were turning off the stereo when you asked her to turn off all the lights.)
Follow the instruction in NPM for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:
sudo npm install -g homebridge-yamaha-home
Optional Properties:
I have been looking for a way to tell Siri (on my HomePod Mini) to turn up or down the volume on the Yamaha Receiver. This plugin works perfectly using the Home app, where adjusting the "fan speed" changes the receiver volume. For anyone curious, this works for me: Hei, Siri, set the living room TV to 40 percent.
"platforms": [{ "platform": "yamaha-home", "max_volume": 10 }
Example config.json:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:51",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file for homebridge plugin for yamaha AVR",
"hint": "Always paste into jsonlint.com validation page before starting your homebridge, saves a lot of frustration",
"platforms": [
{
"platform": "yamaha-home",
"play_volume": -48,
"setMainInputTo": "Airplay",
"show_input_name": "yes",
"party_switch": "yes",
"inputs_as_accessories":{
"YamahaReceiver": {
"1": {
"name":"Raspberry",
"setInputTo": "HDMI1",
"set_default_volume": -49
},
"2": {
"name":"AppleTV",
"setInputTo": "HDMI2"
},
"3": {
"name": "Scene 3",
"set_scene": "3",
"setInputTo": "HDMI3"
}
}
},
"manual_addresses": {
"Yamaha": "192.168.1.115"
}
}
],
"accessories": [
{}
]
}
{
"platform": "yamaha-home",
"discovery_timeout": 5,
"radio_presets": true,
"preset_num": true,
"max_volume": 20,
"party_switch": "yes",
"spotify": true,
"inputs_as_accessories": {
"YamahaReceiver": {
"1": {
"name": "Input Radio",
"setInputTo": "TUNER"
},
"2": {
"name": "Input Spotify",
"setInputTo": "Spotify"
}
}
}
}