HASS running very slow (MiFlora killed my Hass)

Hi, my Hass is suddenly running very slow.
Logfile:

2018-11-03 12:19:08 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:19:19 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:19:24 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:19:26 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:19:27 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:19:29 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:19:30 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:19:41 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:19:52 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:19:52 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:19:55 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:19:57 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:19:58 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:00 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:03 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:20:14 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:20:25 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:20:26 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:28 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:29 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:31 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:36 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:20:47 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:20:53 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:20:57 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:20:58 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:20:59 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:00 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:02 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:09 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:21:20 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:21:28 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:30 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:31 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:31 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:21:33 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:21:42 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:21:53 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:21:54 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:21:59 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:01 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:02 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:04 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:04 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:22:15 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:22:26 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:22:30 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:32 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:33 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:35 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:22:37 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:22:48 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:22:55 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:22:59 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:23:01 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.waze_to_work is taking over 10 seconds
2018-11-03 12:23:03 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:04 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:06 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:10 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:23:21 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:23:32 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:32 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:23:34 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:35 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:37 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:23:43 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:23:54 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:23:56 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:24:03 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:05 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:05 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:24:06 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:08 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:16 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:24:27 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:24:34 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:36 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:37 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:38 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:24:39 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:24:49 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:24:57 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:25:00 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:25:05 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:07 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:08 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:10 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:11 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:25:22 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:25:33 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:25:36 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:38 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:39 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:41 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:25:44 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:25:55 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:25:58 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:26:06 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:26:07 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:09 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:10 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:12 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:17 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:26:28 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:26:38 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:39 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:26:40 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:41 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:43 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:26:50 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:26:59 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:27:01 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:27:09 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:11 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:12 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:12 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:27:14 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:23 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:27:34 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:27:40 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:42 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:43 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:45 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:27:45 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:27:56 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:28:00 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:28:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ethereum_eur_price is taking over 10 seconds
2018-11-03 12:28:07 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:28:11 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:13 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:14 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:16 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:18 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:28:29 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:28:40 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:28:42 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:44 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:45 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:47 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:28:51 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:29:01 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:29:02 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:29:13 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:13 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:29:15 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:16 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:18 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:24 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:29:35 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:29:44 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:46 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:46 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:29:47 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:49 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:29:57 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:30:02 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:30:08 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:30:15 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:17 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:18 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:19 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:30:20 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:30 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:30:41 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:30:46 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:48 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:49 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:51 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:30:52 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:31:03 WARNING (MainThread) [homeassistant.components.calendar] Updating google calendar took longer than the scheduled update interval 0:01:00
2018-11-03 12:31:03 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:31:14 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:10
2018-11-03 12:31:17 WARNING (MainThread) [homeassistant.components.light] Updating yeelight light took longer than the scheduled update interval 0:00:30
2018-11-03 12:31:19 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating uptimerobot binary_sensor took longer than the scheduled update interval 0:00:30
2018-11-03 12:31:20 WARNING (MainThread) [homeassistant.components.switch] Updating wake_on_lan switch took longer than the scheduled update interval 0:00:30
2018-11-03 12:31:22 WARNING (MainThread) [homeassistant.components.switch] Updating xiaomi_aqara switch took longer than the scheduled update interval 0:00:30

It takes 18(!!) minutes to boot up. Executing scripts has a delay of approx. 3 minutes. I have no idea when this started, I did not make any changes over the last few weeks. The frontend is accessible, however my uptime monitor is telling otherwise.

The load om my PI looks fine and so does the free mem:
image

I’m currently running Hassbian, 0.81.4 on RP3 model B+.

I don’t have any clue anymore how to debug this, any ideas are welcome!

As the processor usage and the memory usage look ok, the next place I would look is the network. Most of your warning messages seem related to that. How does your Pi connect to the network - wifi or ethernet?

I’m using ethernet which has been rock solid for almost 2 years. I also tried wifi with the same result.
I also rebooted my routers and modem several times.

That was my next suggestion, and at this point I am grasping at straws.

