core: Rainbird failing

The problem

For at least the last several days, the Rainbird integration has been failing. Possibly since 2023.1.4, but maybe earlier

What version of Home Assistant Core has the issue?

2023.1.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

rainbird

Link to integration documentation on our website

https://www.home-assistant.io/integrations/rainbird/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-01-17 17:29:54.398 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')
2023-01-17 18:00:53.300 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')
2023-01-17 18:00:54.392 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')
2023-01-17 18:01:05.166 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')
2023-01-17 18:12:05.307 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')
2023-01-17 18:12:14.354 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Timeout fetching Rainbird Zones data
2023-01-17 18:17:34.355 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Timeout fetching Rainbird Zones data
2023-01-17 18:49:53.257 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')
2023-01-17 18:49:54.355 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Timeout fetching Rainbird Zones data
2023-01-17 18:50:05.169 ERROR (MainThread) [homeassistant.components.rainbird.coordinator] Error fetching Rainbird Zones data: Error communicating with API: Error from API: 503, message='Service Unavailable', url=URL('http://192.168.1.26/stick')

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 25 (14 by maintainers)

Most upvoted comments

If you get debug logs from the client then it may inform. Using logger:

logger:
  default: info
  logs:
    homeassistant.components.rainbird.coordinator: debug
    pyrainbird.async_client: debug

My generally impression is that the device returns 503 Service Unavailable when it is busy.

One thing I am confused by is why you’re seeing this so often. My impression was that you should only see this if the device ping pongs between healthy and not-healthy, so it implies some requests are succeeding in between. I am confused by that because the polling time is every minute.

The debug info may give us insights to be able to answer those questions.