Rules Sendtohttp to teltonika

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Koivutie7
Normal user
Posts: 11
Joined: 10 Jan 2022, 09:41

Rules Sendtohttp to teltonika

#1 Post by Koivutie7 » 21 Jan 2022, 19:25

Hi, get Teltonika to send a txt message when the sauna is ready, this will not work with RUT950, RUT500 still works, serve works well.

On SaunaOn Do
SendToHTTP 192.168.2.1,2500,/cgi-bin/sms_send?username=admin&password=passs&number=00358555444333&text=Ready%20for%20the%20sauna
endon

The RUT500 did not require a password or ID

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Rules Sendtohttp to teltonika

#2 Post by TD-er » 21 Jan 2022, 19:59

Not the safest idea, but you could try to add username and password along with the hostname part.

Code: Select all

SendToHTTP myusername:mypassword@192.168.2.1,2500,/cgi-bin/sms_send?username=admin&password=passs&number=00358555444333&text=Ready%20for%20the%20sauna
N.B. not tested myself

Koivutie7
Normal user
Posts: 11
Joined: 10 Jan 2022, 09:41

Re: Rules Sendtohttp to teltonika

#3 Post by Koivutie7 » 21 Jan 2022, 20:59

Didn't work that way, I have that modem just to send a txt message, on a subnet, usg and a couple of huaways handle the traffic outwards.
Dhcp is not enabled on this txt modem.
Domoticz can send a message too ... and nodered

Koivutie7
Normal user
Posts: 11
Joined: 10 Jan 2022, 09:41

Re: Rules Sendtohttp to teltonika

#4 Post by Koivutie7 » 23 Jan 2022, 15:49

Too long to send?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Rules Sendtohttp to teltonika

#5 Post by TD-er » 23 Jan 2022, 16:14

I think the "hostname" is made too short here, but have to check the code for it.

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: Rules Sendtohttp to teltonika

#6 Post by iron » 23 Jan 2022, 17:42

Some commands being truncated. Enabling the "Tolerant last parameter:" checkmark in Tools / advanced, helps at times.

Also "SendToHTTP wait for ack:" are required by some servers.

Might have to try both or either
Attachments
ack.jpg
ack.jpg (38.12 KiB) Viewed 5352 times
-D

Koivutie7
Normal user
Posts: 11
Joined: 10 Jan 2022, 09:41

Re: Rules Sendtohttp to teltonika

#7 Post by Koivutie7 » 25 Jan 2022, 21:23

Very Thank You! Now it works like an idea, I put a spot on it SendToHTTP wait for ack.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 40 guests