Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Latency in daikin_s21 Component Operations #21

Open
amzaldua opened this issue Apr 22, 2024 · 2 comments
Open

High Latency in daikin_s21 Component Operations #21

amzaldua opened this issue Apr 22, 2024 · 2 comments

Comments

@amzaldua
Copy link

Hello,

I've been experiencing an issue with the daikin_s21 component within my ESPhome setup, which seems to be taking an unusually long time to complete operations. According to my logs, this component is blocking for more than 600 ms, while the general recommendation is that components should block for no more than 30 ms.

Here are the relevant log entries:

[23:19:43][W][component:237]: Component daikin_s21 took a long time for an operation (611 ms).
[23:19:43][W][component:238]: Components should block for at most 30 ms.
[23:19:45][W][component:237]: Component daikin_s21 took a long time for an operation (608 ms).
[23:19:45][W][component:238]: Components should block for at most 30 ms.

This behavior is consistent and replicable. It concerns me because such extensive blocking might affect the overall performance and responsiveness of the system.

Could you please look into this? Any guidance on how to mitigate this issue or any planned updates that might address this would be greatly appreciated.

Thank you for your assistance and for the great work on the ESPhome components!

@fusionstream
Copy link

My understanding is ESPHOME sent an update that makes these messages more visible than usual but they've always been present.

@supertin
Copy link

See esphome/issues#4717

Fix is to add

logger:
  logs:
    component: ERROR

I mean, it doesn't fix the slow component, but it will stop the logs being filled with warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants