TRB245: Trigger Data to Server via CLI

Hey, is there a way to trigger a Data to Server Instance via ssh / cli ?

Greetings, @marius-machts,

Welcome to the Teltonika Community!

You can manually trigger or enable a Data to Server instance using UCI commands. To view all existing instances and their identifiers, run:

uci show | grep data_sender

You should see output similar to the example below, where the instance names are highlighted (e.g., data_sender.1, data_sender.2, etc.):

These same instances correspond to what you see in the WebUI under Services → Data to Server.

To enable a specific instance—for example, collection1 (which typically corresponds to data_sender.1)—use the following commands:

uci set data_sender.1.enabled='1'
uci commit data_sender
/etc/init.d/data_sender restart

After applying these commands, running the UCI show | grep data_sender again should show the instance with:

enabled=‘1’ means that the instance is enabled.

For more information regarding UCI commands, you can refer to this documentation:

If you have any additional questions or need help interpreting the output, feel free to let me know - happy to assist.

Kind regards,
V.

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