Data Buffering in RUT956

Hello,

I am using the RUT956 router and have configured it to send data to AWS every minute. While I am receiving data for each minute without delay, it appears to be buffered, as I end up receiving around 43-49 buffered data points at once. I have also updated the firmware, but the issue still persists. Could you please help me understand how to resolve this issue?

Thank you.

Hello,

Sorry, but to troubleshoot this efficiently I need more information:

  • What protocol are you using to send data to AWS?
  • Are you using the Data to Server feature?
  • What kind of data are you sending?

Kind regards,

Lukas

Hi,

I am using Modbus serial communication to send energy management data to AWS. I have RUTX50, RUT951, and RUT200 routers, and all of them are experiencing the same issue. I have also tried using Modbus TCP Master, but the problem persists. Could you please guide me on how to resolve this issue?

Thank you.

Hello,

I would like to confirm a few details to better understand the situation:

  • Are you sending Modbus serial data to a remote server on AWS? If so, could you specify the type of server—whether it is an MQTT or HTTP server?
  • Could you also clarify the method you are using to send the data? Are you utilizing the Data to Server feature, or is it an MQTT Modbus Gateway?

Having this information will help in identifying the potential cause of the issue.

Additionally, could you provide screenshots of your configuration (you can blur sensitive information if there is any)?

Kind regards,
Lukas

Hi,

I am sending data through MQTT. For your reference, I have attached snapshots of my configuration.

Thank you.



Hello,

I suspect the issue might be in Modbus serial client settings. If I understand your setup correctly, there basically should be two periods in the whole configuration:

  1. Modbus serial client:
    Frequency > Period
    Period > This indicates of how often your router will request Modbus data from a serial device. If it is set to 10 seconds let’s say, then it will generate ~6 data points per minute.
    Timeout > Indicates how long in seconds will router wait for the response
    https://wiki.teltonika-networks.com/view/RUT955_Modbus#Modbus_Serial_Client

  2. Data to Server feature (From the provided screenshots I notice that you’re using older FW, so it might be named differently):
    Period > Yours is set to 60, meaning that requested, received and buffered Modbus data will be sent to your MQTT server on AWS every 60 seconds.

These two periods need to match, for example, if you set both periods to 60 seconds, then data will be requested and sent via MQTT every 60 seconds.

I suggest checking that out first, hopefully, this will solve the issue.

Kind Regards,
Lukas

1 Like

Hi,

I have adjusted the period in Modbus, and the buffering issue has been resolved. However, there is still some initial buffering.

Thank you.