-
Notifications
You must be signed in to change notification settings - Fork 282
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
MDNS connection failed after router restarts. #166
Comments
I encountered this issue before. My solution is to comment out this line. |
Is this solution stable? Have you tested it in the long run? |
Hello sir, do you mind connecting on any social media? I'm new into this technology and I want to learn more about it. |
Sorry I don't have a global social media. Github would be fine for us. |
Please refer to this repo. It is a framework build base upon esp8266. It includes some common used functionalities as you can see them in the top menu of the screenshot. |
Hello,
I found this small problem, When the ESP8266 is on and the router goes off, on reconnection with router the Homekit accessories become 'not responding'. And when I restart the ESP, the accessories are back online.
ps, I have used MDNS.announce() for every 10 seconds and everything works properly except this edge case.
I found a temporary solution though, it looks like when the connection is found after being disconnected, the MDNS service starts but the connection to the client is not made, I removed the line 3169 in arduino_homekit_server.cpp which is a return statement, to make the function always start making connection to the client when the device gets reconnected.
But this leads to blocking of Loop when the internet in the router is lost and I cannot afford that. Hence this workaround was a big flop. Can anyone help me solve this problem?
The text was updated successfully, but these errors were encountered: