unicontrol > Web interface > Processes > Cycle > Cycles
POST: http://192.168.1.255/var_set?param=cyrep_7&val=3
will set the Process #7 output to "blink" 3 times once the predefined On event is triggered.
Cycles
Cycles define how many times the process' output switches between HIGH
and LOW
states when the process turns ON
, up to 9999 times.
If [VALUE]
= 0
is provided then the Cycle is repeated indefinitely or until the process is turned OFF
.
If a non-zero integer [VALUE]
is provided then the output repeats [VALUE]
cycles and the respective process is automatically turned OFF
afterwards.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=cyrep_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=cyrep_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=cyrep_7&val=3
will set the Process #7 output to "blink" 3 times once the predefined On event is triggered.
Learn more in HTTP API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API.