Hassio.io 10 second warnings

Hassbian with HA v0.70 here.

I am getting:

Log Details (WARNING)
Update of media_player.sony_bravia_tv is taking over 10 seconds

and:

Log Details (ERROR)
JSON request error:{
“id”: 1,
“error”: [
7,
“not power-on”
]
}

Hass.io 0.71.0 on Raspberry PI and I’m getting…

Update of sensor.efergy_xxxxxx is taking over 10 seconds

Have these errors too. Hass.io always latest version.
Had them before too on hassbian.
Both on Rpi3.
I just ignore them. Everything works, so stopped bothering.

I also have the same with HassOS 1.7 on RPi 3B+ 64 Bit with quite a few addons installed and activated (Samba Share, SSH Server, MariaDB, NGINX, etc.). I have a fast SD card.

What I mentioned is, that if more configuration is added, there are more such messages. Since yesterday I also get the 10 seconds warning on configuration. I use home assistant for more than 4 month now and I had no other problems with that. I think it is just normal because of the slowness of the Raspberry Pi as hardware host.

Maybe the developers can adjust those warnings or the timeout for Raspberry Pi platform, so that it will match the performance of it… :slight_smile:

I’m also getting non-stop warnings.
But it’s more than just filling up my logs. After a couple hours of running, my installation no longer works. The dashboard will not come up and in many cases, the page does not respond at all.

I’m new to HA, but I’m a software engineer so I’ve been probing around.

My setup is slightly different than many; I’m running HA in a container on a pi 3B.
I know that’s basically what HASS.IO does, so I cant imagine this would be the source of things (although who knows at this point).

I’ve been looking through the logs and I cant find any one ERROR or event which kicks off the situation.

While I have not yet done this, I’m pretty close to setting up a chron job to restart the container every 2 hours

I do not know about docker, but I had some performance issues at the beginning of my HASS adventure.
My solution started with looking at the performance of my Pi3.
What is your RAM and is your CPU doing in those 2 hours?
(I eventually found a memory leak and home-assistant_v2.db was way too big 1 GB a day)

I use:

   #system monitor
 - platform: systemmonitor
   resources:
     - type: disk_free
       arg: /
     - type: memory_use_percent
     - type: memory_free
     - type: swap_use_percent
     - type: processor_use
     
 - platform: command_line
   name: CPU Temperature
   command: "cat /sys/class/thermal/thermal_zone0/temp"
   unit_of_measurement: "°C"
   value_template: '{{ value | multiply(0.001) | round(1) }}'
   
 - platform: command_line
   name: db_file_size
   command: "du -m /config/home-assistant_v2.db | cut -f1"
   unit_of_measurement: 'MB'
   value_template: '{{ value | int - 1 }}'
2 Likes

Same warnings for me on a RPi3 with hass.io :frowning:

Any news regarding this issue. I get this warning for each and every component at each system restart using a raspberry pi 3 b. Do you think a 3b+ could help out because of its better network card?

I’ve just started getting these for one Waze sensor. Odd because I have two different Waze sensors, one for commute to work and one for the commute home, and only one is erroring.

This isn’t limited to the RP, I also get them in docker. The sensors are smartthings sensors so it’s possible that they’re going all the way to the smartthings portal for status. The dot is an amazon dot, which again is amazon.com portal. I REALLY wish it would say took XX which is over 10 second limit. And that you could adjust the timeout.

2019-02-10 20:26:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.modem is taking over 10 seconds
2019-02-10 20:41:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hyf1re is taking over 10 seconds
2019-02-10 22:49:16 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.frenck is taking over 10 seconds
2019-02-10 23:36:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.lr_light is taking over 10 seconds
2019-02-10 23:47:59 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.littlewhitemouse is taking over 10 seconds
2019-02-11 02:07:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.office_charger is taking over 10 seconds
2019-02-11 02:29:59 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.kitchen_light2 is taking over 10 seconds
2019-02-11 02:31:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.frenck is taking over 10 seconds
2019-02-11 03:07:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.aram_office_dot is taking over 10 seconds
2019-02-11 03:27:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.office_charger is taking over 10 seconds
2019-02-11 04:34:04 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.office_charger is taking over 10 seconds
2019-02-11 05:00:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.kitchen_light2 is taking over 10 seconds
2019-02-11 07:10:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.littlewhitemouse is taking over 10 seconds
2019-02-11 07:26:04 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.modem is taking over 10 seconds

I have this warning with SQL sensor too, PI 3 B+ Sandisk Ultra SD card, the database is MarialDB

Pretty much the same thing with Maria DB, Load (5m) is 0.65, got plenty of hd space and memory usage at 63%. Is there anyway to troubleshoot what’s causing this? Also does anyone know how to flush MariaDB? Mine is set to delete every 2 days maybe thats the culprit?

Is anyone using a mesh network? I was getting hundreds of timeouts, both at start up, and throughout the day. I realized it was because my RPI3 was connected to one of the extenders on my mesh network, and not the main router. Once I moved the RPI3 to my main router, all my timeouts went away.

I just posted this on the forum.
https://community.home-assistant.io/t/hass-io-timeout-issues-using-mesh-network/150585

Im using a mesh network from (TP-LInk Deco M5) and in de app of TP Link disabled the MESH option for specific device my RPI3 HA system. So RPI will always stay connected to the same wifi point.

Same here, fully up to dat an running hassos coemre on a nuc8 i5

Same issue here with hassio in a Raspberry Pi 3, could it be related to the database holding too much data? mine has around a month or two of data (size of home-assistant_v2.db file is 500MB), and I am thinking on deleting the database so home assistant creates a new one empty

yup, same here. ring doorbell integration:

Log Details (WARNING)

Logger: homeassistant.helpers.entity
Source: __main__.py:342
First occurred: 2:48:01 PM (1 occurrences)
Last logged: 2:48:01 PM

Update of camera.deurbel is taking over 10 seconds

Having the same issues here. Hassio 0.109.2 on raspberry pi 3.

2020-05-02 19:16:50 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2020-05-02 19:16:51 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2020-05-02 19:16:51 WARNING (MainThread) [homeassistant.setup] Setup of updater is taking over 10 seconds.
2020-05-02 19:17:00 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform darksky is taking over 10 seconds.
2020-05-02 19:17:04 WARNING (MainThread) [homeassistant.setup] Setup of hacs is taking over 10 seconds.

I added timeout: 60 in my REST switch to fix that specific issue

HI Metropolis,

Are you able to tell what the RESTful switch configuration should look like ?

1 Like