8298 questions

9759 answers

15542 comments

13863 members

0 votes
451 views 0 comments
by
Hi!

I'd like to be informed, when the input status (e.g. Analog - Voltage: Outside range) of the RUT955 changes. The aim is to have the IO status in node red for further processing.

Information by SMS ist working, but I do not know, how to configure "HTTP POST/GET" on the RUT955 and the HTML receiver (node red server) side.

Do I have to use POST or GET?

if POST:

What is the "header" like?

How is the syntax of the "Site link"?

if GET:

How is the syntax of the "Site link"?

How to fill "HTML query"?

1 Answer

+1 vote
by
Hello,

Here are some examples of POST/GET commands:

Turn open collector (OC) output ON            
http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc

Turn open collector (OC) output OFF          
http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=off&pin=oc

Turn open collector (OC) output ON after a 10 second delay
http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10

Turn open collector (OC) output ON for 5 seconds   
http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&time=5

Turn open collector (OC) output ON for 5 seconds after a 10 second delay   
http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10&time=5

Allowed pin values: oc, relay, 4pin

Regarding the other questions, I would need you to clarify those for me, as I was unable to understand them.