unicontrol > Web interface > Processes > Output > Invert
POST: http://192.168.1.255/var_set?param=outinv_6&val=1
will invert the output of the Process #6.
Invert
As long as enabled, this option logically inverts the output as follows:
- non-PWM output - the output now assumes a
LOW
state (0V) whenON
and aHIGH
state (3.3V) whenOFF
. - PWM output - the output now assumes a provided duty cycle when
ON
and a constantHIGH
state (3.3V) whenOFF
.
[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=outinv_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outinv_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outinv_6&val=1
will invert the output of the Process #6.
Learn more in HTTP API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API.