LogicMachine Forum
MQTT private cloud connector app - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: MQTT private cloud connector app (/showthread.php?tid=5878)



MQTT private cloud connector app - admin - 05.02.2025

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.

.ipk   mqtt-cloud-20250205.ipk (Size: 61.97 KB / Downloads: 50)



RE: MQTT private cloud connector app - linux_sun - 07.02.2025

Great!!! Works fine


RE: MQTT private cloud connector app - savaskorkmaz - 01.09.2025

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.


RE: MQTT private cloud connector app - Daniel - 01.09.2025

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.


RE: MQTT private cloud connector app - savaskorkmaz - 01.09.2025

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


RE: MQTT private cloud connector app - Daniel - 01.09.2025

Yes as long the DPT is also the same.