helium / console

A management console to onboard and manage devices running on the Helium blockchain network.
Apache License 2.0
104 stars 31 forks source link

Feature request, can MQTT integration send message as JSON, not string #1224

Closed Net-Metrics closed 2 years ago

Net-Metrics commented 2 years ago

I am sending my received uplinks to AWS ActiveMQ but rather than simply 'forwarding' on as JSON, the message gets converted to a string object. This causes problems further down my workflow for extracting the useful parts of the message

Uplink as received in console

image

Message received as string after using MQTT integration. Message actually looks like it gets truncated, too long for the payload maybe?

image

I could take the string through NodeRed, but then I need to run an instance of that somewhere, I tried using the advanced JSON template but found this very hit or miss. I would need a different integration and template for every type of device, whereas, if the MQTT integration simply repeated the JSON it could all be carried out with a single integration

Net-Metrics commented 2 years ago

Think it must just be an issue with NodeRed, other mqtt integrations receive JSON payload