unicontrol > Web interface > Processes > Input > Publish
POST: http://192.168.1.255/var_set?param=inpub_3&val=1
will enable publishing of the Process #3 input via MQTT.
Publish (input)
When the Publish option is enabled and a connection with MQTT broker is established, the live input reading will be automatically published as an MQTT message at regular intervals.
[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=inpub_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=inpub_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=inpub_3&val=1
will enable publishing of the Process #3 input via MQTT.
Learn more in HTTP API. For obtaining the enabled MQTT telemetry please check MQTT API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API. For obtaining the enabled MQTT telemetry please check MQTT API.