FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
576 views 2 comments
by
I understand that the RUT955 supports rules but I can't figure out how to set the relay contacts to close when the device changes from SIM1 to SIM2 and vice versa.

Is this possible?

If so, how do I achieve that?

1 Answer

0 votes
by anonymous
Hi,

There's no rule in the WebUI that could do this. Only way is to write a custom script that periodically checks which SIM slot is in use and changes the state of the Relay output based on that.
by
Thank you for the reply.

Do you know where I can look to find out how to write such a script?

Ash
by anonymous
You can enter the script in the System → User Scripts page. The language that should be used is shell. But I'm afraid I won't be able to help you with actual script. :)