Home Assistant GUI unresponsive

Hi, i’m fairly new to HA and am struggling a bit with the stability of the system. overall i’m a fan but if i can’t have a GUI available 24/7 i’m not sure this is going to work out for my household needs.

It seems like the GUI stops answering the IP/Port every so often. This has occurred twice in two days which prompted this request for help figuring out what is going on with my setup. I’ve add the SSH addon so when this occurs i can SSH into the system and pull logs but i don’t know what or where to look for on these logs.

Based on other posts there was some pointing to MyQ integration that leaks data but since i have the 4gb model i don’t see that as being an issue…specially since my memory never goes much above 35%. Side note i reboot every night to ensure stability during the day when it is most used.

Hardware:
RPi 4 4gb version

Software:
HassOS 4.11
Home Assistant 0.112.4

I can post logs from my SSH (pulled a bunch of logs prior to resetting) but don’t know which logs i should be sending (Core logs or supervisor logs)

See images that indicate when GUI unresponsive occurs and when i restart HA.
image
*hourly peaks are Speedtest.com running.

Post them both.

It looks like my logs don’t go back far enough to see what occurred before the GUI stopped responding at ~1AM. Is there a way to pull logs farther back or do i loose them after ~6 hours?

~ $ ha core logs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 220, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/myq/__init__.py", line 36, in async_setup_entry
    myq = await pymyq.login(conf[CONF_USERNAME], conf[CONF_PASSWORD], websession)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 176, in login
    await api.authenticate(username, password)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 125, in authenticate
    self._security_token = auth_resp["SecurityToken"]
TypeError: 'NoneType' object is not subscriptable
2020-07-21 02:01:42 INFO (MainThread) [backoff] Backing off call_api(...) for 0.5s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:01:48 INFO (MainThread) [backoff] Backing off call_api(...) for 1.7s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:01:54 ERROR (MainThread) [backoff] Giving up call_api(...) after 5 tries (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:01:59 INFO (MainThread) [backoff] Backing off call_api(...) for 0.1s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:02:04 INFO (MainThread) [backoff] Backing off call_api(...) for 0.5s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:02:10 INFO (MainThread) [backoff] Backing off call_api(...) for 1.2s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:02:16 INFO (MainThread) [backoff] Backing off call_api(...) for 0.0s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:02:21 ERROR (MainThread) [backoff] Giving up call_api(...) after 5 tries (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-21 02:02:21 CRITICAL (MainThread) [hacs] [Cannot connect to host api.github.com:443 ssl:None [Try again]] - Could not load HACS!
2020-07-21 02:02:21 WARNING (MainThread) [homeassistant.config_entries] Config entry for hacs not ready yet. Retrying in 5 seconds.
2020-07-21 02:02:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-21 02:02:25 ERROR (MainThread) [homeassistant.components.switch] Setup of platform tplink is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2020-07-21 02:03:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-21 02:04:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-21 02:05:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-21 02:06:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-21 02:07:04 ERROR (Thread-12) [pychromecast.socket_client] [Speakers(192.168.1.6):42611] Error reading from socket.
2020-07-21 02:07:04 WARNING (Thread-12) [pychromecast.socket_client] [Speakers(192.168.1.6):42611] Error communicating with socket, resetting connection
2020-07-21 02:07:04 ERROR (Thread-12) [pychromecast.socket_client] [Speakers(192.168.1.7):32231] Failed to connect to service Google-Cast-Group-c63ddd7d9efa4ad8a5d38a320dd36f62-1._googlecast._tcp.local., retrying in 5.0s
2020-07-21 02:07:04 ERROR (Thread-13) [pychromecast.socket_client] [Bedroom speaker(192.168.1.7):8009] Failed to connect to service Google-Home-Mini-170da8b6c43170857cded4d9b2ec132d._googlecast._tcp.local., retrying in 5.0s
Exception in thread zeroconf-ServiceBrowser__daap._tcp.local.-_googlecast._tcp.local.-_wled._tcp.local.-_elg._tcp.local.-_api._udp.local.-_esphomelib._tcp.local.-_axis-video._tcp.local.-_hap._tcp.local.-_nut._tcp.local.-_ipps._tcp.local.-_miio._udp.local.-_printer._tcp.local.-_ipp._tcp.local.-_spotify-connect._tcp.local.-_dkapi._tcp.local.-_viziocast._tcp.local._2926604728:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1679, in run
    state_change=service_type_state_change[1],
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 227, in service_update
    domain, context={"source": DOMAIN}, data=info
  File "/usr/src/homeassistant/homeassistant/core.py", line 308, in add_job
    self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 736, in call_soon_threadsafe
    self._check_closed()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
/usr/local/lib/python3.7/threading.py:960: RuntimeWarning: coroutine 'FlowManager.async_init' was never awaited
  del exc_type, exc_value, exc_tb
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception in thread Sonoff_LAN:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1679, in run
    state_change=service_type_state_change[1],
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/config/custom_components/sonoff/sonoff_local.py", line 208, in _zeroconf_handler
    handler(deviceid, state, seq)
  File "/config/custom_components/sonoff/__init__.py", line 173, in add_device
    hass, device_class, DOMAIN, info, hass_config))
  File "/usr/src/homeassistant/homeassistant/core.py", line 353, in async_create_task
    task: asyncio.tasks.Task = self.loop.create_task(target)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 402, in create_task
    self._check_closed()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
