unicontrol > Web interface > Processes > Output > Action
POST: http://192.168.1.255/var_set?param=outmem_2&val=3
will set the Process #2 to reset the assigned memory slot to 0 once the predefined On event is triggered.
Action
Chooses the operation performed with the Memory slot selected in the Primary output.
The Memory slots represent integers saved in RAM. They can be used for counting or exchanging information between processes.
[VALUE] | Action |
---|---|
0 | none |
1 | Increase by 1 |
2 | Decrease by 1 |
3 | Reset to 0 |
4 | Set to the Mem value |
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=outmem_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outmem_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outmem_2&val=3
will set the Process #2 to reset the assigned memory slot to 0 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.