smartDEN Opener
User Manual
24 Apr 2018
- 103 -
12. MQTT protocol
Figure 12.1.
MQTT communication Overview
smartDEN Opener
has MQTT client for cloud access to the state of the module and control the
I/O
lines. Adding
smartDEN Opener
as cloud device via
DAE-aModules
application will use this
protocol for communication. It is possible to create third party application based on this
information.
12.1. MQTT topics generating
MQTT topics generating encryption algorithm to be implemented in custom application is
available upon request.
12.2. MQTT protocol commands
smartDEN Opener
uses MQTT QoS 0 subscription. The communication is not secured and
messages are sent over network in plain text.
smartDEN Opener's
default MQTT Broker is
iot.eclipse.org
, but some other free public brokers are also available like
test.mosquitto.org
. Keep
in mind that public brokers might be unavailable due to server overload or other problems.
Here it is described how to get current state of
smartDEN Opener
and how to change I/O's
states, alarms, descriptions, etc. The functionality is the same as HTTP Protocol. Both
Admin
and
Guest
users can obtain this information when access is enabled. Command requests are created
in this way:
MQTT_COMMAND?<command>;
Example:
MQTT_COMMAND?R1=1;
MQTT_COMMAND?<command1>&<command2>;
Example:
MQTT_COMMAND?R1=1&R2=1;