Hi,
I’m using docker installation on Raspberry, HA 2022-02
Have installed pyrainbird 0.5.0 - it is working with a python test script, can switch the different zones on and off.
Have installed via github and setup.py because of the issue with pip installation: https://github.com/jbarrancos/pyrainbird/issues/38
Now have installed the Rainbird HA integration - this is not working
(https://github.com/konikvranik/hacs_rainbird)
I had to remove the pyrainbird requirements because of the bug (see above) - then could configure the component. I do not use rain sensors - have configured 6 zones (“auto” does not change the issue)
But when I try to switch on/off any zone - I get this error in log:
2022-02-26 16:49:07 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [1718911544] 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 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 663, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 896, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 700, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 948, in async_turn_on
await self.hass.async_add_executor_job(ft.partial(self.turn_on, **kwargs))
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/rainbird/switch.py", line 82, in turn_on
response = self._controller.irrigate_zone(int(self._zone), int(self._duration))
File "/usr/local/lib/python3.9/site-packages/pyrainbird/__init__.py", line 136, in irrigate_zone
response = self._process_command(
File "/usr/local/lib/python3.9/site-packages/pyrainbird/__init__.py", line 202, in _process_command
response = self.command(cmd, *args)
File "/usr/local/lib/python3.9/site-packages/pyrainbird/__init__.py", line 188, in command
raise Exception(
Exception: Status request failed with wrong response! Requested 01 but got 00:
{'type': 'NotAcknowledgeResponse', 'commandEcho': 57, 'NAKCode': 4}
Connection itself seems to be ok, because I see the Firmware version of the Rainbird unit 2.9 (?).
Somebody could tell me what here can be wrong?
Maybe @konikvranik ?
Thanks!