
smartDEN Opener
User Manual
24 Apr 2018
- 104 -
More commands separated by '
&
' combined in one request. As seen
MQTT_COMMAND
is the
keyword of the request. Next is '
?
' sign which notes that the commands start from this symbol.
Each command is separated by '
&
' sign. At end of the request '
;
' sign should be applied. If this
principle is not observer a "Bad Arguments!" message will be received.
Maximum request length is 100 symbols starting from MQTT_COMMAND and ending
with last ";".
12.2.1.
Getting current state of smartDEN Opener
Getting the current state as each other command should be posted in
Admin Reading Topic
.
MQTT_COMMAND?GETSTATUS;
When command is sent, response will be received in admin writing topic. The response of all
successful commands is the same and is given on
Figure 12.2
.
12.2.2.
Relays control
MQTT_COMMAND?R1=1;
MQTT_COMMAND?R2=0;
Possible values for R1 and R2:
0
- turn off;
1
- turn on.
12.2.3.
Control relays via single command
MQTT_COMMAND?R=3;
Possible values for R are shown in table below:
Table 12.1.
Relays control table
R
Relay 1
Relay 2
R=0
OFF
OFF
R=1
ON
OFF
R=2
OFF
ON
R=3
ON
ON
12.2.4.
Control Main Controlled Device
MQTT_COMMAND?MS=2;
Possible values for MS are 0 (CLOSE), 1 (OPEN) and 2 (STOP).
12.2.5.
Control relays and Main Controlled Device via single command
Содержание smartDEN Opener
Страница 15: ...smartDEN Opener User Manual 24 Apr 2018 15 Figure 5 2 Distribution box version overview...
Страница 62: ...smartDEN Opener User Manual 24 Apr 2018 62 Figure 10 18 Digital input controlling relay examples...
Страница 80: ...smartDEN Opener User Manual 24 Apr 2018 80 10 7 General Settings Figure 10 32 General Settings page...
Страница 107: ...smartDEN Opener User Manual 24 Apr 2018 107 12 2 9 MQTT command reply Figure 12 2 MQTT successful response...
Страница 114: ...smartDEN Opener User Manual 24 Apr 2018 114 Figure 16 4 Relays Tab Figure 16 5 Main Controlled Device s modes...
Страница 116: ...smartDEN Opener User Manual 24 Apr 2018 116 Figure 16 8 GPS outside mode notification...