Receiving data from phone and camera sensors

Description:

  1. The task is to obtain data from sensors and build graphs.
  2. there is an application on the phone - ip webcam. It can output photos, videos and phone sensor data.
    Problem:
  3. I receive gyroscope data from my phone in node-red (http request) after 5 seconds in the form of an array of time 1709001978721 and values from the sensor and it contains time
  4. how to format data to build a graph
  5. I understand that the graph can be built with the new capabilities of dashboard 2.0 by converting 1709001978721 into a time format and plotted on the 0X axis, and data from sensors can be plotted on the 0Y axis.
    I think that if someone helps me, this will be used by many people in their projects. Because there are few such examples.

We need examples of what you get into Node RED - msg.payload (redact what you need to)
then we can get close to providing some solutions

I apologize for the in-depth description. When I edited and uploaded photos and code to the forum, it was not saved. Now I will describe in detail. Write if anything is unclear. Photos don't load well.

[
    {
        "id": "5ebe8336993957c3",
        "type": "group",
        "z": "797876855e6efcc3",
        "style": {
            "stroke": "#999999",
            "stroke-opacity": "1",
            "fill": "none",
            "fill-opacity": "1",
            "label": true,
            "label-position": "nw",
            "color": "#a4a4a4"
        },
        "nodes": [
            "eca8e5451311657c",
            "55b691e2bb055339",
            "2d19d1981739b298",
            "c69635a8619a7d49",
            "95c777f535cf2ac0",
            "3ad37f99d72b1e61",
            "e1374ec345982b1f"
        ],
        "x": 794,
        "y": 119,
        "w": 832,
        "h": 222
    },
    {
        "id": "eca8e5451311657c",
        "type": "ui_chart",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "",
        "group": "57736d04648158b9",
        "order": 47,
        "width": "0",
        "height": "0",
        "label": "battery_voltage",
        "chartType": "line",
        "legend": "true",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "ymin": "3",
        "ymax": "4.3",
        "removeOlder": "24",
        "removeOlderPoints": "",
        "removeOlderUnit": "60",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#339be6",
            "#16d098",
            "#c16515",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#250bea",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 1520,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "55b691e2bb055339",
        "type": "function",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "battery_voltage",
        "func": "var data = msg.payload.battery_voltage.data;\nvar resultArray = [];\n\nfor (var i = 0; i < data.length; i++) {\n    resultArray.push(data[i][1][0]);\n}\n\nmsg.payload = resultArray.join(\",\");\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 900,
        "y": 200,
        "wires": [
            [
                "2d19d1981739b298",
                "95c777f535cf2ac0"
            ]
        ]
    },
    {
        "id": "2d19d1981739b298",
        "type": "split",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "",
        "splt": ",",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": false,
        "addname": "",
        "x": 1130,
        "y": 240,
        "wires": [
            [
                "e1374ec345982b1f"
            ]
        ]
    },
    {
        "id": "c69635a8619a7d49",
        "type": "debug",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "debug 281",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1470,
        "y": 260,
        "wires": []
    },
    {
        "id": "95c777f535cf2ac0",
        "type": "function",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "function 16",
        "func": "\n// Получаем строку значений\nvar values = msg.payload.split(',');\n\n// Инициализируем массив для хранения объектов\nvar data = [];\n\n// Получаем текущий timestamp\nvar timestamp = Date.now();\n\n// Проходим по каждому значению и создаем объект с полями timestamp и value\nvalues.forEach(function(value) {\n    var obj = {\n        timestamp: timestamp,\n        value: parseFloat(value)\n    };\n    \n    // Увеличиваем timestamp на 1 миллисекунду\n    timestamp++;\n    \n    // Добавляем объект в массив\n    data.push(obj);\n});\n\n// Отправляем массив объектов на следующий узел\nmsg.payload = data;\n\nreturn msg;\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1130,
        "y": 160,
        "wires": [
            [
                "3ad37f99d72b1e61"
            ]
        ]
    },
    {
        "id": "3ad37f99d72b1e61",
        "type": "json",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "",
        "property": "payload",
        "action": "str",
        "pretty": false,
        "x": 1330,
        "y": 200,
        "wires": [
            [
                "eca8e5451311657c",
                "c69635a8619a7d49"
            ]
        ]
    },
    {
        "id": "e1374ec345982b1f",
        "type": "debug",
        "z": "797876855e6efcc3",
        "g": "5ebe8336993957c3",
        "name": "debug 286",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1270,
        "y": 300,
        "wires": []
    },
    {
        "id": "57736d04648158b9",
        "type": "ui_group",
        "name": "Зарядка телефона",
        "tab": "fe6e4c2c7d2c0529",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "fe6e4c2c7d2c0529",
        "type": "ui_tab",
        "name": "Контроль заряда телефона",
        "icon": "dashboard",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

121212


This is the message I receive. These are the charts on the phone.

I understand - the number of words is limited. so I'll break it down into parts.
Here is what I get from the sensors and how I manipulated it, trying to display data and build a graph.

[
    {
        "id": "9aa7116f3472193e",
        "type": "tab",
        "label": "Поток 3",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "7ffec55aa3b2882d",
        "type": "group",
        "z": "9aa7116f3472193e",
        "style": {
            "stroke": "#999999",
            "stroke-opacity": "1",
            "fill": "none",
            "fill-opacity": "1",
            "label": true,
            "label-position": "nw",
            "color": "#a4a4a4"
        },
        "nodes": [
            "34e1058d56988bb4",
            "8fcc48e88095aa4f",
            "4aecac59123db356"
        ],
        "x": 54,
        "y": 479,
        "w": 642,
        "h": 82
    },
    {
        "id": "0638920c2b7b0714",
        "type": "ui-chart",
        "z": "9aa7116f3472193e",
        "group": "22630b857b3b1aa7",
        "name": "",
        "label": "chart",
        "order": 9007199254740991,
        "chartType": "scatter",
        "category": "payload.data[0][1][0]",
        "categoryType": "property",
        "xAxisProperty": "payload.data[0][0]",
        "xAxisPropertyType": "msg",
        "xAxisType": "linear",
        "yAxisProperty": "",
        "ymin": "-15",
        "ymax": "+15",
        "action": "append",
        "pointShape": "cross",
        "pointRadius": "10",
        "showLegend": true,
        "removeOlder": 1,
        "removeOlderUnit": "3600",
        "removeOlderPoints": "100",
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "width": 6,
        "height": 8,
        "className": "",
        "x": 1310,
        "y": 420,
        "wires": [
            []
        ]
    },
    {
        "id": "8b9296699b747ec0",
        "type": "inject",
        "z": "9aa7116f3472193e",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "{\"desc\":[\"Ax\",\"Ay\",\"Az\"],\"unit\":\"m/s²\",\"data\":[[1709001978720,[-0.7469909,-1.1683705,9.289502]],[1709001983490,[-1.0726024,-0.93852705,9.576807]],[1709001983559,[-1.0534488,-0.93852705,9.557653]],[1709001983662,[-1.0726024,-0.93852705,9.557653]]]}",
        "payloadType": "json",
        "x": 140,
        "y": 160,
        "wires": [
            [
                "c97fde09e89bda37",
                "a8cc9f66c56a4526",
                "6c864779f7ff7e5d",
                "b6b5ea9520b8fec9"
            ]
        ]
    },
    {
        "id": "ce6e1c19c1b8e24b",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 321",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 160,
        "wires": []
    },
    {
        "id": "c97fde09e89bda37",
        "type": "switch",
        "z": "9aa7116f3472193e",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "payload[0]",
                "vt": "jsonata"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 290,
        "y": 340,
        "wires": [
            [
                "c2340b03b52a4632"
            ]
        ]
    },
    {
        "id": "c2340b03b52a4632",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 322",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 340,
        "wires": []
    },
    {
        "id": "74e5ca16d8db73ff",
        "type": "inject",
        "z": "9aa7116f3472193e",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "{\"data\":[[10,[-0.74,-1,9.2]],[15,[-0.1,2,10.9]],[20,[-0.9,-1,9.55]]]}",
        "payloadType": "json",
        "x": 700,
        "y": 120,
        "wires": [
            [
                "8aa97556d720c9a8",
                "b856bca8a3d34278",
                "0e40f74e50fe33c1",
                "022e853a150acad3"
            ]
        ]
    },
    {
        "id": "62ecfdfc5bed9fcd",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 323",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 930,
        "y": 240,
        "wires": []
    },
    {
        "id": "8aa97556d720c9a8",
        "type": "function",
        "z": "9aa7116f3472193e",
        "name": "function 19",
        "func": "var xData = msg.payload.data.map(item => item[0]); // Получаем ось X\nvar yData = msg.payload.data.map(item => item[1]); // Получаем ось Y\nvar datasets = yData[0].map((col, i) => yData.map(row => row[i])); // Преобразуем массив для удобства отображения\n\nmsg.payload = {\n    series: ['A', 'B', 'C'], // Имена для оси Y\n    labels: xData, // Метки для оси X\n    data: datasets // Данные для графика\n};\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 730,
        "y": 240,
        "wires": [
            [
                "62ecfdfc5bed9fcd",
                "95a07b906b81338f"
            ]
        ]
    },
    {
        "id": "b856bca8a3d34278",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 324",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 950,
        "y": 100,
        "wires": []
    },
    {
        "id": "0e40f74e50fe33c1",
        "type": "function",
        "z": "9aa7116f3472193e",
        "name": "function 20",
        "func": "var input = msg.payload.data;\n\nvar points = [];\ninput.forEach(function (item) {\n    var xValue = item[0];\n    var yValues = item[1];\n\n    yValues.forEach(function (yValue, index) {\n        var point = {\n            x: xValue,\n            y: yValue\n        };\n        points.push(point);\n    });\n});\n\nmsg.payload = {\n    data: [points]\n};\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 730,
        "y": 180,
        "wires": [
            [
                "c94c2308e744d18c",
                "85696e027d9a8825",
                "e4b10e21ddc987c3",
                "858cfb16459d3c8e",
                "bc65474b74fbfe3a"
            ]
        ]
    },
    {
        "id": "c94c2308e744d18c",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 325",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 950,
        "y": 160,
        "wires": []
    },
    {
        "id": "85696e027d9a8825",
        "type": "split",
        "z": "9aa7116f3472193e",
        "name": "",
        "splt": "[",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": true,
        "addname": "",
        "x": 730,
        "y": 300,
        "wires": [
            [
                "749256190847b237",
                "d4593f8a9bed0b2d"
            ]
        ]
    },
    {
        "id": "749256190847b237",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 326",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 930,
        "y": 300,
        "wires": []
    },
    {
        "id": "a8cc9f66c56a4526",
        "type": "json",
        "z": "9aa7116f3472193e",
        "name": "",
        "property": "payload",
        "action": "str",
        "pretty": false,
        "x": 310,
        "y": 160,
        "wires": [
            [
                "ce6e1c19c1b8e24b"
            ]
        ]
    },
    {
        "id": "6c864779f7ff7e5d",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 327",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 350,
        "y": 80,
        "wires": []
    },
    {
        "id": "b6b5ea9520b8fec9",
        "type": "change",
        "z": "9aa7116f3472193e",
        "name": "",
        "rules": [
            {
                "t": "move",
                "p": "payload.data[0][0]",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 210,
        "y": 280,
        "wires": [
            [
                "ab36882ea7815de3"
            ]
        ]
    },
    {
        "id": "ab36882ea7815de3",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 328",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 280,
        "wires": []
    },
    {
        "id": "e4b10e21ddc987c3",
        "type": "json",
        "z": "9aa7116f3472193e",
        "name": "",
        "property": "payload",
        "action": "str",
        "pretty": false,
        "x": 1170,
        "y": 220,
        "wires": [
            [
                "8468da1eb4d084db",
                "0638920c2b7b0714"
            ]
        ]
    },
    {
        "id": "8468da1eb4d084db",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 329",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 1330,
        "y": 220,
        "wires": []
    },
    {
        "id": "2e152ecff38965e6",
        "type": "inject",
        "z": "9aa7116f3472193e",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "{\"data\":[[10,[-0.74,-1.16,9.2]],[15,[-1.1,-0.7,10.9]],[20,[-0.9,-1.05,9.55]]]}",
        "payloadType": "json",
        "x": 720.8880004882812,
        "y": 61.04833984375,
        "wires": [
            []
        ]
    },
    {
        "id": "022e853a150acad3",
        "type": "json",
        "z": "9aa7116f3472193e",
        "name": "",
        "property": "payload",
        "action": "str",
        "pretty": false,
        "x": 1150,
        "y": 140,
        "wires": [
            [
                "b6fe81fb6d050194"
            ]
        ]
    },
    {
        "id": "b6fe81fb6d050194",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 330",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 1310,
        "y": 140,
        "wires": []
    },
    {
        "id": "858cfb16459d3c8e",
        "type": "change",
        "z": "9aa7116f3472193e",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "$number(y[0])",
                "tot": "jsonata"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1170,
        "y": 280,
        "wires": [
            [
                "fd9c677ffe23beeb"
            ]
        ]
    },
    {
        "id": "fd9c677ffe23beeb",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 331",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 1370,
        "y": 280,
        "wires": []
    },
    {
        "id": "d4593f8a9bed0b2d",
        "type": "flat",
        "z": "9aa7116f3472193e",
        "name": "",
        "x": 890,
        "y": 360,
        "wires": [
            [
                "ca297568aca89d3c"
            ]
        ]
    },
    {
        "id": "ca297568aca89d3c",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 332",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1030,
        "y": 360,
        "wires": []
    },
    {
        "id": "95a07b906b81338f",
        "type": "flat",
        "z": "9aa7116f3472193e",
        "name": "",
        "x": 1570,
        "y": 240,
        "wires": [
            [
                "a618392cc3cdb5fe",
                "da1d449afbdc85a6"
            ]
        ]
    },
    {
        "id": "a618392cc3cdb5fe",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 333",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1710,
        "y": 260,
        "wires": []
    },
    {
        "id": "bc65474b74fbfe3a",
        "type": "flat",
        "z": "9aa7116f3472193e",
        "name": "",
        "x": 1555.887939453125,
        "y": 187.04833984375,
        "wires": [
            [
                "ea2847b354a06311",
                "d41efc2a02be5347"
            ]
        ]
    },
    {
        "id": "cb7fc59eb6b95354",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 334",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1790,
        "y": 100,
        "wires": []
    },
    {
        "id": "ea2847b354a06311",
        "type": "split",
        "z": "9aa7116f3472193e",
        "name": "",
        "splt": "\\n",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": false,
        "addname": "",
        "x": 1910,
        "y": 200,
        "wires": [
            [
                "388f04d1e2b701e2"
            ]
        ]
    },
    {
        "id": "388f04d1e2b701e2",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 335",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 2090,
        "y": 200,
        "wires": []
    },
    {
        "id": "da1d449afbdc85a6",
        "type": "split",
        "z": "9aa7116f3472193e",
        "name": "",
        "splt": "\\n",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": false,
        "addname": "",
        "x": 1910,
        "y": 240,
        "wires": [
            [
                "b18798c4e50c39da"
            ]
        ]
    },
    {
        "id": "b18798c4e50c39da",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "name": "debug 336",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 2090,
        "y": 240,
        "wires": []
    },
    {
        "id": "d41efc2a02be5347",
        "type": "json",
        "z": "9aa7116f3472193e",
        "name": "",
        "property": "payload",
        "action": "str",
        "pretty": false,
        "x": 1650,
        "y": 100,
        "wires": [
            [
                "cb7fc59eb6b95354"
            ]
        ]
    },
    {
        "id": "34e1058d56988bb4",
        "type": "date-converter",
        "z": "9aa7116f3472193e",
        "g": "7ffec55aa3b2882d",
        "name": "",
        "topic": "",
        "input": "",
        "inputType": "msg",
        "inTz": "",
        "adjAmount": 0,
        "adjType": "days",
        "adjDir": "add",
        "format": "",
        "locale": "",
        "output": "",
        "outputType": "msg",
        "outTz": "",
        "x": 400,
        "y": 520,
        "wires": [
            [
                "4aecac59123db356"
            ],
            []
        ]
    },
    {
        "id": "8fcc48e88095aa4f",
        "type": "inject",
        "z": "9aa7116f3472193e",
        "g": "7ffec55aa3b2882d",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1709001978721",
        "payloadType": "num",
        "x": 180,
        "y": 520,
        "wires": [
            [
                "34e1058d56988bb4"
            ]
        ]
    },
    {
        "id": "4aecac59123db356",
        "type": "debug",
        "z": "9aa7116f3472193e",
        "g": "7ffec55aa3b2882d",
        "name": "debug 337",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 580,
        "y": 520,
        "wires": []
    },
    {
        "id": "22630b857b3b1aa7",
        "type": "ui-group",
        "name": "Group Name test1",
        "page": "60f2b5834f44bb9f",
        "width": "6",
        "height": "1",
        "order": -1,
        "showTitle": true,
        "className": "",
        "visible": "true",
        "disabled": "false"
    },
    {
        "id": "60f2b5834f44bb9f",
        "type": "ui-page",
        "name": "test2",
        "ui": "8e88ed68f54ffc23",
        "path": "/page1",
        "icon": "home",
        "layout": "grid",
        "theme": "ebbd600a4950e6d4",
        "order": -1,
        "className": "",
        "visible": "true",
        "disabled": "false"
    },
    {
        "id": "8e88ed68f54ffc23",
        "type": "ui-base",
        "name": "UI Name1",
        "path": "/dashboard",
        "includeClientData": true,
        "acceptsClientConfig": [
            "ui-notification",
            "ui-control"
        ],
        "showPathInSidebar": false,
        "navigationStyle": "default"
    },
    {
        "id": "ebbd600a4950e6d4",
        "type": "ui-theme",
        "name": "Theme Name 1",
        "colors": {
            "surface": "#ffffff",
            "primary": "#0094ce",
            "bgPage": "#eeeeee",
            "groupBg": "#ffffff",
            "groupOutline": "#cccccc"
        },
        "sizes": {
            "pagePadding": "12px",
            "groupGap": "12px",
            "groupBorderRadius": "4px",
            "widgetGap": "12px"
        }
    }
]

The problem is that the data is accumulated and transmitted in 5 seconds and in node red I receive the data late and in a packet where the time of 1 point, 2 points of the graph is indicated. If you plot several points of one graph at the same time, it will be wrong. I get the time in the format 1709001978720 and
1: array[3]
0: -0.7469909 is X
1: -1.1683705 is Y
2: 9.289502 is Z

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.