Logic Machine Forum
MQTT Client app - Printable Version

+- Logic Machine 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 Client app (/showthread.php?tid=5609)

Pages: 1 2 3 4


RE: MQTT Client app - jmir - 13.06.2025

Hi,

I've seen that topics beginning with $ are system topics.

Is it a restriction in the topic input box? Because I've tryed using Mqtt-Explorer and I can use $ in topics.

Thanks


RE: MQTT Client app - admin - 13.06.2025

Check PM. Let me know if the new version works for you.


RE: MQTT Client app - tomnord - 17.06.2025

Hello, I have a offline LM. Can I get install file for the MQTT Client APP?


RE: MQTT Client app - admin - 17.06.2025

@tomnord, check PM.


RE: MQTT Client app - batistacaceres - 19.06.2025

Hello Team:

I have two LM one as broker MQTT and the other running MQTT Client app, everything is fine, very thing is running very well, ... but, until I tried to publish addresss 50/1/12 Out(To MQTT) with topic "topic_out/temperatura" and subscribe to that same topic "topic_out/temperatura" in the same LogicMachine Broker to recive the message in adress 50/1/13 In(From MQTT).
As you can see in the Next screenshot.

   

The problem is that when I write in address 50/1/12 other subscriptors to the Topic ("topic_out/temperatura") receive the message but not the own Topic "topic_out/temperatura" than I subscribed in the same LogicMachine Broker.
I want to know if it's a bug, or I cant not publish in the broker that I want subscribe with the same Topic.

Thank you very much,
best regards
Roger


RE: MQTT Client app - admin - 19.06.2025

This is done to prevent message loops. MQTT client app subscribes to all topic with "no local" flag enabled (bit 2: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901169).


RE: MQTT Client app - batistacaceres - 19.06.2025

(19.06.2025, 08:33)admin Wrote: This is done to prevent message loops. MQTT client app subscribes to all topic with "no local" flag enabled (bit 2: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901169).
Hello team:
Thank you very much, is good and interesting to know that
best regards
Roger


RE: MQTT Client app - myg - 30.07.2025

Hi,

I have a Zigbee bridge that sends MQTT topics from devices, which I process on LM. In one particular case, I want to connect two devices — a button and a relay — so that one can switch the other. I’ve created a mapping, and in the script for the button, I write to the group address (GA) that is mapped to the relay.

However, this action doesn’t work (i.e. triggering a mapping rule from within another mapping rule). I suspect this is to prevent processing loops.

Is there a way to make this work without creating a proxy GA for the button and using an event script to write to the relay GA?

Example config in MQTT Client:
zigbee/relay (on/off) -> 1/0/0 (bit)
zigbee/relay/set (on/off) <- 1/0/0 (bit)
zigbee/button (single/double) -> if (action=="single") then grp.write('1/0/0', true) end


RE: MQTT Client app - Daniel - 30.07.2025

If they both Zigbee, why don't you link them in Zigbee? You could do it if you would use our Zigbee app.


RE: MQTT Client app - myg - 30.07.2025

mainly for 2 reasons:
– I already have separate zigbee bridge, and it's located in a better position than LM to provide better network coverage.
– Yes I can set up linkage on the bridge itself, but I want to have all smart home logic in a single place rather than to spread it across multiple devices, it is easier to maintain this way and understand how the hell it works a few years later Smile


RE: MQTT Client app - Daniel - 30.07.2025

In this case use separate groups and link them via script. In general it is better to link everything locally (zigbee in your case) and just monitor/control from outside (MQTT- LM) Normally you just need to control the relays from LM.