Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question/Issue: Sometimes device does not react or the integration need a restart (on my system) #7

Open
0rTiN opened this issue Aug 15, 2024 · 0 comments

Comments

@0rTiN
Copy link

0rTiN commented Aug 15, 2024

Hi,
maybe it is an local affect on my virtual system, therefore I tagged this as an question!

Sometime when I use a device related to the homeduino integration the device does not react or throws an error:
image

2024-08-15 09:30:45.696 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140266834151744] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 637, in async_handle_light_off_service await light.async_turn_off(**filter_turn_off_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/switch_as_x/entity.py", line 162, in async_turn_off await self.hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/homeduino/switch.py", line 262, in async_turn_off if await self.coordinator.rf_send( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/homeduino/__init__.py", line 133, in rf_send if await transceiver.rf_send(protocol, values): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/homeduino/homeduino.py", line 435, in rf_send response = await self.protocol.send(packet) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/homeduino/homeduino.py", line 194, in send raise HomeduinoResponseTimeoutError( homeduino.homeduino.HomeduinoResponseTimeoutError: Timeout while waiting for command response

Seems to me that a timeout could be to short? Sometimes a 2nd or 3rd try works, but sometimes it is necessary to reload the integration to make it working. Has anybody else the same behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant