Difference between revisions of "Template:Networking rut955 manual input output post get examples table"

From Teltonika Networks Wiki
Line 6: Line 6:
 
     <tr>
 
     <tr>
 
       <td>Turn relay output on</td>
 
       <td>Turn relay output on</td>
       <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on&pin=relay</b></span></td>
+
       <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on</b></span>&<span style="color: #0054a6;><b>pin=relay</b></span></td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Turn relay output on after a 10 second delay</td>
 
       <td>Turn relay output on after a 10 second delay</td>
       <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on&pin=relay&delay=10</b></span></td>
+
       <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on</b></span>&<span style="color: #0054a6;><b>pin=relay</b></span>&<span style="color: #0054a6;><b>delay=10</b></span></td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Turn relay output on for 5 seconds</td>
 
     <td>Turn relay output on for 5 seconds</td>
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on&pin=relay&time=5</b></span></td>
+
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on</b></span>&<span style="color: #0054a6;><b>pin=relay</b></span>&<span style="color: #0054a6;><b>time=5</b></span></td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Turn Relay output on for 5 seconds after a 15 second delay</td>
 
     <td>Turn Relay output on for 5 seconds after a 15 second delay</td>
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on&pin=relay&delay=15&time=5</b></span></td>
+
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on</b></span>&<span style="color: #0054a6;><b>pin=relay</b></span>&<span style="color: #0054a6;><b>delay=15</b></span>&<span style="color: #0054a6;><b>time=5</b></span></td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Turn relay output off for 5 seconds after a 15 second delay</td>
 
       <td>Turn relay output off for 5 seconds after a 15 second delay</td>
       <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=off&pin=relay&delay=15&time=5</b></span></td>
+
       <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=off</b></span>&<span style="color: #0054a6;><b>pin=relay</b></span>&<span style="color: #0054a6;><b>delay=15</b></span>&<span style="color: #0054a6;><b>time=5</b></span></td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Turn open collector output on</td>
 
     <td>Turn open collector output on</td>
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on&pin=oc</b></span></td>
+
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=on</b></span>&<span style="color: #0054a6;><b>pin=oc</b></span></td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Turn open collector output off</td>
 
     <td>Turn open collector output off</td>
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=off&pin=oc</b></span></td>
+
         <td><nowiki>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&</nowiki><span style="color: #0054a6;><b>action=off</b></span>&<span style="color: #0054a6;><b>pin=oc</b></span></td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>

Revision as of 14:43, 29 July 2019

Action POST/GET URL
Turn relay output on http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay
Turn relay output on after a 10 second delay http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay&delay=10
Turn relay output on for 5 seconds http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay&time=5
Turn Relay output on for 5 seconds after a 15 second delay http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay&delay=15&time=5
Turn relay output off for 5 seconds after a 15 second delay http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=off&pin=relay&delay=15&time=5
Turn open collector output on http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=oc
Turn open collector output off http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=off&pin=oc