What is the best service on RUTX100 router to send or receive data?

Hi everyone,

Based on this topic Receive Router Uptime, I found a way to retrieve data.

I’m looking for a way to have this data in the cloud environment with a timestamp.

Option 1: Create a function on the cloud with a time trigger to send requests to the router and retrieve uptime data.

Option 2: The router runs a command or function or services to send uptime data to the cloud environment.

First, is there any service on the RUTX100 to support sending data?
Second question: what is your suggestion, and which option do you prefer?

Hello,

Thank you for reaching out.

The easiest way to send uptime data with a timestamp to your cloud server would be to use the Modbus TCP Server & Client service in combination with the Data to Server feature. This setup is straightforward and efficient. Below are the steps to achieve it:

Steps to Configure:

  1. Enable Modbus TCP Server
  • Log in to the router’s WebUI.
  • Navigate to Services → Modbus → Modbus TCP Server.
  • Enable the server and click Save & Apply.
  1. Set Up Modbus TCP Client
  • Navigate to Services → Modbus → Modbus TCP Client.
  • Add a new Modbus device.
  • In the configuration window:
    • Specify a Name for the device.
    • Set the Modbus Server Device Address to your RUTX10’s LAN IP.
    • If prefered leave other options at their default values.
  1. Configure Modbus Request
  • In the same configuration window, scroll down to the Request Configuration section.
  • Add a new request:
    • Name: uptime (or any preferred name).
    • Data Type: 32-bit UINT.
    • Function: Read holding registers (3).
    • First Register Number: 2.
    • Register Count: 2.
    • Enable the request.
  • Test the configuration using the Request Configuration Testing section by clicking the test icon.
    image
  1. Configure Data to Server
  • Navigate to Services → Data to Server.
  • Add a new instance by entering a collection name and clicking Add.
  • In the Data Configuration window:
  1. Collection and Server Configuration

As a result, you should receive uptime data with a timestamp to your cloud server periodically (every minute):

If you have further questions or need clarification, feel free to reach out.

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.