unicontrol > Web interface > Processes > Output > Publish
POST: http://192.168.1.255/var_set?param=outpub_5&val=1
will enable publishing of the Process #5 output via MQTT.
Publish
When Publish is allowed and connection with MQTT broker is established, any changes of the output state will be published as an MQTT message.
[VALUE]
of this variable may assume values 0
or False
for disabling and 1
or True
for enabling this option.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=outpub_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outpub_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outpub_5&val=1
will enable publishing of the Process #5 output via MQTT.
Learn more in HTTP API. For obtaining the relevant MQTT telemetry please check MQTT API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API. For obtaining the relevant MQTT telemetry please check MQTT API.