unicontrol > Web interface > Processes > Input > Input source
POST: http://192.168.1.255/var_set?param=inper_4&val=11
will set
Input source
Chooses the primary Input for the selected process out of the following list:
[VALUE] | Peripheral |
---|---|
0 -8 | Digital pins D0 -D8 |
11 | Analog pin A0 |
21 -28 | Analog Multiplexer pins I1 -I8 |
31 -42 | Shift Register pins RE1 -RE12 |
51 -58 | Memory slots MEM1 -MEM8 |
99 | none |
Digital pins can carry multiple values on a single hardware pin when using DHT11, DHT22 or DS18B20 sensors.
Channel is then used to differentiate between them.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=inper_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=inper_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=inper_4&val=11
will set
A0
as the main input of the Process #4.
Learn more in HTTP API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API.