![Akytec MV210-101 Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/akytec/mv210-101/mv210-101_user-manual_2887631020.webp)
Configuration and operation
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
19
Table 4.9. MQTT parameters
Parameter
Description
Range
Default
value
Ac-
cess
Presence detection.
Enable
If
On
, the module publishes the message "Online"
to the topic specified in the parameter
Topic
name
after switching on. If no messages are re-
ceived from the module, the broker publishes an
“Offline” message in this topic.
On
/
Off
Off
RW
Presence detection.
Topic name
Topic name used for presence detection.
-
MQTT-
status
RW
Connect to broker
Set to
On
to establish connection
On
/
Off
Off
RW
User name
Used for device authentication on the broker side.
Authentication is not used if the values are not
specified.
-
-
RW
Password
-
-
RW
Device name
Device name used in the topic name (see Exam-
ple 2)
-
-
RW
Broker address
Broker IP or URL. If the broker is located in an
external network, check the correct values for the
parameters
Gateway
and
DNS
(
Network
group)
-
-
RW
Port
Port for broker
0…65535
1883
RW
Store last message
If
On
, other clients subscribed to the module's
topics will receive the latest messages from these
topics.
On
/
Off
Off
RW
Publishing interval
Publishing interval in seconds
5…600
10
RW
Quality of service
QoS0
- at most once
QoS1
- at least once
QoS2
- exactly once
QoS0
/
QoS1
/
QoS2
QoS0
RW
Keep Alive interval
Keep Alive interval in seconds
0…600
0
RW
Status
Broker connection status
-
-
R
Table 4.10. Topics
Parameter
Topic
Node
Function
Format
AIn REAL
VALUE
AI1…AI8
GET
REAL
Example 2:
Device
– device name specified in akYtecToolPro
1. Read the input AI1 measured value
MX210/Device/GET/AI1/VALUE
Obtained value: measured value on input 1
2. Single-level wildcard usage
MX210/Device/GET/+/VALUE
Obtained value: measured values of all analog inputs. The topic is equivalent to the group of topics:
MX210/Device/GET/AI1/VALUE
MX210/Device/GET/AI2/VALUE
MX210/Device/GET/…/VALUE
MX210/Device/GET/AI8/VALUE
3. Multi-level wildcard usage
MX210/Deviceme/GET/#
Obtained value: measured values of all analog inputs. The topic is equivalent to the group of topics:
MX210/Device/GET/AI1/VALUE
MX210/Device/GET/AI2/VALUE
MX210/Device/GET/…/VALUE
MX210/Device/GET/AI8/VALUE