已在Hass.io Add-ons中已安装如下插件
现在无法正常启动,估计是秘钥和证书未配置,请大神帮忙看看是怎么生成的,下面是配置
1.MQTT Server & Web client
{
"log_level": "info",
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"web": {
"enabled": true,
"username": "mqtt",
"password": "123",
"ssl": true
},
"broker": {
"enabled": true,
"enable_ws": false,
"enable_mqtt": false,
"enable_ws_ssl": true,
"enable_mqtt_ssl": true,
"allow_anonymous": false
},
"mqttusers": [
{
"username": "mqtt",
"password": "123",
"readonly": true,
"topics": [
"#"
]
}
]
}
2.SSH & Web Terminal
{
"log_level": "info",
"ssh": {
"enable": true,
"port": 22,
"username": "hassio",
"password": "123",
"authorized_keys": [],
"sftp": false,
"compatibility_mode": false,
"allow_agent_forwarding": false,
"allow_remote_port_forwarding": false,
"allow_tcp_forwarding": false
},
"web": {
"enable": true,
"port": 7681,
"username": "hassio",
"password": "123",
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
},
"share_sessions": true,
"packages": [],
"init_commands": []
}
|