/usr/local/lib/python3.7/threading.py:960: RuntimeWarning: coroutine 'async_load_platform' was never awaited
  del exc_type, exc_value, exc_tb
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception in thread zeroconf-ServiceBrowser__googlecast._tcp.local._2875744152:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1679, in run
    state_change=service_type_state_change[1],
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1531, in on_change
    listener.add_service(*args)
  File "/usr/local/lib/python3.7/site-packages/pychromecast/discovery.py", line 54, in add_service
    self._add_update_service(zconf, typ, name, self.add_callback)
  File "/usr/local/lib/python3.7/site-packages/pychromecast/discovery.py", line 94, in _add_update_service
    callback(name)
  File "/usr/src/homeassistant/homeassistant/components/cast/discovery.py", line 68, in internal_add_callback
    friendly_name=mdns[4],
  File "/usr/src/homeassistant/homeassistant/components/cast/discovery.py", line 38, in discover_chromecast
    dispatcher_send(hass, SIGNAL_CAST_DISCOVERED, info)
  File "/usr/src/homeassistant/homeassistant/helpers/dispatcher.py", line 75, in dispatcher_send
    hass.loop.call_soon_threadsafe(async_dispatcher_send, hass, signal, *args)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 736, in call_soon_threadsafe
    self._check_closed()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

~ $ ha supervisor logs
20-07-21 05:15:21 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-21 05:15:21 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-21 05:32:21 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-21 05:46:37 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 06:00:08 INFO (SyncWorker_3) [supervisor.docker.interface] Restart homeassistant/raspberrypi4-homeassistant
20-07-21 06:02:26 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-21 06:07:38 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:07:55 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:08:14 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:08:40 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-21 06:08:50 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:09:26 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:10:02 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:10:38 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:11:14 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:11:14 WARNING (MainThread) [supervisor.homeassistant] Don't wait anymore of Home Assistant startup!
20-07-21 06:11:14 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-53533' coro=<process_lock.<locals>.wrap_api() done, defined at /usr/src/supervisor/supervisor/utils/__init__.py:22> exception=HomeAssistantError()>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/utils/__init__.py", line 31, in wrap_api
    return await method(api, *args, **kwargs)
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 421, in restart
    await self._block_till_run()
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 638, in _block_till_run
    raise HomeAssistantError()
