![]() |
MQTT Broker and Client testing - 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 Broker and Client testing (/showthread.php?tid=5912) |
MQTT Broker and Client testing - Domoticatorino - 05.03.2025 Dear all, I am testing MQTT apps. I have a MQTT client which send a Json topic to LM Broker. After that I set LM MQTT client app in order to read data sent received by. Topic name I use is the same I set on the MQTT client. LM client app is correctly link to broker but how can I understand if data are received from broker? I follow the script but there's a way, before setting the scripts, if data are correctly reveived by broker? Thanks. BR RE: MQTT Broker and Client testing - Daniel - 05.03.2025 You can use MQTT explorer on PC to see every topic. https://mqtt-explorer.com/ RE: MQTT Broker and Client testing - admin - 05.03.2025 What do you mean by correctly received? Broker does not validate the data in any way. It simply passes published data to all subscribers. RE: MQTT Broker and Client testing - Erwin van der Zwart - 05.03.2025 You can also put log(payload) in the script in section, that way the received payload on the topic will be logged in the controller. RE: MQTT Broker and Client testing - Domoticatorino - 05.03.2025 (05.03.2025, 17:08)admin Wrote: What do you mean by correctly received? Broker does not validate the data in any way. It simply passes published data to all subscribers. Hi admin, yes I know that broker simply passes data but I though there was a way to log the publishing data sent by the client. In any case with MQTT Explorer I was able to read the topics and payloads of the client so now I understand how it works. Thanks a lot. |