|
新手小白跟着教程在群晖下安装好了homeassistant,在安装homebridge时在配置好两种config.json时,启动后,homebridge就出现两种情况情况。
第一种配置文件如下:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port":51826,
"pin": "123-45-678"
},
"platforms": [
{
"platform": "AqaraPlatform",
"sid": [
"f0b42999aab2"
],
"password": [
"qc2eeuwji4yyhbvu"
]
},
{
"platform": "yeelight",
"name": "yeelight"
},
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://192.168.1.111:8123",
"password": "1234567890",
"supported_types": ["binary_sensor", "climate", "cover", "fan", "switch", "garage_door", "camera", "device_tracker", "input_boolean", "light", "lock", "media_player", "rollershutter", "sensor", "scene", "switch"],
"default_visibility": "visible",
"logging": false,
"verify_ssl": true
}
]
}
这种配置文件与小米的智能网关还有homeassistant同时连接可正常运行.
第二种配置文件如下:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port":51826,
"pin": "123-45-678"
},
"platforms": [
{
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "http://192.168.1.111:8123",
"password": "1234567890",
"supported_types": ["binary_sensor", "climate", "cover", "fan", "switch", "garage_door", "camera", "device_tracker", "input_boolean", "light", "lock", "media_player", "rollershutter", "sensor", "scene", "switch"],
"default_visibility": "visible",
"logging": false,
"verify_ssl": true
}
]
}
这种配置只把homebridge与homeassistant相连,这种情况下只要运行homebridge,就会出现无限崩溃的情况,系统提示容器已停止,请大神告知这是什么原因,如何解决
|
|