supervisor.exceptions.HomeAssistantError
20-07-21 06:13:31 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:19:07 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:24:43 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:30:19 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:36:26 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:42:33 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:46:38 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 06:48:40 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 06:54:47 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 07:00:54 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 07:07:01 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 07:13:08 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 07:19:15 ERROR (MainThread) [supervisor.homeassistant] Error on call http://xxx.xx.xx.x:xxxx/api/config:
20-07-21 07:22:00 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-21 07:22:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-21 07:22:00 INFO (MainThread) [supervisor.host.services] Update service information
20-07-21 07:22:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-21 07:22:01 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-21 07:22:01 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-21 07:22:01 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-21 07:46:39 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 08:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-07-21 08:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup.git repository
20-07-21 08:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-21 08:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-21 08:08:40 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-21 08:08:41 INFO (MainThread) [supervisor.store] Load add-ons from store: 69 all - 0 new - 0 remove
20-07-21 08:46:40 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 09:28:40 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-21 09:28:40 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-21 09:28:41 INFO (MainThread) [supervisor.host.services] Update service information
20-07-21 09:28:41 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-21 09:28:41 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-21 09:28:41 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-21 09:28:41 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-21 09:46:41 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 10:08:40 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-21 10:46:42 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 11:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-21 11:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup.git repository
20-07-21 11:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-07-21 11:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-21 11:08:41 INFO (MainThread) [supervisor.store] Load add-ons from store: 69 all - 0 new - 0 remove
20-07-21 11:35:20 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-21 11:35:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-21 11:35:20 INFO (MainThread) [supervisor.host.services] Update service information
20-07-21 11:35:20 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-21 11:35:21 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-21 11:35:21 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-21 11:35:21 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-21 11:46:44 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 12:08:40 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-21 12:46:45 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 13:42:00 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-21 13:42:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-21 13:42:00 INFO (MainThread) [supervisor.host.services] Update service information
20-07-21 13:42:00 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-21 13:42:01 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-21 13:42:01 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-21 13:42:01 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-21 13:46:46 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 14:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-21 14:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup.git repository
20-07-21 14:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-21 14:08:40 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-07-21 14:08:40 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-21 14:08:41 INFO (MainThread) [supervisor.store] Load add-ons from store: 69 all - 0 new - 0 remove
20-07-21 14:46:48 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-21 14:51:22 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-07-21 14:52:11 INFO (MainThread) [supervisor.api.security] /core/stats access from core_ssh
20-07-21 14:53:02 INFO (MainThread) [supervisor.api.security] /core/check access from core_ssh
20-07-21 14:53:02 INFO (SyncWorker_7) [supervisor.docker] Run command 'python3 -m homeassistant -c /config --script check_config' on homeassistant/raspberrypi4-homeassistant
20-07-21 14:53:17 INFO (MainThread) [supervisor.homeassistant] Home Assistant config is valid
20-07-21 14:53:24 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from core_ssh

I’ve been experiencing the same issues recently (running latest version of HA on Raspberry Pi 4 4GB.

I can check the logs but they don’t go back far enough (using ha core logs) to when the system stopped responding.

I’ve reinstalled on a new card but after a few days it starts failing again.

This is frustrating as HA has worked really well for a while now, but I’m currently having to consider moving things like lighting schedules and the camera arming back to the native device apps rather than Home Assistant

1 Like

I’m also experiencing the same issue. It’s started with the last few major updates (110,111,112 and today I upgraded to 113)

My front end is unreachable but I can see activity in the logs which indicates to me that the integrations (other docker containers) are running ok.

So far it appears that the front end dies when I have any automations that run (especially automations that then notify me using the native IOS app). I’ve now started to remove automations to see how it behaves with all of them off. I’ll post here if I find anything valid.

1 Like

I’m in very much the same boat and have been struggling with the unresponsive UI issue for just about the same number of major updates. FWIW, I think this is likely the same issue referenced here. At least they sound very similar.

It seems like there should be a way to monitor and alert for this condition so we can at least respond to it with a reboot. As you mentioned, the UI is totally unresponsive, but Home Assistant is still logging events, etc.

That’s funny you should say that. I started to get suspicious about a notification that gets sent to the Android Companion app from a Node Red flow. Haven’t any hard evidence but I’ve disabled it for now and will check for any outages.

I’ve set up uptime-robot to let me know when its down and it seemed to die last night but recovered quite quickly so I don’t think it was related.

Hi Guys, just an update:

As I was getting rather frustrated with not finding any logs pointing me in the right direction, I spun up a brand new VM and deployed the latest VMDK. I then setup each component, integration and every automation from scratch rather than restoring any kind of backup. As I use a couple of custom components from the HACS store, I left those till last. What I did find is:

Home assistant now takes a lot longer to start if I have made any mistakes (I had a value template with incorrect syntax which the checker didn’t pick up)

Home Assistant automations don’t seem to run unless it starts up successfully (HA has started message)

One of my custom components collected from an API and then delivered to MQTT (This caused my HA to never complete startup) I’ve removed it now and am using an API scraper instead and I’m pulling state attributes as value templates (bypassing the mqtt)

My Home Assistant is now running flawlessly and I haven’t had any “outage” yet… I have to add that my previous install was REALLY old (upgraded over the years) and perhaps a clean install was just what I needed).

