Custom Data Format as JSON Object

RUT9M_R_00.07.06.10
RTU956

I am trying to send data to a MQTT broker from the Modem.
If I select GSM data, format JSON, I get nicely formatted data in Node red. The problem is I don’t want to send all that data, as I only need RSSI, IP and Operator.
I have tried to use a custom data format but I can’t get this to send as a JSON object regardless of how I set the formatting up. For example
{“RSSI”:%rssi%,“Opp”:%operator%,“IP”: %ip%}

this just gets we a string in node red
“{“RSSI”:-105,“Opp”:3,“IP”: [“92.40.40.149”]}”

Any help would be appreciated.
Thanks
S

Hello,

Have you also configured custom formatting on the collection level? Could you please share a screenshot showing your configurations of both Data Input and Collection formats?

Kind Regards,

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