unicontrol > Web interface > Processes > On/Off button
On/Off button
Pressing an On
or Off
button immediately sets the process' output's state to ON
or OFF
, respectively.
The process and its asigned output then proceed to behave as if the state change was initiated by the standard operation with all relevant aspects including,
but not limited, to the Idle/Running time, Fade in/out,
Rising/Falling edge, Publish, or triggering the Secondary outputs.
HTTP
Device will accept HTTP POST
method on following addresses:
- Named - http:\\
[ip]
\out_set?pname=[process name]
&stat=[stat]
- Unnamed - http:\\
[ip]
\out_set?p=[id]
&stat=[stat]
[stat]
equal to 0 and 1 turns the output OFF
and ON
, respectively.
MQTT
This command can be sent via MQTT. Learn more in MQTT API.