I’ve update the amount of logs HA stores, but have not since had an unresponsive UI. I’ll post up when this occurs again.

Just had my GUI lock up again. Based on my review it occurs right around the time i have a rule setup to restart HA. The restart occurs but takes over 11 minutes to indicate it is coming back on line per the supervisor logs. This may be a clue but i’m not sure. If anyone is better at understanding these logs the time period in question is around 00:06:00.

HA Core Logs
2020-07-31 02:02:08 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform tplink is taking over 10 seconds.
2020-07-31 02:02:09 INFO (MainThread) [backoff] Backing off call_api(...) for 0.7s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:09 WARNING (MainThread) [pymyq.api] Device update failed; trying again in 5 seconds
2020-07-31 02:02:14 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] for myq
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 220, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/myq/__init__.py", line 36, in async_setup_entry
    myq = await pymyq.login(conf[CONF_USERNAME], conf[CONF_PASSWORD], websession)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 176, in login
    await api.authenticate(username, password)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 125, in authenticate
    self._security_token = auth_resp["SecurityToken"]
TypeError: 'NoneType' object is not subscriptable
2020-07-31 02:02:14 INFO (MainThread) [backoff] Backing off call_api(...) for 1.0s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:20 INFO (MainThread) [backoff] Backing off call_api(...) for 7.5s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:33 ERROR (MainThread) [backoff] Giving up call_api(...) after 5 tries (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:38 INFO (MainThread) [backoff] Backing off call_api(...) for 0.6s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:44 INFO (MainThread) [backoff] Backing off call_api(...) for 0.3s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:49 INFO (MainThread) [backoff] Backing off call_api(...) for 3.0s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:54 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink, hacs
2020-07-31 02:02:57 INFO (MainThread) [backoff] Backing off call_api(...) for 2.4s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:02:58 ERROR (MainThread) [homeassistant.components.switch] Setup of platform tplink is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2020-07-31 02:03:04 ERROR (MainThread) [backoff] Giving up call_api(...) after 5 tries (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.github.com:443 ssl:None [Try again])
2020-07-31 02:03:04 CRITICAL (MainThread) [hacs] [Cannot connect to host api.github.com:443 ssl:None [Try again]] - Could not load HACS!
2020-07-31 02:03:04 WARNING (MainThread) [homeassistant.config_entries] Config entry for hacs not ready yet. Retrying in 5 seconds.
2020-07-31 02:03:54 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-31 02:04:54 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-31 02:05:54 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
2020-07-31 02:06:54 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: blink
Exception in thread zeroconf-ServiceBrowser__ipp._tcp.local.-_googlecast._tcp.local.-_printer._tcp.local.-_esphomelib._tcp.local.-_ipps._tcp.local.-_hap._tcp.local.-_viziocast._tcp.local.-_dkapi._tcp.local.-_daap._tcp.local.-_nut._tcp.local.-_axis-video._tcp.local.-_miio._udp.local.-_wled._tcp.local.-_elg._tcp.local.-_spotify-connect._tcp.local.-_api._udp.local._2925216184:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1679, in run
    state_change=service_type_state_change[1],
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 227, in service_update
    domain, context={"source": DOMAIN}, data=info
  File "/usr/src/homeassistant/homeassistant/core.py", line 308, in add_job
    self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 736, in call_soon_threadsafe
    self._check_closed()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
/usr/local/lib/python3.7/threading.py:960: RuntimeWarning: coroutine 'FlowManager.async_init' was never awaited
  del exc_type, exc_value, exc_tb
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception in thread Sonoff_LAN:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1679, in run
    state_change=service_type_state_change[1],
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/config/custom_components/sonoff/sonoff_local.py", line 210, in _zeroconf_handler
    handler(deviceid, state, seq)
  File "/config/custom_components/sonoff/__init__.py", line 186, in add_device
    hass, device_class, DOMAIN, info, hass_config))
  File "/usr/src/homeassistant/homeassistant/core.py", line 353, in async_create_task
    task: asyncio.tasks.Task = self.loop.create_task(target)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 402, in create_task
    self._check_closed()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
