- 积分
- 349
- 金钱
- 269
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 349
- 金钱
- 269
- HASS币
- 0
|
楼主 |
发表于 2018-10-14 08:42:28
|
显示全部楼层
在config.json内增加如下字段,default_visibilityvisible{
"bridge": {
"default_visibility": "visible",
"name": "Homebridge",
"username": "B8:27:EB:10:61:E5",
"port": 51826,
"pin": "123-45-678"
},
"platforms": [
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://192.168.2.112:8123",
//////////////////////// "default_visibility": "visible", ///////////////////////////只复制这一段即可 去掉 / 记得把逗号也复制上
"password": "yourapipassword",
"supported_types": ["fan", "garage_door", "input_boolean", "light", "lock",$
}
] |
|