unicontrol > Web interface > Processes > Main state
POST: http://192.168.1.255/var_set?param=mstr_5&val=3
will deactivate the Process #5
Topic: johndoe5896/home/garagedoor/sub/process_5/mstr
Payload: 3
will deactivate the Process #5
Main state
Main state represents a master switch directly affecting behavior of the selected process. May assume one of the following values:
[VALUE] | State | Output | Readings |
---|---|---|---|
0 | Off | set to LOW once and leave unchecked | ✓ |
1 | Auto | actively determined by the respective process | ✓ |
2 | On | set to HIGH once and leave unchecked | ✓ |
3 | Inactive | uncontrolled (default) | ✗ |
The process will be measuring and, eventually, Publishing input readings in all states except Inactive.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=mstr_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=mstr_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=mstr_5&val=3
will deactivate the Process #5
Learn more in HTTP API.
MQTT
This parameter can also be accessed via MQTT using [PARAMETER]
= mstr
. Learn more in MQTT API.
Topic: johndoe5896/home/garagedoor/sub/process_5/mstr
Payload: 3
will deactivate the Process #5