Closed dredjohn21 closed 2 years ago
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zwave_js documentation zwave_js source (message by IssueLinks)
You'll need to post a full log of the add/interview process, the snippet is missing earlier information. See instructions.
Regardless, this is a driver or network issue, HA doesn't have any role in the inclusion and interview. There is a similar open issue for the ZEN72 (can't tell for sure w/o logs) with a pending fix. If that is the right fix, your only option, aside from switching to zwavejs2mqtt, would be to wait for a new driver and then add-on release. It's not possible to install custom device files in the official add-on (but it is in zwavejs2mqtt).
You could also try repeating the interview, one or more times, maybe it will make it through. Or, try including without security, maybe that will have an effect.
Thanks @kpine I attached the log w/ debug on (note: I think the first bit of log activity for this device was me turning off the light first). And fingers crossed the pending fix you linked to solves the problem.
Yes, it's the same problem.
Cool thanks for confirming @kpine - have a nice weekend
The problem
I got an error message “failed to interview device” for my Zooz 72 device through the UI. I’m using the latest zwavejs version (0.1.60).
I contacted Zooz and they advised they have heard of clients having issues with zwavejs and recommended I use the MQTT zwavejs add on, but would prefer to use this official implementation.
What version of Home Assistant Core has the issue?
core-2022.6.0
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
Z-wave js
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zwave_js
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
I also noticed this error in the logs after the latest core upgrade:
Logger: homeassistant.components.websocket_api.http.connection Source: components/zwave_js/light.py:354 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 7:55:27 PM (1 occurrences) Last logged: 7:55:27 PM
[547157835008] Z-Wave error 1405: The node failed to decode the message. (ZW1405) 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 1704, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1741, 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 964, 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/light/init.py", line 553, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/zwave_js/light.py", line 293, in async_turn_on await self._async_set_brightness(kwargs.get(ATTR_BRIGHTNESS), transition) File "/usr/src/homeassistant/homeassistant/components/zwave_js/light.py", line 354, in _async_set_brightness await self.info.node.async_set_value( File "/usr/local/lib/python3.9/site-packages/zwave_js_server/model/node/init.py", line 446, in async_set_value result = await self.async_send_command( File "/usr/local/lib/python3.9/site-packages/zwave_js_server/model/node/init.py", line 403, in async_send_command result = await self.client.async_send_command(message, kwargs) File "/usr/local/lib/python3.9/site-packages/zwave_js_server/client.py", line 103, in async_send_command return await future zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 1405: The node failed to decode the message. (ZW1405)