Please connect a debug node(set to display the complete msg object) to the output of an mqtt-in
node and show us what it looks like. (copy and paste it to a reply)
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
- Why not use
auto-detect (parsed JSON object, string or buffer)
? - what version of NR and node.js are you running? (see NR startup log) \