![]() |
|
MQTT Client 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 Client app (/showthread.php?tid=5609) |
RE: MQTT Client app - Daniel - 07.04.2026 What are the settings in MQTT explorer and what in our app? RE: MQTT Client app - Daniel - 07.04.2026 Try pinging broker from System-Status-Network utilities RE: MQTT Client app - Fahd - 07.04.2026 I can ping from the broker to the lm5 but i cant do the other way RE: MQTT Client app - Daniel - 07.04.2026 Check network settings for correct gateway and DNS. It is LM who is connecting to broker. RE: MQTT Client app - Fahd - 07.05.2026 Hi, I am sending KNX objects to MQTT using the MQTT Client app on LM5. I would like the payload to be published in JSON format like this: { "value": "<object value>", "dataUnit": "<object unit>", "state": true } Please how can i do it ? RE: MQTT Client app - admin - 07.05.2026 Can be done using a conversion script in the app but it must be done for each object separately. Depending on the object count it might make more sense to make a separate script for publishing object values. Code: return json.encode({RE: MQTT Client app - Fahd - 07.05.2026 (07.05.2026, 12:54)admin Wrote: Can be done using a conversion script in the app but it must be done for each object separately. Depending on the object count it might make more sense to make a separate script for publishing object values.Thaanks |