[HomeAssistant] HA Core x Android
發表於 : 2021-07-28, 11:14
參考文件
https://community.home-assistant.io/t/h ... let/250174
https://lucacesarano.medium.com/install ... 65b2341126
安裝步驟
## Preparation:
Install F-droid (an alternative store, full of free and useful stuff)
Install Termux from F-droid
Termux:API from F-droid
[OPTIONAL] Install Hacker’s Keyboard from F-droid
### 1. Start Termux App;
### 2. Insert the following commands in order:
pkg update
apt-get update
pkg upgrade
pkg install python
pkg install nano
pkg install mosquitto (if it says ‘package not found’ issue ‘pkg update’ again and then try again)
pkg install nodejs
pkg install openssh
pkg install termux-api
apt install make
pip install PyNaCl==1.3.0 (go make a coffee, it takes a loooong time) (also, 1.3.0 may change, but I needed the exact version HASS wanted to make it work)
pip install aiohttp_cors libjpeg-turbo
錯誤訊息:
unable to set up dependencies of safe_mode. setup failed for dependencies frontend
參考文件
https://community.home-assistant.io/t/d ... ems/112915
https://www.home-assistant.io/installation/raspberrypi
解決方法:
建立虛擬環境 CREATE THE VIRTUAL ENVIRONMENT
安裝homeassistant
### 4. Starting the environment:
mosquitto
開啟新的session
輸入
安裝完後重啟
CTRL+C
安裝完成
疑難排解
錯誤訊息
1. Failed to save: Invalid time zone passed in. Valid options can be found here
https://community.home-assistant.io/t/t ... p/318807/3
[IN PROGRESS] If you need to boot everything up when android starts you just need to open termux and issue the commands ‘mosquitto’ and ‘hass’ but you could do it automatically using termux::boot (available on playstore).
其他方式
LineageOS
https://lineageos.org
home-assistant社群
https://community.home-assistant.io/t/i ... roid/14350
https://community.home-assistant.io/t/h ... let/250174
YouTube教學
medium教學
https://lucacesarano.medium.com/install ... 65b2341126
https://community.home-assistant.io/t/h ... let/250174
https://lucacesarano.medium.com/install ... 65b2341126
安裝步驟
## Preparation:
Install F-droid (an alternative store, full of free and useful stuff)
Install Termux from F-droid
Termux:API from F-droid
[OPTIONAL] Install Hacker’s Keyboard from F-droid
### 1. Start Termux App;
### 2. Insert the following commands in order:
pkg update
apt-get update
pkg upgrade
pkg install python
pkg install nano
pkg install mosquitto (if it says ‘package not found’ issue ‘pkg update’ again and then try again)
pkg install nodejs
pkg install openssh
pkg install termux-api
apt install make
pip install PyNaCl==1.3.0 (go make a coffee, it takes a loooong time) (also, 1.3.0 may change, but I needed the exact version HASS wanted to make it work)
pip install aiohttp_cors libjpeg-turbo
錯誤訊息:
unable to set up dependencies of safe_mode. setup failed for dependencies frontend
參考文件
https://community.home-assistant.io/t/d ... ems/112915
https://www.home-assistant.io/installation/raspberrypi
解決方法:
建立虛擬環境 CREATE THE VIRTUAL ENVIRONMENT
代碼: 選擇全部
python -m venv hass
source hass/bin/activate代碼: 選擇全部
pip install homeassistantmosquitto
開啟新的session
輸入
代碼: 選擇全部
hass -vCTRL+C
代碼: 選擇全部
hass -v疑難排解
錯誤訊息
1. Failed to save: Invalid time zone passed in. Valid options can be found here
https://community.home-assistant.io/t/t ... p/318807/3
代碼: 選擇全部
pip install tzdata其他方式
LineageOS
https://lineageos.org
home-assistant社群
https://community.home-assistant.io/t/i ... roid/14350
https://community.home-assistant.io/t/h ... let/250174
YouTube教學
medium教學
https://lucacesarano.medium.com/install ... 65b2341126