unicontrol > Web interface > Processes > Output > Mem Value
POST: http://192.168.1.255/var_set?param=outval1_1&val=2
will set the Mem value on Process #1 to
Mem value
Determines the number added to, deducted from or saved into 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.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=outval1_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outval1_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outval1_1&val=2
will set the Mem value on Process #1 to
2
.
Learn more in HTTP API.
MQTT
This parameter can also be accessed via MQTT using [PARAMETER]
= outval1
. Learn more in MQTT API.
Following message:
Topic: johndoe5896/home/garagedoor/sub/process_1/outval1
Payload: 2
will set the Mem value on Process #1 to
Topic: johndoe5896/home/garagedoor/sub/process_1/outval1
Payload: 2
will set the Mem value on Process #1 to
2
.