在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:NorthernMan54/homebridge-yamaha-home开源软件地址:https://github.com/NorthernMan54/homebridge-yamaha-home开源编程语言:JavaScript 99.2%开源软件介绍:Homebridge-Yamaha-Homehomebridge-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.) InstallationFollow the instruction in NPM for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:
Configurationconfig.json
Optional Properties:
Use with SiriI 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. Basic config.json config"platforms": [{ "platform": "yamaha-home", "max_volume": 10 } Example advanced configurationExample 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": [
{}
]
} My personal configuration
Other Yamaha Receiver Pluginshomebridge-yamaha-zone-tv For multi-zone Yamaha Receivers, and uses the Television control for each zone of the receiver.homebridge-yamaha-avr For single zone Yamaha receivers, and uses the Television control for the receiver.Credits
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论