The reason is that my Home Assistant is no more able to interact with my zwave devices without a reboot of the zwavejs2mqtt add-on.
When I look at “server control” logs I got the following errors, It says it cannot connect to the add-on :
Detailed example of one error :
Logger: homeassistant.core
Source: components/zwave_js/light.py:337
First occurred: 07:38:01 (1 occurrences)
Last logged: 07:38:01
Error executing service: <ServiceCall light.turn_on (c:038eebcbf67902429df1b6da9db882a6): entity_id=['light.bain_wc_light_shelf'], params=>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1511, in catch_exceptions
await coro_or_task
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/components/light/__init__.py", line 494, 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 283, 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 337, in _async_set_brightness
await self.info.node.async_set_value(
File "/usr/local/lib/python3.9/site-packages/zwave_js_server/model/node.py", line 449, in async_set_value
result = await self.async_send_command(
File "/usr/local/lib/python3.9/site-packages/zwave_js_server/model/node.py", line 406, 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 77, in async_send_command
await self._send_json_message(message)
File "/usr/local/lib/python3.9/site-packages/zwave_js_server/client.py", line 329, in _send_json_message
raise NotConnected
zwave_js_server.exceptions.NotConnected
I don’t see specific error in zwave2mqtt addon logs tab (still reports device value correctly), but
- my motion detector don’t trigger anymore automation in ha,
- my remote button doesn’t switch on any light when i press on it,
- my door opening sensors doesn’t trigger notification
… until I restart the add-on.