Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95324

Rainbird component broken after updating

$
0
0

@Szage wrote:

Hi All, I’m hoping somebody can assist.

I’ve been holding off updating Home Assistant to the latest version because I knew it had some breaking changes for the Rainbird component. Anyway, I took the dive last night and updated to v0.101.1 from v0.100.1 - without taking a snapshot first (FML) and now the new sprinkler switches won’t turn on any of my sprinklers.

After updating, I reconfigured my configuration.yaml to accommodate the new changes.
Now all I have is…

rainbird:
  host: *ip_address*
  password: *password*
  trigger_time: 10

After restarting, I can see that it has automatically added all 8 zones in states:
switch.sprinkler_1
switch.sprinkler_2
switch.sprinkler_3
… and so on

But when I try to turn any of them on it fails with:

Status request failed with wrong response! Requested 01 but got 00:
{'type': 'NotAcknowledgeResponse', 'commandEcho': 57, 'NAKCode': 4}

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
    connection.context(msg),
  File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/rainbird/switch.py", line 99, in turn_on
    int(kwargs[ATTR_DURATION] if ATTR_DURATION in kwargs else self._duration),
  File "/usr/local/lib/python3.7/site-packages/pyrainbird/__init__.py", line 137, in irrigate_zone
    lambda resp: True, "ManuallyRunStation", zone, minutes
  File "/usr/local/lib/python3.7/site-packages/pyrainbird/__init__.py", line 202, in _process_command
    response = self.command(cmd, *args)
  File "/usr/local/lib/python3.7/site-packages/pyrainbird/__init__.py", line 195, in command
    decoded,
Exception: Status request failed with wrong response! Requested 01 but got 00:
{'type': 'NotAcknowledgeResponse', 'commandEcho': 57, 'NAKCode': 4}

Really hoping somebody can help.
Thanks in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>