- 积分
- 515
- 金钱
- 402
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 515
- 金钱
- 402
- HASS币
- 0
|
发表于 2017-7-17 01:35:46
|
显示全部楼层
在HB中配置,首先安装插件:
sudo npm install -g homebridge-denon
然后配置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 denon plugin",
"hint": "Always paste into jsonlint.com validation page before starting your homebridge, saves a lot of frustration",
"accessories": [
{
"accessory": "DenonMarantzAVR",
"name": "Denon LivingRoom",
"ip": "192.168.1.99",
"defaultInput": "IRADIO",
"defaultVolume": 35,
"minVolume": 10,
"maxVolume": 75,
"doPolling": true,
"pollingInterval": 60
}
]
} |
|