-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Errno 107] Socket not connected #202
Labels
bug
Something isn't working
Comments
@Crashman1983 I have added a handling in the main branch. |
If the values could not updated, e.g. network error, the sensor values should become the "unavailable" state. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This happened a few times since I started to use the new version of Luxtronik. Have not seen this before. It results on complete loss of all entities (unavailable) until I restart HA.
Logger: custom_components.luxtronik2
Source: custom_components/luxtronik2/lux_helper.py:157
Integration: Luxtronik
First occurred: 14:58:47 (841 occurrences)
Last logged: 17:18:47
Unexpected exception when checking if a socket is closed
Traceback (most recent call last):
File "/config/custom_components/luxtronik2/lux_helper.py", line 157, in _is_socket_closed
data = sock.recv(16, socket.MSG_DONTWAIT | socket.MSG_PEEK)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 107] Socket not connected
The text was updated successfully, but these errors were encountered: