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

[onewire] binding<>server connection loss after Owserver is restarted #17941

Open
Jetblack31 opened this issue Dec 21, 2024 · 0 comments
Open
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@Jetblack31
Copy link

Hello,

I have an issue with onewire binding :

Current Behavior

When the OW server is stopped (and restarted), I obtain many lines like these in the OH logs :

2024-12-21 04:17:34.403 [WARN ] [internal.owserver.OwserverConnection] - EOFException: exception while reading packet - null
...
2024-12-21 04:17:34.437 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
at org.openhab.binding.onewire.internal.owserver.OwserverConnection.request(OwserverConnection.java:304) ~[?:?]
at org.openhab.binding.onewire.internal.owserver.OwserverConnection.request(OwserverConnection.java:304) ~[?:?]
...

Following that, the connection is lost between the binding and the OWserver and sensors are not updated anymore in OH.
My current solution is to disable/wait 5 s/enable the OW Thing to restart the connection.

Environment

  • OH 4.3 (this bug is present since OH4, and did not exist on my previous OH2 installation)
  • Openhabian, Raspberry 4 Bullseye
  • The OWserver runs on a separate Raspberry Pi
@Jetblack31 Jetblack31 added the bug An unexpected problem or unintended behavior of an add-on label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

1 participant