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
135 views 0 comments
by anonymous

Hello,

I have the following setup with 2 Teltonika products: 

  • RUT240 mounted in location with cellular reception
  • 70m network cable
  • RUTX10 connected to RUT240 via 70m network cable (LAN), mounted in a location with no cellular reception
I want to get the following functionality:
  • I send a SMS to the RUT240
  • RUT240 sets a command to switch RUTX10 Digital Output (Open collector output)
I have seen, that I can control RUTX10 Digital Output via http post/get requests, like
http://192.168.1.1/cgi-bin/io_state?username=user1&password=user1&pin=dout1&state=on

But how can I configure RUT240 to send a http post/get request like that?

There is the SMS Forwarding To HTTP feature on RUT240, but I think, it is not usable for that, because:

  • I don't want, that every SMS is forwarded to the RUTX10
  • I don't want to forward the SMS senders phone number to RUTX10
  • I don't know how to create that http request (http://192.168.1.1/cgi-bin/io_state?username=user1&password=user1&pin=dout1&state=on) in exact that way.
So my question is - is it possible to do a configuration like that?
best regards
Michael

1 Answer

0 votes
by anonymous
Hi,

If you are using the latest version of the RUT240 firmware (RUT2_R_00.07.01), then it contains the functions you need. The instructions for updating the firmware can be found at the link https://wiki.teltonika-networks.com/view/RUT240_Firmware_Downloads

You can read more here https://wiki.teltonika-networks.com/view/RUT240_Mobile_Utilities#SMS_Forwarding

You can also configure sending a POST request by SMS command.

Regards