- 积分
- 306
- 金钱
- 258
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 306
- 金钱
- 258
- HASS币
- 0
|
装载路径照着论坛教程的帖子[size=15.9962px] /root/.homebridge,配置文件在[size=15.9962px] /docker/homebridge,在这个目录下修改了config.json
{
"bridge": {
"name": "Homebridge",
"username": "XX:XX:XX:XX:XX:XX",
"port": 51826,
"pin": "123-45-678"
},
"platforms": [{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://127.0.0.1:8123",
"password": "",
"supported_types": ["binary_sensor", "climate", "cover", "fan", "garage_door", "device_tracker", "input_boolean", "light", "lock", "media_player", "rollershutter", "sensor", "scene", "switch"],
"default_visibility": "visible",
"verify_ssl": false
}]
}
用的这个范本,然后修改了pin,之后重启HB,日志和终端还是输出的3145154的pin,可以在HK发现,但是房间下五设备,所以我现在只想确认我的配路径和方法是不是哪里出错了
|
|