I’m setting up the Data to Server function on Teltonika TRB256 with the latest FW. I have Modbus configured and everything works: the gateway reads a value from the RS485 device register and sends it to the server via MQTT.
However, I need to add device identification (not the ClientID, because that doesn’t get included in the MQTT message) — ideally, the modem’s IMEI, the MAC address, or the device’s serial number. Is there a system variable that returns any of these values and can be used, for example, as part of the MQTT topic or as the value name? HTTP instead of MQTT is also acceptable.
If you’d like to include additional information or a serial number in your MQTT messages, you can simply create a new data input with the MNF info type. Then, select the required values in JSON or custom string formats:
These values will then be sent along with the Modbus data to your server.
Furthermore, alternatively, additional device parameters (such as modem ID, IMSI, etc.) could be added to data sending by reading modbus data from TRB as a server. More information on which modbus register parameters are available on TRB256 can be found here: