![]() |
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) |
RE: MQTT Client app - myg - 16.01.2025 suddenly with today's auto update mqtt client stopped working for multiple instances. Rolling back to older released helped. In error log i can see initialization error for all objects in the rules. It seems i was too naive to have auto update enabled on LM, this update broke critical functionality right in the evening. What happend with quality control for releases? i don't remember anything like that before. RE: MQTT Client app - admin - 17.01.2025 @myg, an update has been published, see if it fixes the issue for you. RE: MQTT Client app - myg - 19.01.2025 (17.01.2025, 07:54)admin Wrote: @myg, an update has been published, see if it fixes the issue for you. works again, thank you for quick update RE: MQTT Client app - Pierluigi - 28.03.2025 Good morning, I’m trying to use the Logic Machine 5 Lite for integrating a MQTT payload message. This is a typically Topic/Payload we receive: Topic: callway/ad75adfd-b72a-4119-a34c-dfb372df9ecf/status/1/1 QoS: 2 {"data":[{"position":0,"position_type":"room","room":1,"status":"assistance","timestamp":"2025-03-28T10:01:06.000Z","ward":1}],"timestamp":"2025-03-28T11:29:16.000Z","type":"snapshot","uuid":"ad75adfd-b72a-4119-a34c-dfb372df9ecf","version":"1.0.0"} With this metode I receive on the “String Object” the value: (image 1 and 2) The problem is that I need to export the value throught Bacnet communication and String object is not permitted. So, i need to convert the string value into a numeric one, like 06.1 1byte signed integer. Could you help me with the script ? Thank you. RE: MQTT Client app - Daniel - 28.03.2025 Click New Replay then you can attach images RE: MQTT Client app - admin - 28.03.2025 Do you have a define mapping between text and numeric values? RE: MQTT Client app - Pierluigi - 28.03.2025 (28.03.2025, 13:02)Daniel Wrote: Click New Replay then you can attach images i modified the previous message. Thank you. (28.03.2025, 13:03)admin Wrote: Do you have a define mapping between text and numeric values? idle : 0 call: 1 presence: 2 unhooked: 3 assistance: 4 emergency: 5 technical: 6 speech: 7 RE: MQTT Client app - admin - 28.03.2025 Remove JSON value path, use this Input script: Code: local map = { RE: MQTT Client app - Pierluigi - 28.03.2025 (28.03.2025, 13:11)admin Wrote: Remove JSON value path, use this Input script:It works, really thank you. ![]() |