-
Notifications
You must be signed in to change notification settings - Fork 39
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
Timeout on connection lost #15
Comments
Running the bus monitor does not establish a session because KNXnet/IP is based on UDP. The client will most likely not know if a gateway drops the connection. Introducing a timeout would be a potential solution. However, it might not make much sense to have one by default. |
@takeshixx Yes, that would be awesome. |
Look here: Lines 70 to 71 in 9d16a2e
I think a possible solution would be after sending the next keepalive packet, start a timer that checks if within the next X seconds no response is received, the connection should be restarted? |
Hi, is there any configurable timeout when knxmap loses the connection to the KNX/IP Gateway? Currently when you start knxmap in bus monitor mode and then disconnect the gateway by unplugging the cable knxmap is basically stuck forever. Is there any option for timeout or reconnect on timeout?
The text was updated successfully, but these errors were encountered: