-
-
Notifications
You must be signed in to change notification settings - Fork 46
Refreshing the map crashes Home-Assistant #421
Comments
Please activate debug logs and analyze them. They persist a restart. As written in the installation docs a RPi 3-4 should be used and I assume that your RPi has not enough power (CPU, RAM) to generate the image. Do you have running other docker containers or addons? |
To cause the crash I called the refresh service quickly few times then refreshed the browser (F5) - then Home-Assistant rebooted. The "Draw" is the last line in the log. Is there a specific thing to look for? Could be that the RPI 2b is to blame, but - for what its worth, with the same system there wasn't any issues with the live view (of the older versions). Some times the map loads correctly (when the robot is not working and when I don't over do it). The docker runs home assistant and portainer. There is also a mosquitto server running on this machine. Usually load is pretty low on the machine (2-3%) and free memory is around 0.5GiB. |
The code for generating the map has not changed recently. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It seems that this issue was solved in the last update (to v3.1.0 and HA 2024.1.2). Now the map does not cause HA to crash. But now there is increased CPU load because the map is being polled every second (or am I doing something wrong?), even when the robot is idle. |
Checks
The problem
Not sure what exactly happening. I have a picture element with the map image from the integration (not on my main tab). If I switch to the tab containing the picture element while the robot is working the map is not refreshed and after a few seconds home-assistant restarts (as in the whole system crashes and restarts itself). It also happens sometimes when the robot is not running and I call the refresh service - but not always.
I don't see anything related to that in the logs. I'm running HA 2023.9.1 in a docker container on RPI 2b.
Diagnostics information
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: