UI and automation stop working but DB and zwave log are modified

since half a year my Hass is acting weirdly and hangs after several days. First assumed a hardware error so upgraded to a fast intel NUC.
I also suspected a custom component or something in my config. But now i have most things turned of in my config except:

  • zwave (only switches and 1 binary sensor)
  • ip cam
  • telegram

What happens:

  • automation are not run anymore
  • the UI website won’t open anymore

But:

  • i have a walltablet with the UI open, i can’t reload a TAB, but when i manually do a ZWave switch, the status is still updated in the UI
  • the Zwave log + DB keep increasing in data and date modified.
  • the .log file doesn’t showing anthing useull what should cause the hang of Hass;
  • disconnected my router and, in the .log was this added:
    2018-10-02 19:22:49 ERROR (MainThread) [homeassistant.components.telegram_bot.polling] Cannot connect to host api.telegram.org:443 ssl:None [Temporary failure in name resolution]

So the program is still running but:

  • UI not accessible, automations are not processed, log file does not show anything special.

How to debug this? Annoying me for some time, but always just did a reboot/container restart.

Can i get more info in the log??

anyone have a clue to check out what is causing the UI and automations to hang??