Mdot sensor data via lora

#1

I'm a beginner, I have an mdot and multitech conduit and i'm struggling to write a function to change payload into actual sensor data being transmitted. The payload being recieved in the node red debug is "payload". "\u0012?"

Can anybody help please?

image

#2

Try putting this through A JSON node and then debug it.
Look here too https://nodered.org/docs/user-guide/messages

#3

errr - it already says it's an object... and that msg.payload is just a string...

What we need to know is how the mdot encoded up the data in the first place.
\u0012 is just unicode - which is same as 0x12 or 18 decimal... but until we know what was expected then... not much we can say.

1 Like
#4

My speed reading skills let me down again Dave!