unicontrol > Web interface > Processes > Name
POST: http://192.168.1.255/var_set?param=pname_7&val=myprocess
will rename the Process #7 to myprocess.
Name
Represents a user-given Name of a respective process. By default it is set to process_[PROCESS NUMBER]
and can be changed to any string [VALUE]
up to 13 characters long.
It then affects:
- Processes - listed under the given name.
- Input subtopic (inactive by default) - after activation, the process' input value is published with process' name embedded in the MQTT topic or can be accessed via HTTP
GET
command with process' name embedded in the URL address. - Output subtopic (inactive by default) - after activation, regular status messages and changes of the process' ouput state are published with process' name embedded in the MQTT topic or can be accessed via HTTP
GET
command with process' name embedded in the URL address.
Keeping the process Names concise, clear and unique allow using them for addressing individual processes in the MQTT topics.
Avoiding the names consisting solely of 1 to 2-digit numbers is recommended.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=pname_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=pname_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=pname_7&val=myprocess
will rename the Process #7 to myprocess.
Learn more in HTTP API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API.