Open Teddydm71 opened 2 weeks ago
Hey there @konikvranik, @allenporter, mind taking a look at this issue as it has been labeled with an integration (rainbird
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
rainbird documentation rainbird source (message by IssueLinks)
if it can help you, i attach the graph of availability of controller, sprinklers and the device_tracker of controller from my asus router.
Can you enable debug logging? What model device?
We've seen this before because the controller actually is failing requests. It can only be used with one pending request at a time, but also sometimes it just responds with failures as if its busy when not.
Hi Allen, thank you for answer. the controller model is Rainbird RC2 with integrated wifi, and I use the rainbird android app for irrigation control. At the moment i have configured 2 daily (start at 8 AM) irrigation program directly on the controller. I have attached the debug log in the Diagnostics information section. It's good for you or do you need another type of debug log? Before writing I also read the previous issues related to Rainbird integration. I haven't programmed anything on Home Assistant yet. Thank you. Edoardo.
You're right, its already the debug log. I was looking for some errors and didn't see them so thought it wasn't enabled.
2024-05-04 12:16:29.464 DEBUG (MainThread) [homeassistant.components.rainbird.coordinator] Finished fetching 192.168.1.161 data in 20.002 seconds (success: False)
The coordinator is failing to complete within 20 seconds so it is timing out. One single request is taking over 15 seconds to get the list of available stations. So, this seems accurate to me: either the device or the network are in fact being flaky.
Hi Allen, the wifi signal is excellent, but actually the LAN connection with the RAIN bird application is also very slow. However, via Cloud/Internet it is normal. I performed a factory reset of the controller and configured only the WiFi network. Now the rainbird application connects quickly. I'll try to monitor for a few days. If everything works I try to program the irrigation directly through Home Assistant. Thanks for now. I'll update you on developments.
Hi Allen, unfortunately after a few hours the rainbird integration started to be Available / Not Available again. After a few hours after reset to factory settings, the application also started to be very slow again. Yesterday I uninstalled the integration on Home Assistant and, immediately, the application loaded quickly both locally and remotely without any controller reset. Then I installed the integration again, deleted all programs on the controller and disable the application rainbird. The situation tonight is as follows: How often do you try to connect to the integration devices? Would it be possible to customize the frequency of the check? Thank you.
You can see https://www.home-assistant.io/common-tasks/general/#defining-a-custom-polling-interval for defining your own polling schedule.
Perfect!! I didn't know this option. I try to update every 12 hours. I'll inform you about how this solution works. I'm afraid that the Rainbird RC2 Controller firmware handles some events differently and if it receives too many calls it crashes Thank you so much.
I don't think this is specific to RC2. Lots of the rainbird devices are fairly sensitive -- they can only handle one request at a time. (e.g. using the rainbird app will mean home assistant can't poll it)
The problem
Hi, I installed the rainbird integration for my rainbird RC2 controller last week. Integration is often unavailable. I attach the log in debug mode.
What version of Home Assistant Core has the issue?
core-2024.5.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
rainbird
Link to integration documentation on our website
https://www.home-assistant.io/integrations/rainbird
Diagnostics information
home-assistant_rainbird_2024-05-04T10-17-00.968Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response