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.
+1 vote
589 views 4 comments
by
Hello,
how to do SMS custom rule to execute specific bash script or http post?

Thanks

Andrea
by anonymous
maybe can be used uci action to do it?

2 Answers

0 votes
by anonymous
Hello,

Please tell me more regarding challenge you are facing.
Can you tell me the end result of the solution?

Will be waiting for your response.
Regards
by
Hello,
I need to execute "domoticz" command and it is possible using something like this:

http://IP:PORT/json.htm?type=command&param=switchlight&idx=1&switchcmd=On

Thanks
by
I can get the same result running proper bash script in OpenWrt.
0 votes
by
So there are no options to use SMS to run custom script or call HTTP request?

Thanks again.

Andrea
by anonymous

Hi,

So far no bash scripting or interfering with other packages can be performed via SMS. Also, nothing can be done with HTTP request except than sending / reading SMS or activating output.

Of course, you can use SMS UCI API rule: https://wiki.teltonika-networks.com/view/SMS_Utilities#UCI_API_rule

This command will show, get or set /etc/config/domoticz settings

Regards.