android搭建homeassistant
【代码】android搭建homeassistant。
·
pip加速
vi ~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com
安装homeassistant
- 安装配置termux,https://www.jianshu.com/p/74fc2e8db834。或者安装neoterm-2.0
- 安装homeassistant, 需要科学上网
apt install python python-dev #python3
apt install openssl-dev #解决pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
apt install clang
apt install libllvm
apt install libffi-dev
pip install --upgrade pip
pip install homeassistant==0.75.0 # 我小米2 termux 0.118.0 使用的是这个版本可以成功部署我对配置https://github.com/cloudswave/termux-script/tree/master/homessistant/.homeassistant
hass # 启动
一些配置提示
- 配置DC1:https://www.jianshu.com/p/cddb7ba47f56, 注意配置以后要重启插座才能连上本地服务器
更多推荐
已为社区贡献4条内容
所有评论(0)