Need some help to extract form an Object
2/16/2024, 10:20:06 AM[node: debug 90](http://127.0.0.1:1880/#)
msg.payload : array[1]
array[1]
0: object
intemp: "81.1"
unit: "F"
inhumi: "38%"
abs: "29.95 inHg"
rel: "29.95 inHg"
Need to extract the values for intemo,inhumi,abs,arel
individual to display as a text.
[
{
"id": "7da2e023f84a2dcc",
"type": "inject",
"z": "f464957002a4d7f4",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 130,
"y": 140,
"wires": [
[
"38dcf0f25307b8ab"
]
]
},
{
"id": "38dcf0f25307b8ab",
"type": "http request",
"z": "f464957002a4d7f4",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "ignore",
"url": "http://10.0.4.54/get_livedata_info?",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 290,
"y": 240,
"wires": [
[
"3bc27ec8fbe07fca"
]
]
},
{
"id": "3bc27ec8fbe07fca",
"type": "split",
"z": "f464957002a4d7f4",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "",
"x": 470,
"y": 220,
"wires": [
[
"3e2fe869e378fa50",
"bd2a9c7d2f5272ea"
]
]
},
{
"id": "3e2fe869e378fa50",
"type": "debug",
"z": "f464957002a4d7f4",
"name": "debug 90",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 660,
"y": 160,
"wires": []
},
{
"id": "a0da53b7dd6d2f89",
"type": "ui_text",
"z": "f464957002a4d7f4",
"group": "241820d172e65d1d",
"order": 22,
"width": 0,
"height": 0,
"name": "",
"label": "text",
"format": "{{msg.payload[0].intemp}}",
"layout": "row-spread",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"x": 890,
"y": 180,
"wires": []
},
{
"id": "bd2a9c7d2f5272ea",
"type": "function",
"z": "f464957002a4d7f4",
"name": "function 15",
"func": "msg.payload.intemp\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 670,
"y": 220,
"wires": [
[
"a0da53b7dd6d2f89"
]
]
},
{
"id": "241820d172e65d1d",
"type": "ui_group",
"name": "MAIN POWER",
"tab": "76c1d76e82d63ff5",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "76c1d76e82d63ff5",
"type": "ui_tab",
"name": "OBS",
"icon": "dashboard",
"order": 2,
"disabled": false,
"hidden": false
}
]
This Is what I am working on
Thanks