Hi, I have trouble setting up the hass on Android (Xiaomi Note 4).
I followed the tutorial same as @Antonio_CM a few messages up.
After running mosquito, configurator and hass with pm2 and typing pm2 logs hass
I had this output:
[TAILING] Tailing last 15 lines for [hass] process (change the value with --lines option)
/data/data/com.termux/files/home/.pm2/logs/hass-out.log last 15 lines:
1|hass | Unable to find configuration. Creating default one in
/data/data/com.termux/files/home/.homeassistant /data/data/com.termux/files/home/.pm2/logs/hass-error.log last 15 lines:
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_2) [homeassistant.loader] Loaded sun from homeassistant.components.sun 1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_1) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_3) [homeassistant.loader] Loaded updater from homeassistant.components.updater
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_2) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_0) [homeassistant.loader] Loaded zone from homeassistant.components.zone
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_4) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_2) [homeassistant.loader] Loaded input_datetime from homeassistant.components.input_datetime
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_0) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_3) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
1|hass | 2020-05-21 14:42:57 INFO (SyncWorker_5) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select
1|hass | 2020-05-21 14:42:57 INFO (MainThread) [homeassistant.bootstrap] Setting up {'system_log'}
1|hass | 2020-05-21 14:42:57 INFO (MainThread) [homeassistant.setup] Setting up http
1|hass | 2020-05-21 14:42:57 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
1|hass | 2020-05-21 14:42:57 INFO (MainThread) [homeassistant.setup] Setting up system_log
1|hass | 2020-05-21 14:42:57 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
1|hass | 2020-05-21 14:42:58 INFO (MainThread) [homeassistant.setup] Setting up recorder
1|hass | 2020-05-21 14:42:58 INFO (MainThread) [homeassistant.setup] Setting up webhook
1|hass | 2020-05-21 14:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
1|hass | 2020-05-21 14:42:58 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=3 from 2020-05-21 11:47:04.843011)
1|hass | 2020-05-21 14:42:58 INFO (MainThread) [homeassistant.setup] Setting up alexa
1|hass | 2020-05-21 14:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain alexa took 0.0 seconds.
1|hass | 2020-05-21 14:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.7 seconds.
1|hass | 2020-05-21 14:42:58 INFO (SyncWorker_1) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
1|hass | 2020-05-21 14:42:58 INFO (SyncWorker_1) [homeassistant.loader] Loaded camera from homeassistant.components.camera
1|hass | 2020-05-21 14:42:58 INFO (SyncWorker_4) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
1|hass | 2020-05-21 14:42:58 INFO (SyncWorker_4) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker
1|hass | 2020-05-21 14:42:58 INFO (SyncWorker_5) [homeassistant.loader] Loaded homekit from homeassistant.components.homekit
1|hass | 2020-05-21 14:42:58 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of PyTurboJPEG==1.4.0
And couldn’t access my phone’s IP:8123 via browser. (maybe wrong port? which should I type?)
Now I’m following the tutorial here. Node-red and mosquito run with no trouble. After typing hass it started installing and now for ~2 hours it’s stuck on PyTurboJPEG (same as in pm2 logs)
CMD output below:
(...)
2020-05-21 15:08:26 INFO (SyncWorker_4) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
2020-05-21 15:08:26 INFO (SyncWorker_0) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select
2020-05-21 15:08:26 INFO (MainThread) [homeassistant.bootstrap] Setting up {'system_log'}
2020-05-21 15:08:26 INFO (MainThread) [homeassistant.setup] Setting up http
2020-05-21 15:08:26 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2020-05-21 15:08:26 INFO (MainThread) [homeassistant.setup] Setting up system_log
2020-05-21 15:08:26 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2020-05-21 15:08:53 INFO (MainThread) [homeassistant.setup] Setting up recorder
2020-05-21 15:08:53 INFO (MainThread) [homeassistant.setup] Setting up webhook
2020-05-21 15:08:53 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2020-05-21 15:08:53 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=5 from 2020-05-21 13:06:16.411229)
2020-05-21 15:08:53 INFO (MainThread) [homeassistant.setup] Setting up alexa
2020-05-21 15:08:53 INFO (MainThread) [homeassistant.setup] Setup of domain alexa took 0.0 seconds.
2020-05-21 15:08:53 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.7 seconds.
2020-05-21 15:08:53 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of hass-nabucasa==0.34.2
2020-05-21 15:15:18 INFO (SyncWorker_1) [homeassistant.loader] Loaded camera from homeassistant.components.camera
2020-05-21 15:15:18 INFO (SyncWorker_4) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
2020-05-21 15:15:18 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of home-assistant-frontend==20200519.0
2020-05-21 15:15:18 INFO (SyncWorker_0) [homeassistant.loader] Loaded homekit from homeassistant.components.homekit
2020-05-21 15:15:18 INFO (SyncWorker_1) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2020-05-21 15:26:36 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of HAP-python==2.8.4
2020-05-21 15:26:36 INFO (SyncWorker_0) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker 2020-05-21 15:52:04 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of fnvhash==0.1.0
2020-05-21 15:52:12 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of base36==0.1.1
2020-05-21 15:52:17 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of PyTurboJPEG==1.4.0
I have one more question, since I’m not really into linux: what’s the difference between running
pm2 start hass --interpreter=python -- --config /data/data/com.termux/files/home/.homeassistant
and just
hass
I’d appreciate any help, I’m close to giving up on this