The detection time of communication failure with the server depends on two parameters in the Hub settings (Hub → Settings (⚙️) → Service):
- Server Ping Interval. The period of the pings by the Hub to the Ajax Cloud server, is set in the range from 10 to 300 seconds. The recommended and default value is 30 seconds.
- Connection Failure Alarm Delay. This is the delay required to reduce the risk of a false event of loss of communication with the server. The delay can be adjusted from 30 to 600 seconds. The recommended and default value is 300 seconds.
The connection delay is activated after 4 failed pings.
The time until the message about the loss of communication between the Hub and the server is generated is calculated by the formula:
(Ping interval * 4) + Connection Delay
With the default settings, the server records the loss of the Hub after 7 minutes:
(30 s * 4) + 300 s = 7 minutes
Reducing the time of registration the loss of communication with the Hub can be achieved by reducing the values of the ping interval and the connection delay. But this increases the possbility of a false event of loss of connection with an unstable Internet connection.