Skip to content

Outputs

/stm.cgi?oname

  • Set the name of the output.

    GET /stm.cgi?oname=AB
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B is the name to set, a string of up to 15 characters

    Example:

    http://192.168.1.100/stm.cgi?oname=0Lamp
    

/outs.cgi?out=out

  • Toggle the state of the output.

    GET /outs.cgi?out=outA
    
    • A is index of output OUT0-OUT5, integer 0-5

    Example:

    http://192.168.1.100/outs.cgi?out=out0
    

/outs.cgi?outA=B

  • Set the state of the output.

    GET /outs.cgi?outA=B
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B is the state to be set, integer 0-1

    Example:

    http://192.168.1.100/outs.cgi?out0=1
    

/stm.cgi?outnn

  • Invert the state of the outputs, 1 as turned off and 0 as turned on (web page only).

    GET /stm.cgi?outnn=A
    
    • A determines whether the function is enabled, integer 0-1

    Example:

    http://192.168.1.100/stm.cgi?outnn=0
    

/stm.cgi?outblock

  • Lock state of outputs - prevent changes with external commands such as HTTP requests, only Scheduler, Events, Watchdog can control the state of outputs.

    GET /stm.cgi?outblock=A
    
    • A determines whether the function is enabled, integer 0-1

    Example:

    http://192.168.1.100/stm.cgi?outblock=0
    

/outs.cgi?ortime

  • Set the return time for the output (the output will turn off automatically after a defined period of time after being turnend on).

    GET /outs.cgi?ortime=AB
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B is the number of seconds before the output is turned off, integer

    Example:

    http://192.168.1.100/outs.cgi?ortime=05
    

/outs.cgi?aout

  • Enable periodic switching of the output.

    GET /outs.cgi?aout=AB
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B determines whether the function is enabled, integer 0-1

    Example:

    http://192.168.1.100/outs.cgi?aout=01
    

/outs.cgi?atout

  • Set the time periods during which the output is turned on/off in the periodic switching mode.

    GET /outs.cgi?atout=A*B
    
    • A is index of output OUT0-OUT5, integer 0-5 (on time), 6-11 (off time)
    • B is the time in seconds, integer

    Example:

    http://192.168.1.100/outs.cgi?atout=0*10
    

/outs.cgi?oafs

  • Enable the function of turning on the output after starting the LC.

    GET /outs.cgi?oafs=AB
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B determines whether the function is enabled, integer 0-1

    Example:

    http://192.168.1.100/outs.cgi?oafs=01
    

/outs.cgi?ouet

  • Set delay after boot after which output will be turned on.

    GET /outs.cgi?ouet=AB
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B is the time in seconds, integer

    Example:

    http://192.168.1.100/outs.cgi?ouet=010
    

/outs.cgi?roafs

Added in LC3.5+ SW 1.30

  • Remember output state to restore it after restart.

    GET /outs.cgi?roafs=AB
    
    • A is index of output OUT0-OUT5, integer 0-5
    • B determines whether the function is enabled, integer 0-1

    Example:

    http://192.168.1.100/outs.cgi?roafs=01
    

Last update: 2021-02-11
Back to top