Open scharrrfi opened 6 months ago
Update: I have done some futher investigations with async debug mode. It seems, that the problem come from a entity of the Homematic(IP) Local Integration, which I have integraded to the blueprint for the outside temperature. After remove the temperature entity from the blueprint, HA seems to be stable again without errors in the log.
I think, the blueprint try to update the temperature too often, so that the bug in the custom integration causes to crash HA.
Now I am more confused. For more investigation I have added the temperature entitiy back to the NSPanel blueprint with activated async-debug-mode. No errors. Only warnings from the Homematic Integration like here: https://github.com/danielperna84/hahomematic/issues/1483
When I deactivate the async-debug-mode, I got the above shown errors again. When I remove the temperature entity from the blueprint, it runs finde again...
I get a feeling that something from HA side is making things take more CPU than normal, so your system is probably surviving to a combination of high CPU consumers, but it's probably at the limit, so any small change could cause a crash. The Blueprint shouldn't be that much CPU intensive, but I've also noticed some increase in CPU coming from there and have even worked in some improvements for v4.3.2. Still some space for improvement, but probably will require some work (an time) on rebuilding the architecture.
I think not, that this is a performance problem.
My HA is a proxmox virtual machine on a 8 Core i7 10th with 32 GB Ram. At the moment it can use 4 cores and 8 GB ram. That is more than enough for the system. Other people run them on a raspberry pi or slower system without performance issues.
Before version 2024.4.0 it runs smoothly for years and has no issues at all. The CPU load from the core system was normally always under 10 %.
I think there is an essential bug with some integration which use async lib of python not correct. This causes endless loops, so the system crashs sooner or later. But I am not sure, why this problem comes with the new HA version for first time.
I can confirm the problems since the update to 4.3.2. I also use the Homematic(IP) Local Integration for an outside temperature sensor wich is integraded in the blueprint. However, I have not yet investigated the connection with this further.
Could you please update your Home Assistant to v2024.4.2 and let me know if this issue persists?
No it doesn't persist!
But I am not sure, if the new HA version or this commit the reason: https://github.com/danielperna84/hahomematic/issues/1483 I switched before the update to the beta of the Homematic integration.
But now the systems seems to be stable again. Thank you for your support anyway! :)
My problem is fixed since todays ESPhome an HA (core and supervisory) update.
Ramon @.***> schrieb am Mo., 8. Apr. 2024, 19:49:
No it doesn't!
But I am not sure, if the new HA version or this commit the reason: danielperna84/hahomematic#1483 https://github.com/danielperna84/hahomematic/issues/1483 I switched before the update to the beta of the Homematic integration.
— Reply to this email directly, view it on GitHub https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/2023#issuecomment-2043326189, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4RW42BI4JJIR3GZTPD6YA3Y4LKDFAVCNFSM6AAAAABF3F63FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGMZDMMJYHE . You are receiving this because you commented.Message ID: @.***>
Unfortunately, it only worked for a few hours. Now the same problems have returned. No changes were made by me during this time.
Edward Firmo @.***> schrieb am Mo., 8. Apr. 2024, 17:43:
Could you please update your Home Assistant to v2024.4.2 and let me know if this issue persists?
— Reply to this email directly, view it on GitHub https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/2023#issuecomment-2043090694, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4RW42B2JC4R6ZZVM4EF6Z3Y4K3JLAVCNFSM6AAAAABF3F63FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGA4TANRZGQ . You are receiving this because you commented.Message ID: @.***>
After HA restart it works again. For now ...
Message ID: @.*** com>
Try to use beta of the Homematic(IP) Local Integration 1.59.0b0
This should solve the problem.
I'm still having the issue and had to disable the blueprints for the system to function. I also use a local sensor for the temperature (sonoff via zigbee2mqtt).
Not sure what else to try!
You can try to find the root cause of this like in this case: https://github.com/nielsfaber/alarmo/issues/920#issuecomment-2043926289
Updated to HM(IP) Local 1.59.0b0. Everything is fine for the moment.
Ok, looks like this is an issue caused by other integrations.
Here is the solution.
https://github.com/nielsfaber/alarmo/issues/920#issuecomment-2045081765
TFT Version
4.3.2
ESPHome Version
4.3.2
Blueprint Version
4.3.2
Panel Model
US
What is the bug?
Hi there,
since I have updated to HA 2024.4.0 (at the moment at 2024.4.1) I have a lot of error messages from the NSPanel blueprint in my log for both of my NSPanels:
I think this is related to https://github.com/home-assistant/core/issues/114849
After a while my HA instance has then high CPU load and do not respond / crashes completely. I can also not stop the core over SSH. I have to do a complete reboot of the machine. This behavor is only then the NSPanel blueprint is activated. When I deactivate it, my system is stable.
With HA 2024.3.x ist was also stable with no error messages.