core: Z Wave JS - Errors when using "switch" functions

The problem

I have several Zooz ZEN15 plugs that have been rock solid for years. I have plugs with firmware 1.6 and 1.4 - both have shown this issue. I have 20 devices and Zooz everything on my network currently.

As of this morning, I went to toggle one of those plugs and when I clicked on the Switch function - the device node went dead and unavailable. I then tested this with other plugs that have been working and had different firmware - same result.

Unfortunately, I can’t pinpoint when this started as I just noticed this, this morning when trying to toggle a plug in my Kitchen.

What version of Home Assistant Core has the issue?

2022.7.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

z wave js

Link to integration documentation on our website

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

Diagnostics information

Logger: homeassistant.components.websocket_api.http.connection Source: components/zwave_js/switch.py:85 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 8:14:51 AM (7 occurrences) Last logged: 8:50:34 AM

[140378775617392] Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202) [140378775617392] Z-Wave error 202: The node did not respond after 3 attempts, it is presumed dead (ZW0202) [140378824026112] Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202) [140378420786752] Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 193, in handle_call_service await hass.services.async_call( File “/usr/src/homeassistant/homeassistant/core.py”, line 1713, in async_call task.result() File “/usr/src/homeassistant/homeassistant/core.py”, line 1750, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 204, in handle_service await service.entity_service_call( File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 680, in entity_service_call future.result() # pop exception if have File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 930, in async_request_call await coro File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 717, in _handle_entity_call await result File “/usr/src/homeassistant/homeassistant/components/zwave_js/switch.py”, line 85, in async_turn_off await self.info.node.async_set_value(self._target_value, False) File “/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/init.py”, line 458, in async_set_value result = await self.async_send_command( File “/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/init.py”, line 415, in async_send_command result = await self.client.async_send_command(message, **kwargs) File “/usr/local/lib/python3.10/site-packages/zwave_js_server/client.py”, line 103, in async_send_command return await future zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202)

Logger: homeassistant.core Source: components/zwave_js/switch.py:85 First occurred: 8:18:16 AM (2 occurrences) Last logged: 8:18:16 AM

Error executing service: <ServiceCall switch.turn_off (c:01G8TR3PMDA3G1GAW5RV8T4BQX): entity_id=[‘switch.kitchen_plug_1_e_microwave_z_wave_2’]> Error executing service: <ServiceCall switch.turn_off (c:01G8TR37P2KM1F57HV533E0A5V): entity_id=[‘switch.kitchen_plug_1_e_microwave_z_wave_2’]> Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/core.py”, line 1731, in catch_exceptions await coro_or_task File “/usr/src/homeassistant/homeassistant/core.py”, line 1750, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 204, in handle_service await service.entity_service_call( File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 680, in entity_service_call future.result() # pop exception if have File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 930, in async_request_call await coro File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 717, in _handle_entity_call await result File “/usr/src/homeassistant/homeassistant/components/zwave_js/switch.py”, line 85, in async_turn_off await self.info.node.async_set_value(self._target_value, False) File “/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/init.py”, line 458, in async_set_value result = await self.async_send_command( File “/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/init.py”, line 415, in async_send_command result = await self.client.async_send_command(message, **kwargs) File “/usr/local/lib/python3.10/site-packages/zwave_js_server/client.py”, line 103, in async_send_command return await future zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 202: The node did not respond after 3 attempts, it is presumed dead (ZW0202)

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.websocket_api.http.connection
Source: components/zwave_js/switch.py:85
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 8:14:51 AM (7 occurrences)
Last logged: 8:50:34 AM

[140378775617392] Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202)
[140378775617392] Z-Wave error 202: The node did not respond after 3 attempts, it is presumed dead (ZW0202)
[140378824026112] Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202)
[140378420786752] Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/zwave_js/switch.py", line 85, in async_turn_off
    await self.info.node.async_set_value(self._target_value, False)
  File "/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/__init__.py", line 458, in async_set_value
    result = await self.async_send_command(
  File "/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/__init__.py", line 415, in async_send_command
    result = await self.client.async_send_command(message, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/zwave_js_server/client.py", line 103, in async_send_command
    return await future
zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 202: Failed to send the command after 3 attempts (Status Fail) (ZW0202)



Logger: homeassistant.core
Source: components/zwave_js/switch.py:85
First occurred: 8:18:16 AM (2 occurrences)
Last logged: 8:18:16 AM

Error executing service: <ServiceCall switch.turn_off (c:01G8TR3PMDA3G1GAW5RV8T4BQX): entity_id=['switch.kitchen_plug_1_e_microwave_z_wave_2']>
Error executing service: <ServiceCall switch.turn_off (c:01G8TR37P2KM1F57HV533E0A5V): entity_id=['switch.kitchen_plug_1_e_microwave_z_wave_2']>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1731, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/zwave_js/switch.py", line 85, in async_turn_off
    await self.info.node.async_set_value(self._target_value, False)
  File "/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/__init__.py", line 458, in async_set_value
    result = await self.async_send_command(
  File "/usr/local/lib/python3.10/site-packages/zwave_js_server/model/node/__init__.py", line 415, in async_send_command
    result = await self.client.async_send_command(message, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/zwave_js_server/client.py", line 103, in async_send_command
    return await future
zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 202: The node did not respond after 3 attempts, it is presumed dead (ZW0202)

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (1 by maintainers)

Most upvoted comments

OK - I’m going to close with this as its pretty clear its not the Home Assistant integration that is the problem. There is clearly a massive bandwidth issue with the Z Wave 700 series and networks bigger than a few devices. I hope that Silicon Labs, Zooz and The Smartest Home are paying attention to these issues as its really painting a bad light on this technology. They are pushing and promoting - more security, broader reach, improved experience with the 700 series and right now, the devices are nearly unusable with larger networks. I’m hopeful that the tech may get there eventually but as it stands, they have firmware updates needed and would highly recommend people stick with the 500 series chipset until this is resolved.

As usual, thanks for all the responses and help! Great support and community!

I’ve healed, removed and added back, re-interviewed, added with and without security. Did not resolve the issue.