TRB143 Data to Server MQTT JSON-Object

Hey, I would like to send Data from M-bus over MQTT to Node-Red on a RaspberryPi.

The data is already arriving, but not in the desired JSON format, but as a string.

I’ve already tested all possible settings, but it always comes as a string. Can someone help me?

Here my settings:

Here the data in NodeRed:

Hello,

In your ‘Collection Configuration’ in Data to Server. Could you try changing the Format string to just your data input? similar to my example below.

%mbus_MbusMQTT%

I conducted a test on my side where I sent the M-bus data to Node-Red and I am receiving the data as object.

Lastly, try turning off the ‘Send as Object’ option and compare the results.

Hope this helps.

Best regards,
Rob

The Collection Configuration was the Solution.

Thank you very much. :grinning:

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.