|
楼主 |
发表于 2017-11-21 18:27:15
|
显示全部楼层
本帖最后由 ptlzx 于 2017-11-21 18:29 编辑
没搞懂是什么意思,是吧代码加到config.json吗?是不是像下面这样,不好意思,小白懂的少。
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:51",
"port": 51826,
"pin": "031-45-154"
},
"options": {
"log_level": "info",
"avahi_interfaces": "",
"avahi_hostname": "hassio",
"avahi_domainname": "local",
"enable_ipv6": true,
"packages": [],
"init_commands": [],
"plugins": []
},
"accessories": [
{
"accessory": "Synology",
"name": "Synology_NAS",
"ip": "192.168.1.57",
"mac": "00:11:3B:75:6F:68",
"port": "5000",
"secure": false,
"account": "ptlinzx",
"password": "1234567890",
"version": 6
}
]
} |
|