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
RFLink TCP mode does not implement ping to keep connection alive - connection times out #41251
Comments
Tagging @lbschenkel and @aequitas |
I think that an approach like this can be implemented for RFLink serial connections (when host: None). |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This is still an open issue |
I can only upvote this! actually it may be easier to tweak TCP KeepAlive settings, I would have done it myself if I was able to tell where TCP socket is created in the code! |
Fantastic, thank you so much for implementing this. |
The problem
HA RFLink does not perform connection maintenance in TCP mode to keep connection alive. It should periodically perform the "ping" command keep connection, else after 300 seconds the connection times-out. RFlink implements a hello-protocol (see http://www.rflink.nl/blog2/protref) where if the client sends “10;PING;” RFlink replies back with “20;99;PONG;”.
Raised in forum: Implement RFlink ping
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
Workaround:
The text was updated successfully, but these errors were encountered: