Page 1 of 1
Rules Sendtohttp to teltonika
Posted: 21 Jan 2022, 19:25
by Koivutie7
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
Re: Rules Sendtohttp to teltonika
Posted: 21 Jan 2022, 19:59
by TD-er
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
Re: Rules Sendtohttp to teltonika
Posted: 21 Jan 2022, 20:59
by Koivutie7
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
Re: Rules Sendtohttp to teltonika
Posted: 23 Jan 2022, 15:49
by Koivutie7
Too long to send?
Re: Rules Sendtohttp to teltonika
Posted: 23 Jan 2022, 16:14
by TD-er
I think the "hostname" is made too short here, but have to check the code for it.
Re: Rules Sendtohttp to teltonika
Posted: 23 Jan 2022, 17:42
by iron
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
Re: Rules Sendtohttp to teltonika
Posted: 25 Jan 2022, 21:23
by Koivutie7
Very Thank You! Now it works like an idea, I put a spot on it SendToHTTP wait for ack.