@WoJWoJ wrote:
I noticed that Home Assistant’s startup freezes at one point, and then resumes. I guess it is one of the components slowing it down.
How to debug this?
Setting the debug level to
debug
I see in the logs:(...) 2020-02-16 20:55:40 DEBUG (MainThread) [aioharmony.hubconnector] HarmonyHub.home: Retrieving Harmony Hub information. 2020-02-16 20:55:40 DEBUG (MainThread) [aioharmony.hubconnector] HarmonyHub.home: Sending post request: {'id ': 1, 'cmd': 'setup.account?getProvisionInfo', 'params': {}} 2020-02-16 20:55:40 DEBUG (MainThread) [aiounifi.api] [{'_id': '5d656c38d02e7d00f7897a69', '_is_guest_by_uap': False, '_last_seen_by_uap': 1581882932, '_uptime_by_uap': 18158, 'anomalies': 0, 'ap_mac': 'f0:9f:c2:73:34:fe', 'assoc_time': 1581864657, (... dict output ...) 'vlan': 0, 'wifi_tx_attempts': 2022}, {'_id': '5e1b342eb9d82100f7ae7d87', ← here is the point when the startup freezes for a minute or so 2020-02-16 20:56:10 INFO (SyncWorker_10) [homeassistant.util.package] Attempting install of semantic_version==2.8.2 2020-02-16 20:56:15 INFO (SyncWorker_4) [homeassistant.util.package] Attempting install of hacs_frontend==13 2020-02-16 20:56:20 INFO (MainThread) [homeassistant.setup] Setting up light 2020-02-16 20:56:20 INFO (MainThread) [homeassistant.components.light] Setting up light.mqtt (...)
The freeze is not a big deal because Home assistant works great after starting up. I would however prefer to pin-point the culprit because this may mean other problems (DNS resolution for instance) which need to be fixed.
Posts: 2
Participants: 2