How Your Device Connects to the Internet

Your LeakNet device uses a smart system to manage its internet connection, ensuring it's always working efficiently. It goes through different stages, or states, to connect and operate.


Understanding the Connection States

Your device can be in one of these connection states, indicated by its behaviour and its status LED light:

  • Offline: In this state, your device isn't connected to the internet. This can happen if there's no Wi-Fi network available, if the Wi-Fi credentials are incorrect, or if the device is intentionally configured for offline operation.

    • What it means for you: Your device will continue to monitor for leaks and manage your valve locally, but it won't send data to the cloud or receive remote commands until it reconnects.
    • Important Note: If there's no saved offline configuration, your device will beep 5 times and then attempt to retrieve a configuration from the cloud every 2 minutes for up to 3 attempts. If it's still unsuccessful, it will remain in offline mode with warnings.
    • Status LED light: Breathing white (if it has synchronized time) or breathing orange (if it doesn't have synchronized time).
    • Timings: Your device will wait 30 minutes before attempting to connect to Wi-Fi again. This interval helps conserve battery and prevents constant, unsuccessful connection attempts.
  • Connecting: This is the initial state when your device first powers on or after a prolonged period offline. Your device is actively trying to establish a Wi-Fi connection. It searches for known networks and tries to join one.

    • What it means for you: The device is working to get online. This phase might take a moment. If it takes too long or repeatedly enters this state without success, there might be an issue with your Wi-Fi network or the device's Wi-Fi settings.
    • Status LED light: Blinking green
    • Timings: If the device can't successfully connect to Wi-Fi within 2 minutes, it will switch to the "Offline" mode.
  • Connected: Your device has successfully joined a Wi-Fi network. However, it's not yet fully communicating with the FlowReporter cloud. It's performing initial checks and setting up its online features.

    • What it means for you: Your device has a network connection, but it's still preparing to send and receive data from our cloud platform.
    • Status LED light: Blinking cyan
    • Timings: Your device will try to establish a full connection with the cloud for up to 30 seconds. If it fails (usually because of firewall issues), it will switch to the "Offline" mode. 
  • Running: Your device is fully connected to the internet and actively communicating with the FlowReporter cloud. It's sending data (like flow and temperature readings) and receiving commands (like valve controls or configuration updates).

    • What it means for you: This is the normal operating state. Your device is online, reporting data, and responsive to remote commands.
    • Status LED light: Breathing cyan
    • Timings: If your device experiences consistently low signal strength and low memory (after more than 30 disconnections), it may temporarily switch to "Offline" mode and attempt to reconnect after 5 minutes to conserve resources.

How Your Device Stays Connected & Manages Data

Your LeakNet device has built-in features to ensure reliable data reporting and system health.

  • Data Recording: Data from sensors, such as flow readings, is recorded at intervals as frequently as every 30 seconds. The exact recording frequency can vary depending on the specific sensors connected and your device's configuration.
  • Data Sending: Recorded data is sent to the cloud at least every 60 seconds (depending on your device's configuration and the specific sensors connected which mean it may be longer).
    • Retries: If sending data fails, your device will retry the transmission up to 5 times. If it continues to fail, the device will temporarily move to the next batch of data and try sending the failed data at a later time.
    • Offline Data: Any leak cable configurations or alerts that failed to send while offline will automatically be retried once an internet connection is re-established.
  • System Health Checks:
    • Your device performs a general memory check every 30 minutes. If available memory drops dangerously low, it will trigger a restart to free up resources and maintain stable operation.
    • It sends its basic status (like temperature, battery, and power levels) to the cloud every 60 minutes when connected. If this status update fails, it will attempt to send it again after 55 minutes, ensuring it tries once more within that hour's cycle.
  • Monthly Reset: To ensure optimal performance and refresh all internal processes, your device will perform a soft reset once a month (specifically, on the 1st day of the month at 4:00 AM), but only if no water flow is detected at that time.
  • Firmware Updates: Your device will check for pending firmware updates and will safely apply them. If an update is available, and the device is in a safe state (e.g., no active leaks, valve not in motion), it will allow the update to proceed and will restart within 50 seconds to complete the process.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article