jacekk015 / zha_quirks

All quirks in one place
MIT License
146 stars 20 forks source link

_TZE200_p3dbf6qs (ts0601_trv_me167.py) error when pushing changes to device #53

Closed thomas-niphba closed 7 months ago

thomas-niphba commented 7 months ago

The _TZE200_p3dbf6qs gives me succesfully all the sensor data with ts0601_trv_me167.py. But I can not change anything on the device. If I try I get the following error message:

Traceback (most recent call last): 2024-04-01 20:59:08.084 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281473016156352] Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102> File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 63, in wrap_zigpy_exceptions yield File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 83, in wrapper return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/util.py", line 131, in retry return await func() ^^^^^^^^^^^^ File "/config/custom_zha_quirks/ts0601_trv_me167.py", line 140, in command (res,) = await self.write_attributes( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_zha_quirks/ts0601_trv_me167.py", line 106, in write_attributes await ME167ManufClusterSelf[ File "/usr/local/lib/python3.12/site-packages/zhaquirks/tuya/init.py", line 519, in write_attributes await super().command( File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py", line 228, in command return await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py", line 377, in request return await self._endpoint.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request return await self.device.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 334, in request await send_request() File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request await self.send_packet( File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 931, in send_packet raise zigpy.exceptions.DeliveryError( zigpy.exceptions.DeliveryError: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 905, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/switch.py", line 93, in async_turn_on await self._on_off_cluster_handler.turn_on() File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/general.py", line 445, in turn_on result = await self.on() ^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 82, in wrapper with wrap_zigpy_exceptions(): File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit self.gen.throw(value) File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 74, in wrap_zigpy_exceptions raise HomeAssistantError(message) from exc homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

thomas-niphba commented 7 months ago

It is resolved. There was a communication issue in my network. End devices where able to reach the coordinator, but but coordinator could not reach the end devices.