Posts: 8485
Threads: 47
Joined: Jun 2015
Reputation:
485
MQTT cloud app connects to internal or external MQTT broker and provides seamless object value exchange between multiple devices and other services.
Main use cases:
- object value exchange between multiple remote LMs
- export of data to external services for further analysis
- remote control of multiple remote LMs
Object value exchange uses object tags. A separate tag can be defined for Input, Output and Input/Output values.
MQTT topic format is topic_prefix/X/Y/Z, where X/Y/Z is the tagged object group address.
The application can be found in LM app store.
Posts: 197
Threads: 94
Joined: Jul 2015
Reputation:
5
Hello,
For 1 Broker LM and 1 Client LM, I used the MQTT Broker and MQTT Cloud applications on the Broker LM, while on the Client LM I only used the MQTT Cloud application. I assigned the same tags to the same group addresses and successfully achieved MQTT communication.
However, in the example project below, I couldn’t figure out how to communicate using only tags and MQTT Cloud, without using the MQTT Client application.
Broker LM Group Addresses:
Group addresses with the tag Building A :
31/1/1 Building A Lighting 1
31/1/2 Building A Lighting 1 Fb
Group addresses with the tag Building B :
31/1/3 Building B Lighting 1
31/1/4 Building B Lighting 1 Fb
Client 1 LM Group Addresses:
Group addresses with the tag Building A
1/1/1 Lighting 1
1/1/2 Lighting 1 Fb
Group addresses with the tag Building B
1/1/1 Lighting 1
1/1/2 Lighting 1 Fb
My basic question is: while communicating multiple LMs with a single central broker LM, how should this tag and group address structure be set up? My goal is to handle this only with tags, without using the MQTT Client.
Posts: 5373
Threads: 29
Joined: Aug 2017
Reputation:
239
The MQTT cloud app will only work if you mirror same groups in all LMs. If you want to do mix then you must use MQTT Client app and do the manual mapping.
------------------------------
Ctrl+F5
Posts: 197
Threads: 94
Joined: Jul 2015
Reputation:
5
Hi Daniel just for confirmation , if i make the system like below is it ok ?
Broker LM Group Addresses:
Group addresses with the tag mqtt :
1/1/1 Building A Lighting 1
1/1/2 Building A Lighting 1 Fb
1/1/3 Building B Lighting 1
1/1/4 Building B Lighting 1 Fb
Client 1 LM Group Addresses:
Group addresses with the tag mqtt
1/1/1 Building A Lighting 1
1/1/2 Building A Lighting 1 Fb
Group addresses with the tag mqtt
1/1/3 Building B Lighting 1
1/1/4 Building B Lighting 1 Fb
Posts: 5373
Threads: 29
Joined: Aug 2017
Reputation:
239
Yes as long the DPT is also the same.
------------------------------
Ctrl+F5