Sending SMS from RUT 200 With Modbus TCP Slave register value

Hello,

I am having a RUT 200 and Modbus slave device which is connected as Modbus TCP/IP slave.I need to send an SMS along with Modbus register value whenever the register value changes.I am able to communicate with Modbus device and tried to send a SMS by using Alarm configuration but it allows only Text no provision to add register value.

Please let me know is there any way to send register value also.

Hi, please remove your image since it contains your phone number.. or blur ir out and re-upload it.

SMS content you send is usually static (whatever message you send is what you’re going to get).

For your desired use-case, you’ll 100% need a custom script to be used, you can’t achieve this normally via the WebUI. To my knowledge, Teltonika Support doesn’t provide support with custom scripts, so you’ll have to make one yourself.

You can:

  1. Periodically read Modbus registers using a script

  2. Detect value changes

  3. Send a custom SMS with the actual value

Alternatively, you can also utilize the API, but this won’t achieve SMS messages, rather you’ll just get the requested data, which can then be forwarded somewhere: https://developers.teltonika-networks.com/

Hi,

Thanks for alerting.. I have re uploaded the image with number blurred.

May be I will have to try with Custom scripts I am not expert with custom scripting any example would be helpful.

Thanks for your reply.

Hi there,

Understandable, I’d recommend using chatgpt, scripts I’ve used in the past were working quite well with some adjustments. Examples can be found in their Wiki: User Scripts examples - Teltonika Networks Wiki

Hello,

Hopefully your questions have been answered. As mentioned by the user above, we are unable to provide support with custom scripts as they are out of our technical support scope. Sending register values paired with the text message will be impossible without the use of custom scripts.

Regards,
M.

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