/usr/local/lib/python3.7/threading.py:960: RuntimeWarning: coroutine 'async_load_platform' was never awaited
  del exc_type, exc_value, exc_tb
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception in thread zeroconf-ServiceBrowser__googlecast._tcp.local._2874036120:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1679, in run
    state_change=service_type_state_change[1],
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1433, in fire
    h(**kwargs)
  File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1531, in on_change
    listener.add_service(*args)
  File "/usr/local/lib/python3.7/site-packages/pychromecast/discovery.py", line 54, in add_service
    self._add_update_service(zconf, typ, name, self.add_callback)
  File "/usr/local/lib/python3.7/site-packages/pychromecast/discovery.py", line 94, in _add_update_service
    callback(name)
  File "/usr/src/homeassistant/homeassistant/components/cast/discovery.py", line 68, in internal_add_callback
    friendly_name=mdns[4],
  File "/usr/src/homeassistant/homeassistant/components/cast/discovery.py", line 38, in discover_chromecast
    dispatcher_send(hass, SIGNAL_CAST_DISCOVERED, info)
  File "/usr/src/homeassistant/homeassistant/helpers/dispatcher.py", line 75, in dispatcher_send
    hass.loop.call_soon_threadsafe(async_dispatcher_send, hass, signal, *args)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 736, in call_soon_threadsafe
    self._check_closed()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Supervisor Logs
20-07-31 04:06:30 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 04:34:43 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-31 05:04:44 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-31 05:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-31 05:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup.git repository
20-07-31 05:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-07-31 05:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-31 05:06:04 INFO (MainThread) [supervisor.store] Load add-ons from store: 70 all - 0 new - 0 remove
20-07-31 05:06:31 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 05:12:43 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-31 05:12:43 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-31 05:12:44 INFO (MainThread) [supervisor.host.services] Update service information
20-07-31 05:12:44 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-31 05:12:45 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-31 05:12:45 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-31 05:12:45 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-31 05:34:45 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-31 06:00:15 INFO (SyncWorker_2) [supervisor.docker.interface] Restart homeassistant/raspberrypi4-homeassistant
20-07-31 06:04:49 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-07-31 06:06:08 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-31 06:06:13 WARNING (MainThread) [supervisor.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]
20-07-31 06:06:32 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 06:06:38 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 06:07:18 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 06:07:35 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:07:44 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 06:08:04 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:08:11 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:08:47 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:09:23 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:09:59 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:10:35 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:11:11 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:11:47 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:11:47 WARNING (MainThread) [supervisor.homeassistant] Don't wait anymore of Home Assistant startup!
20-07-31 06:11:47 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-78697' coro=<process_lock.<locals>.wrap_api() done, defined at /usr/src/supervisor/supervisor/utils/__init__.py:22> exception=HomeAssistantError()>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/utils/__init__.py", line 31, in wrap_api
    return await method(api, *args, **kwargs)
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 421, in restart
    await self._block_till_run()
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 638, in _block_till_run
    raise HomeAssistantError()
