07.04.2026, 08:28
What are the settings in MQTT explorer and what in our app?
------------------------------
Ctrl+F5
Ctrl+F5
|
MQTT Client app
|
|
07.04.2026, 08:28
What are the settings in MQTT explorer and what in our app?
------------------------------
Ctrl+F5
07.04.2026, 08:29
Try pinging broker from System-Status-Network utilities
------------------------------
Ctrl+F5
07.04.2026, 08:56
I can ping from the broker to the lm5 but i cant do the other way
07.04.2026, 08:57
Check network settings for correct gateway and DNS. It is LM who is connecting to broker.
------------------------------
Ctrl+F5
07.05.2026, 12:47
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 ?
07.05.2026, 12:54
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({
value = value,
dataUnit = 'data-units',
state = true
})
07.05.2026, 13:32
(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
Hey,
I have a 1-bit GRP address with MQTT direction set to Both. Reading works fine in both directions, but writing has a problem: Send false via MQTT → LM5 gets true Send true via MQTT → LM5 gets true My script: return json.encode({ value = value, dataUnit = ' ', state = value }) Tried removing the state field too, same result. Writing from lm5 works fine ,
05.06.2026, 09:50
What is the data format do you expect in MQTT for true and false?
------------------------------
Ctrl+F5
05.06.2026, 09:50
Set JSON value path to value
(05.06.2026, 09:50)admin Wrote: Set JSON value path to value same , https://streamable.com/pw3spz please watch this , https://streamable.com/pc235o
05.06.2026, 10:50
Do you have any script in the 'In (From MQTT)' you should remove it and as admin mention just put value in JSON value path in topic config.
------------------------------
Ctrl+F5
05.06.2026, 11:06
(05.06.2026, 10:50)Daniel Wrote: Do you have any script in the 'In (From MQTT)' you should remove it and as admin mention just put value in JSON value path in topic config. After those changes i cant control the object from mqtt, https://streamable.com/qq4ket
05.06.2026, 11:13
------------------------------
Ctrl+F5
05.06.2026, 11:18
Boolean <-> string conversion ON/OFF strings must be empty. JSON value path must be set to value
05.06.2026, 17:19
Thanks
|
|
« Next Oldest | Next Newest »
|