This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT Client app
#61
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
Reply
#62
Check PM. Let me know if the new version works for you.
Reply
#63
Hello, I have a offline LM. Can I get install file for the MQTT Client APP?
Reply
#64
@tomnord, check PM.
Reply
#65
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
Reply
#66
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...Toc3901169).
Reply
#67
(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...Toc3901169).
Hello team:
Thank you very much, is good and interesting to know that
best regards
Roger
Reply
#68
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
Reply
#69
If they both Zigbee, why don't you link them in Zigbee? You could do it if you would use our Zigbee app.
------------------------------
Ctrl+F5
Reply
#70
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
Reply
#71
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.
------------------------------
Ctrl+F5
Reply


Forum Jump: