TRB246 – Data to Server: only one Data Input received when multiple inputs are configured in the same Collection

Hello,

We are currently using a Teltonika TRB246 with firmware version TRB2M_R_00.07.24.1.

Our setup is based on the following architecture:

Modbus RTU devices → TRB246 Serial Modbus Client → Data to Server → Node-RED

We are using the TRB246 as a Modbus Serial Client to periodically read data from our Modbus devices. The Modbus communication itself is working correctly and we are able to retrieve the required values from the serial Modbus devices.

We then use the Data to Server functionality to send these values to our Node-RED instance.

Problem

When we configure only one Data Input inside a Data to Server Collection, everything works as expected: the corresponding value is correctly sent by the TRB246 and received by Node-RED.

However, when we configure two Data Inputs in the same Data to Server Collection, the TRB246 still appears to send the data, but Node-RED only receives one of the two Data Inputs.

For example, our Collection contains:

  • Data Input 1: input1
  • Data Input 2: input2

Both inputs are configured and contain valid Modbus data.

We would expect Node-RED to receive both values in the same message/payload.

However, Node-RED only sees one of them.

Expected behavior

For example, if the two inputs contain:

input1 = 123
input2 = 456

we would expect to receive something similar to:

{
    "input1": 123,
    "input2": 456
}

Actual behavior

Node-RED only receives one of the two inputs, for example:

{
    "input1": 123
}

or, depending on the configuration/order:

{
    "input2": 456
}

The second Data Input is not present in the payload received by Node-RED.

payload example from nodered:

{“{“sensor_values”:”:{“{“raw_data”:“5B3131305D”,“name”:“Enthalpy”},{“raw_data”:“5B32315D”,“name”:“Temperature”},{“raw_data”:“5B3737395D”,“name”:“Relative_Humidity”},{“raw_data”:“5B2D31325D”,“name”:“DewPoint”},{“raw_data”:“5B3433375D”,“name”:“Absolute_humidity”}”:“”}}