I suppose it may be having a problem writing to the SD card, but if so I would expect some errors in /var/log/syslog, so you should check there.

Alternatively, there may be a component you are using that is hanging in HA, and the only way I know to debug that is by the painful process of removing them one by one. Not a pleasant prospect at all.

Hopefully someone else will come up with some better ideas.

Not sure how to interpret this:

Nov  3 16:07:54 hassbian systemd[5057]: Listening on GnuPG cryptographic agent (access for web browsers).
Nov  3 16:07:54 hassbian systemd[5057]: Reached target Timers.
Nov  3 16:07:54 hassbian systemd[5057]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov  3 16:07:54 hassbian systemd[5057]: Reached target Sockets.
Nov  3 16:07:54 hassbian systemd[5057]: Reached target Basic System.
Nov  3 16:07:54 hassbian systemd[5057]: Reached target Default.
Nov  3 16:07:54 hassbian systemd[5057]: Startup finished in 39ms.
Nov  3 16:07:54 hassbian systemd[1]: Started User Manager for UID 1000.
Nov  3 16:08:35 hassbian hass[480]: From: 51.965494,4.618543 - to: Staalstraat 1, Ridderkerk
Nov  3 16:08:39 hassbian hass[480]: Time 22.38 - 87.52 minutes, distance 21.64 - 70.80 km.
Nov  3 16:10:50 hassbian hass[480]: 2018-11-03 16:10:50 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Nov  3 16:10:50 hassbian hass[480]: Traceback (most recent call last):
Nov  3 16:10:50 hassbian hass[480]:   File "/usr/lib/python3.5/asyncio/selector_events.py", line 723, in _read_ready
Nov  3 16:10:50 hassbian hass[480]:     data = self._sock.recv(self.max_size)
Nov  3 16:10:50 hassbian hass[480]: TimeoutError: [Errno 110] Connection timed out
Nov  3 16:10:50 hassbian hass[480]: 2018-11-03 16:10:50 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Nov  3 16:10:50 hassbian hass[480]: Traceback (most recent call last):
Nov  3 16:10:50 hassbian hass[480]:   File "/usr/lib/python3.5/asyncio/selector_events.py", line 723, in _read_ready
Nov  3 16:10:50 hassbian hass[480]:     data = self._sock.recv(self.max_size)
Nov  3 16:10:50 hassbian hass[480]: TimeoutError: [Errno 110] Connection timed out

One thing that can cause huge slow downs is if your sd-card is nearly full up.

I just switched from 32gb to 64gb. I noticed the lag so I upgraded to 64gb (SAMSUNG EVO PLUS 64GB MICRO SD 100MB/S) hoping the sdcard was the culprit. I made an image of my old sdcard with Win32DiskImager and wrote the image on the new sdcard with Etcher. After that I expanded the storage in the raspi-config menu. So this should be no issue right (also, the issue started before this whole process to begin with)?

@keithh666 I checked and there is plenty of space available:
image

1 Like

Install one of those free wifi network sniffers onto your phone and start looking for a really chatty device. With all these timeouts, me thinks you have a network flood going on.

I can’t find the right one for monitoring traffic, any suggestions?

I also tried switching from SQLite to “standard” which made no difference. Tonight I switched to MariaDB, no luck either…

I use the free app from Netgear

Update: all is working again.
After a very long and painfull process of starting all over with a clean installation and adding my components, sensors and automations one-by-one I came to the conclusion that MiFlora was the culprit!
I have 8 sensors which were constantly sending data and caused my Hass to fail. I disabled the component now and all is working great again.


*the 2 minute downtime is a scheduled reboot.

1 Like

you should check the cpu and io utilization…
try running something like sar or iostat
I saw a lot of lags on rpi with exactly the same sd card…

From what I can see from the component page, the Mi Flora component polls the devices, rather than receiving data continuously.

Try setting logging level INFO (or even DEBUG) for the MiFlora component to get more information on what is happening in the log file.

If I have some spare time I will check this coming weekend. I need a stable Hass during the week on work days :wink:

Thanks 4 the tip, running smooth at the moment.