- 积分
- 883
- 金钱
- 743
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 883
- 金钱
- 743
- HASS币
- 0
|
本帖最后由 wumingxiaocai 于 2017-10-16 09:11 编辑
说明:本人菜鸟一枚,全是自己摸索学习的,不对的地方请指教。
安装很简单注意一下几点就可以了
1.根据老高的帖子http://bbs.feng.com/forum.php?mod=viewthread&tid=10878311&fromuid=42111搭建HA的时候,homebridge #####这里先运行一次程序######会出现一个警告忽略就可以,如果一定想解决的话就在这里添加
sudo nano 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://10.10.1.31:8123",
"password": "raspberry",
"default_visibility": "visible",//此处解决报错
"supported_types": ["fan", "garage_door", "input_boolean", "light", "lock", "media_player", "rollershutter", "scene", "switch"]
}
]
}
2.安装KODI根据此贴https://bbs.hassbian.com/forum.php?mod=viewthread&tid=402&highlight=%E6%A0%91%E8%8E%93%E6%B4%BE
我安装的时候sudo apt-get install kodi正常安装
输入kodi会报错,所以更新了一下系统就OK了
sudo apt-get update
sudo apt-get dist-upgrade
|
|