subscribe to our Youtube


14455 questions

17168 answers


0 members

We are migrating to our new platform at Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
313 views 1 comments
by anonymous
Just need some advise. I need similar functionality as "ping/wget reboot", but instead of rebooting I need the device to trigger a relay.

Is there any out of the box setup in admin panel I could use for this. Or is this a custom script I would need to deploy.

The device is TRB141.

Thank you.

1 Answer

0 votes
by anonymous

Hello, this is Martín, Tech Support Engineer for Teltonika Networks.

There is no out-of-the-box solution to achieve what you are looking for in a TRB141, however, we invite you to read our Wiki article which explains how to use the UCI commands on the Router, which can help you write your own script for the device which achieves this.

We also have an article on Crontabs, which explains how to execute the scripts on the device, and it has a couple of examples to get started.

Best regards.

by anonymous

As Martin said in the previous comment, there's no out-of-the-box solution. However, You could try to deploy a custom script to set up the intended scenario working and use the crontab tool to periodically check the ping connection to the internet and trigger the script if the ping fails.

Below I will drop some helpful links regarding these subjects:


Change Relay status from the command line:

I hope this help to solve your query.