RUT241: Data to server instance limit

Hi,
I know, there´s at least one topic meantioning this:

Is there a way to increase the number of data senders? We need 11.
Can this be changed e.g. using the ssh terminal, editor etc.?

Application:
One product of our company has a base PLC and up to 10 slave PLCs.
We want to send the data of each device to one corresponding device in Thingsboard using MQTT, each device has own credentials.
Until now, no customer ordered all 10 slaves, but now one did :slight_smile:

What is the reason for this limit, as 11 Modbus-Devices are possible?

Hello,

The limit of collections and data inputs can indeed be increased using the CLI by editing the data sender configuration file. Please follow these steps:

  1. Connect to the router’s CLI (via SSH or terminal).
  2. Execute the command:
vi /etc/config/data_sender
  1. Under the section:
config settings 'settings'

Add the following lines:

option max_collections '11'
option max_inputs '11'

To edit the configuration in vi:

  • Press i to enter insert mode.
  • After making the changes, press Esc.
  • Type :wq and press Enter to save and exit.
  1. The maximum values for both max_collections and max_inputs are 128.
  2. After changes in config file are made execute /etc/init.d/data_sender restart command.

Once these changes are applied, it should be possible to create more collections and data inputs via the WebUI.

Let us know if you need further assistance!

Best regards,

Thank you for your quick reaction.
I did so, but it is still not possible to add the 11th data sender using the router GUI.
I will try to add the config manually to the file “data_sender”.

EDIT: Adding the parameters manually tp the file data_sender worked. Just had to add the certificate via GUI. Now all data of all 11 devices are sent.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.