-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
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
LCN Integration Crashes after few days #130905
Comments
Hey there @alengwenus, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) lcn documentation |
Hi @mtessmer87, |
Hi @alengwenus , Thanks vor your quick replay. The PCHK (connected to pku) runs on an separate Windows Host. |
If the system HA is running on or the PCHK host is connected via Wifi this could also cause instabilities in the TCP connection... |
Hi @alengwenus, I'm sorry for my late message.. Any other ideas you might have? regards |
The problem
Hi,
I am a newbie at HA, the Change from OH to HA was really smooth, but now i have an Problem with the lcn Integration.
The lcn integration crashes after a few days. Most of the time the integration crashes after 2-3 days. All other HA components works at this time fine, only LCN is not available.
In the Log i can find the following error, after this error, lcn is not available.
2024-11-14 08:58:11.487 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pypck/connection.py", line 106, in read_data_loop
data = await self.reader.readuntil(PckGenerator.TERMINATION.encode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 660, in readuntil
await self._wait_for_data('readuntil')
File "/usr/local/lib/python3.12/asyncio/streams.py", line 545, in _wait_for_data
await self._waiter
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1003, in _read_ready__data_received
data = self._sock.recv(self.max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: [Errno 110] Operation timed out
After a HA restart, the LCN integration works again until the error occurs again.
Any idea to solve this issue?
regards
What version of Home Assistant Core has the issue?
Core-2024.11.2
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
Lcn
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lcn/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: