mackowiakp wrote: ↑12 Aug 2019, 07:45
The purpose of such solution was idea that home automatics should work even without Internet connection working and/or power failure. The house in my meaning should not be controlled by any overseas located server/cloud.
That's also the main idea of ESPeasy.
Too bad there are still bugs somewhere that prevent achieving that goal.
I will look at the NTP related code to see if I maybe somehow missed adding a timeout to the UDPClient.
I do know that for other network related code I have added timeouts to the client objects.
One "flaw" in the design could be that it only checks for WiFi connectivity before engaging a network connection, but in this case the network is available but a host is not.
I once had added a ping-check but that resulted in other problems so that has been reverted.
Maybe I can do some background ARP requests too, to hosts contacted frequently (on ESPeasy it's a relatively short list in practice).
If no reply was given, a connection to that host should not be tried.