supervisor.exceptions.HomeAssistantError
20-07-31 06:13:40 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:19:16 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:24:52 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:30:28 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:36:35 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:42:42 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:48:49 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 06:54:56 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 07:01:03 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 07:07:10 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 07:07:45 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 07:13:17 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 07:19:23 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-31 07:19:23 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-31 07:19:24 ERROR (MainThread) [supervisor.homeassistant] Error on call http://172.30.32.1:8123/api/config:
20-07-31 07:19:24 INFO (MainThread) [supervisor.host.services] Update service information
20-07-31 07:19:24 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-31 07:19:24 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-31 07:19:24 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-31 07:19:25 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-31 08:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-31 08:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup.git repository
20-07-31 08:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-31 08:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-07-31 08:06:05 INFO (MainThread) [supervisor.store] Load add-ons from store: 70 all - 0 new - 0 remove
20-07-31 08:06:08 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-31 08:07:47 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 09:07:48 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 09:26:03 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-31 09:26:03 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-31 09:26:04 INFO (MainThread) [supervisor.host.services] Update service information
20-07-31 09:26:04 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-31 09:26:05 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-31 09:26:05 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-31 09:26:05 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-31 10:06:08 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-31 10:07:50 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 11:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup.git repository
20-07-31 11:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-07-31 11:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-31 11:06:03 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-07-31 11:06:05 INFO (MainThread) [supervisor.store] Load add-ons from store: 70 all - 0 new - 0 remove
20-07-31 11:07:51 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 11:32:43 INFO (MainThread) [supervisor.host.info] Update local host information
20-07-31 11:32:43 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-07-31 11:32:44 INFO (MainThread) [supervisor.host.services] Update service information
20-07-31 11:32:44 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-07-31 11:32:45 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-07-31 11:32:45 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-07-31 11:32:45 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-07-31 12:06:08 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-07-31 12:07:53 INFO (MainThread) [supervisor.api.security] /snapshots access from f0e7e328_hassio_google_drive_backup
20-07-31 12:55:40 INFO (MainThread) [supervisor.api.security] /core/info access from core_ssh
20-07-31 12:55:52 INFO (MainThread) [supervisor.api.security] /core/logs access from core_ssh
20-07-31 12:56:43 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from core_ssh

 

Locked up 1:58AM
Pulled logs at 9AM

image

I’ve got same problems. This is frustrating. I made automation which restart HA every night but it still happens.

1 Like

Did you ever solve this problem? It is happening to me every couple of days now.

It’s been a while since i last posted on this topic. I’ve made to many changes on my set up to point to any one item directly but I’ll share what has worked for me.

  1. Rebuilt my HA from a fresh install
  2. Moved to an ssd
  3. Updated to latest version of Hass. (Myq memory leak seems to have been fixed over the last few months)
  4. Figured out my gui was unresponsive but HA was still running just fine.
  5. Used USB to import fixed ip into the rpi ( also using static ip in my router)

Somewhere along the lines my HA had become very stable. I restart host nightly with an automation but I’m going to start pushing that out a day every so often.

I think the big thing for me was MyQ and the RPi do
Ropping from my network. Fixing the ip in the rpi was a big saver for me. I restart my cable modem and old router every few days causing the HA instance to not show up in my network for some reason.

1 Like

Same problem over here : Home Assistant GUI has been super flaky just recently (HA installed on a SD card)
It seems like my Raspberry Pi (over wifi) is playing hide and seek on my network.

I have a Orbi router (in router mode) plugged to my ISP’s router.
When I check my Orbi’s interface or the Fing app on my Android phone, I sometimes see the Raspberry Pi IP address (10.0.0.72) but not always even though I added that IP as static.
Power resetting the RPi seems to help bring back HA onto the network at least for a short time before it gets unresponsive and disappears again :frowning:
I was wondering if I should wire the RPi with an ethernet cable instead of wifi.

Also I noticed some database errors in the HA’s logs. I see lots of people complaining about corrupted database and being advised to delete the DB and use another one (such as MariaDB)

@JeromeO
You can try deleting the dB and letting it rebuild. I personally don’t see issues with the built in dB.
Try fixing your HA ip address in HassOS. Follow this guide.

My ip was fixed in my router as well but for some reason HA would drop from the network. Fixing the ip in HA helped the issue.

Always wire your HA if it’s possible.

I restored a working backup and deleted the DB file.
It’s been working fine so far and I don’t see any error messages regarding the DB in the logs anymore :man_shrugging: