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
264 views 4 comments
by anonymous
Hi

I'm trying to activate the relay output by Post/Get.

What am I doing wrong?

1 Answer

0 votes
by anonymous

The below answer is assuming that you have enabled POST/GET with Username: admin & Password: Admin123

So the POST/GET URL is as below.

http://192.168.1.1/cgi-bin/io_state?username=admin&password=Admin123&pin=relay0&state=closed

The "relay0" can be replaced with the necessary parameters as given below for controlling other I/O pins.
 

din1    - 4PIN input
dout1   - 4PIN output
din2    - Digital input (only for passive sensors)
dout2   - Galvanically isolated open collector output
relay0 - Digital relay output
iio     - Digital galvanically isolated input 
adc0     - Analog input
acl0     - Analog Current loop

Hope this helps..!!

Regards

Clive Simon Victor Pinto

by anonymous

I'm still getting the same error message in the browser:

"Unsupperoted device type for relay0
Error commiting changes
An error has occured"
Any Idea?


-Luca
by anonymous
Can you please give me the FW version you are using so that i can test things out at my end ?
by anonymous

Hi,

I currently use RUT9_R_00.07.01.2 

by anonymous

I have tested it in the given FW and it seems to work.

   

Try clearing history & cache in your browser or try using another browser.

Also try disabling your firewall.

If its still not working i have uploaded my Backup file. You can restore it and try this command in your browser.

http://192.168.1.1/cgi-bin/io_state?username=admin&password=Admin123&pin=relay0&state=closed\

Hope this helps.

Regards,

Clive Simon Victor Pinto