-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error: Concurrent call to receive() is not allowed #60
Comments
automation example:
|
Yes, this is known issue. The problem is that daikin gateway accepts only one connection and sometimes it happens when getting the data from the device and setting the data at the same time it throws that error. I just need to find a time to fix that as it requires some refactoring to be done. In the meantime as a workaround you can change how often the integration query the device for new changes. In order to do that you can go to UPDATE_INTERVAL_SECONDS = 2 To something like 10 seconds (and of course restart HA) UPDATE_INTERVAL_SECONDS = 10 The drawback is that changes made on the device might take longer to appear on the HA. You can look into this issue. Keep in mind if you make a change and later reinstall/upgrade the integration the changes will be lost so you will need to update that again. |
ok, I will try this workaround. I have some new warning for further investigation:
|
ok it looks like |
the workaround didn't work for me.. I parallel use espaltherma, that readout some registers every 10s. Get some more error message with the same cause:
|
Following, hit the same issue |
I looked at your automation maybe you should increase the delay between actions as well. Try 30 seconds or 1 minute. After change has been made the integration might try to refresh the current status which can take a while to query all parameters. ESPAltherma should not cause any problems |
Will give this a try.. but the last error I get with following simple automation: (no further queries) device_id = "Space Heating"
|
I have created alpha release 1.3.9 which should address this problem. Haven't fully tested that but If you want you can try to install and test yourself. If you are using HACS you might want to switch "show beta releases" and redownload the repo. |
I will try the alpha release and give feedback. |
No more errors and my automations working as expected without changing the update interval. 💪🏻 |
I have some automations that often failes due to following same error messages for space heating and hot water tank Integration device.
Homeassistent 2023.2.2
The text was updated successfully, but these errors were encountered: