Hi everyone,
I need your help because I am new to Node-RED. I tried to send data from BME to cloud with smart mesh. In the node RED, I received a message that looks like this:
4/21/2017 2:46:45 PMnode: mote events/responsesiot-2/type/mote/id/00-17-0d-00-00-58-f2-6c/evt/notifData/fmt/json : msg.payload : Object
{ d: object }object
d: object
utcSecs: 1029561249
utcUsecs: 536750
macAddress: "00-17-0d-00-00-58-f2-6c"
srcPort: 60000
dstPort: 60000
data: array[5]
0: 50
1: 53
2: 46
3: 52
4: 51
I need the array of data to be converted to temperature, in this case it’s 25.43. I tried to convert it to decimal, but failed several times. Can anyone help me? It is really appreciated. Thank you.
Ixora
Hi everyone,
I need your help because I am new to Node-RED. I tried to send data from BME to cloud with smart mesh. In the node RED, I received a message that looks like this:
data: array[5]