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
#44
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.

Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
MQTT Client app - by Daniel - 10.09.2024, 14:12
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 08:58
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 09:50
RE: MQTT Client app - Beta testing - by admin - 23.09.2024, 10:04
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 10:41
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 12:50
RE: MQTT Client app - Beta testing - by myg - 01.10.2024, 09:37
RE: MQTT Client app - Beta testing - by admin - 01.10.2024, 12:53
RE: MQTT Client app - Beta testing - by myg - 01.10.2024, 13:11
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 08:18
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 08:18
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 08:29
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 08:40
RE: MQTT Client app - Beta testing - by AEK - 02.10.2024, 08:48
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 09:19
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 12:58
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 13:00
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 13:07
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 13:08
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 13:11
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 13:37
RE: MQTT Client app - Beta testing - by admin - 11.10.2024, 10:52
RE: MQTT Client app - Beta testing - by myg - 14.10.2024, 08:05
RE: MQTT Client app - by admin - 16.10.2024, 07:46
RE: MQTT Client app - by myg - 17.10.2024, 12:13
RE: MQTT Client app - by admin - 17.10.2024, 12:36
RE: MQTT Client app - by Snoolik - 06.11.2024, 15:10
RE: MQTT Client app - by antony.19 - 04.12.2024, 23:08
RE: MQTT Client app - by admin - 05.12.2024, 09:49
RE: MQTT Client app - by antony.19 - 05.12.2024, 18:33
RE: MQTT Client app - by admin - 11.12.2024, 10:18
RE: MQTT Client app - by LKBA - 16.01.2025, 08:23
RE: MQTT Client app - by admin - 16.01.2025, 14:01
RE: MQTT Client app - by LKBA - 16.01.2025, 14:09
RE: MQTT Client app - by admin - 16.01.2025, 14:10
RE: MQTT Client app - by myg - 16.01.2025, 19:01
RE: MQTT Client app - by admin - 17.01.2025, 07:54
RE: MQTT Client app - by myg - 19.01.2025, 16:57
RE: MQTT Client app - by Pierluigi - 28.03.2025, 12:59
RE: MQTT Client app - by Daniel - 28.03.2025, 13:02
RE: MQTT Client app - by Pierluigi - 28.03.2025, 13:03
RE: MQTT Client app - by admin - 28.03.2025, 13:03
RE: MQTT Client app - by admin - 28.03.2025, 13:11
RE: MQTT Client app - by Pierluigi - 28.03.2025, 13:14

Forum Jump: