MYSQL query data is not displaying on line chart in dashboard

Hi
I am fairly new to JS and node red. I have data from sensors that is stored in a MYSQL database.
I display a user query from the database on my dashboard and it all works when called
I now want to display the different fields (batt,temp,light etc) on a line chart with a time base as x.

The graph shows up on my dashboard with the y axis formatted to scale, but no lines or data. here is the flow.

[
    {
        "id": "4447f1fa.c7a27",
        "type": "tab",
        "label": "show stud data",
        "disabled": false,
        "info": ""
    },
    {
        "id": "80a060da.8c1db",
        "type": "ui_template",
        "z": "4447f1fa.c7a27",
        "group": "fe5b5e1b0beaa2ad",
        "name": "From Database",
        "order": 7,
        "width": "17",
        "height": "7",
        "format": "<style>\ntable\n{\n    background:black;\n}\n.main\n{\n\n\n    height:1500px;\n}\n</style>\n<div class=\"main\">\n<table style=\"width:100%\">\n  <tr>\n    <th>Date</th> \n    <th>Time</th>\n    <th>Stud</th>\n    <th>Batt</th>\n    <th>Charge</th>\n    <th>Signal</th>\n    <th>Temperature</th>\n    <th>Light</th>\n\n  \n  </tr>\n  <tr ng-repeat=\"x in msg.payload | limitTo:10000\">\n    <td>{{msg.payload[$index].datum}}</td>\n    <td>{{msg.payload[$index].timing}}</td>\n    <td>{{msg.payload[$index].position}}</td>\n    <td>{{msg.payload[$index].battery}}</td>\n    <td>{{msg.payload[$index].charge}}</td>\n    <td>{{msg.payload[$index].signalstrength}}</td>\n    <td>{{msg.payload[$index].temperature}}</td>\n    <td>{{msg.payload[$index].light}}</td>\n   \n\n  </tr>\n</table>\n</div>",
        "storeOutMessages": true,
        "fwdInMessages": true,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 960,
        "y": 240,
        "wires": [
            []
        ]
    },
    {
        "id": "2134256f.8304f2",
        "type": "function",
        "z": "4447f1fa.c7a27",
        "name": "",
        "func": "var data = context.get('data') || { value: \"\", condition: \">=\" };\nvar topic = msg.topic;\nvar payload = msg.payload;\nif (topic == \"position\")\n    data.site = msg.payload;\nif (topic == \"value\")\n    data.value = msg.payload;\nif (topic == \"condition\")\n    data.condition = msg.payload;\nif (topic == \"sdatum\")\n    data.sdate = msg.payload;\nif (topic == \"edatum\")\n    data.edate = msg.payload;\n\nvar d = new Date();\nvar now = d.getDate();\nif (data.edate == undefined || data.edate == \"\")\n    edate = now;\nelse\n    var edate = data.edate;\n\nif (data.sdate == undefined || data.sdate == \"\")\n    var sdate = now;\nelse\n    sdate = data.sdate;\ncontext.set('data', data)\nif (sdate == 0) {\n    var part_msg = \"\";\n\n}\nelse {\n    var part_msg = \" AND TIMESTAMP >\" + sdate + \" AND TIMESTAMP<\" + edate + \" \";\n}\nif (topic == \"submit\") {\n    var query = \"\";\n    if (data.value == undefined || data.value == \"\") {\n        if (data.site != undefined)\n            query = \"SELECT * FROM studs.stud_status WHERE position=\" + \"\\\"\" + data.site + \"\\\"\" + \"AND timestamp_ >= \" + sdate + \"\";//\" + \"\\\"\" + data.site + \"\\\" ORDER BY datum DESC\";\n    }\n    else if (data.value != undefined && data.value != \"\") {\n        if (data.site != undefined && data.condition != undefined) {\n            query = \"SELECT * FROM studs.stud_status WHERE position=\" + \"\\\"\" + data.site + \"\\\"\" + \" AND light \";\n            query = query + data.condition + data.value;\n            query = query + \" ORDER BY datum DESC LIMIT 100\";\n        }\n    }\n    node.log(\"query \" + query);\n    msg.topic = query;\n\n    context.set('data', data)\n    if (query = \"1\")\n        return msg;\n}\nreturn;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 420,
        "y": 240,
        "wires": [
            [
                "2ef4c453f4827be8",
                "9ade5738986f044c"
            ]
        ]
    },
    {
        "id": "b82db343.9fb4d",
        "type": "ui_dropdown",
        "z": "4447f1fa.c7a27",
        "d": true,
        "name": "Query Type",
        "label": "Query Type",
        "tooltip": "",
        "place": "Select option",
        "group": "fe5b5e1b0beaa2ad",
        "order": 1,
        "width": "4",
        "height": "2",
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": ">=",
                "value": ">=",
                "type": "str"
            },
            {
                "label": "<=",
                "value": "<=",
                "type": "str"
            },
            {
                "label": "=",
                "value": "=",
                "type": "str"
            }
        ],
        "payload": "",
        "topic": "condition",
        "topicType": "str",
        "className": "",
        "x": 130,
        "y": 220,
        "wires": [
            [
                "2134256f.8304f2"
            ]
        ]
    },
    {
        "id": "280eff25.001f5",
        "type": "ui_text_input",
        "z": "4447f1fa.c7a27",
        "name": "value",
        "label": "value",
        "tooltip": "",
        "group": "f7a06e3b.8c35b",
        "order": 2,
        "width": "4",
        "height": "1",
        "passthru": false,
        "mode": "text",
        "delay": "100",
        "topic": "value",
        "sendOnBlur": true,
        "className": "",
        "topicType": "str",
        "x": 130,
        "y": 280,
        "wires": [
            [
                "2134256f.8304f2"
            ]
        ]
    },
    {
        "id": "a372c41d.5e6968",
        "type": "ui_button",
        "z": "4447f1fa.c7a27",
        "name": "submit",
        "group": "fe5b5e1b0beaa2ad",
        "order": 8,
        "width": "4",
        "height": "1",
        "passthru": false,
        "label": "Submit",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "",
        "payload": "1",
        "payloadType": "str",
        "topic": "submit",
        "topicType": "str",
        "x": 130,
        "y": 360,
        "wires": [
            [
                "2134256f.8304f2"
            ]
        ]
    },
    {
        "id": "6240d8.feb99f28",
        "type": "ui_date_picker",
        "z": "4447f1fa.c7a27",
        "name": "start date",
        "label": "Start date",
        "group": "fe5b5e1b0beaa2ad",
        "order": 3,
        "width": "5",
        "height": "2",
        "passthru": true,
        "topic": "sdatum",
        "topicType": "str",
        "className": "",
        "x": 140,
        "y": 420,
        "wires": [
            [
                "2134256f.8304f2"
            ]
        ]
    },
    {
        "id": "8ab8621.bcbbca",
        "type": "ui_date_picker",
        "z": "4447f1fa.c7a27",
        "d": true,
        "name": "End Date",
        "label": "End Date",
        "group": "fe5b5e1b0beaa2ad",
        "order": 4,
        "width": "4",
        "height": "4",
        "passthru": true,
        "topic": "edatum",
        "topicType": "str",
        "className": "",
        "x": 140,
        "y": 480,
        "wires": [
            [
                "2134256f.8304f2"
            ]
        ]
    },
    {
        "id": "159524314a5fae1a",
        "type": "ui_dropdown",
        "z": "4447f1fa.c7a27",
        "name": "Stud Number",
        "label": "Stud Number",
        "tooltip": "Select the stud number to lookup",
        "place": "Select option",
        "group": "fe5b5e1b0beaa2ad",
        "order": 2,
        "width": "5",
        "height": "2",
        "passthru": false,
        "multiple": false,
        "options": [
            {
                "label": "1",
                "value": "1",
                "type": "str"
            },
            {
                "label": "2",
                "value": "2",
                "type": "str"
            },
            {
                "label": "3",
                "value": "3",
                "type": "str"
            },
            {
                "label": "4",
                "value": "4",
                "type": "str"
            },
            {
                "label": "5",
                "value": "5",
                "type": "str"
            },
            {
                "label": "6",
                "value": "6",
                "type": "str"
            },
            {
                "label": "7",
                "value": "7",
                "type": "str"
            },
            {
                "label": "8",
                "value": "8",
                "type": "str"
            },
            {
                "label": "9",
                "value": "9",
                "type": "str"
            },
            {
                "label": "10",
                "value": "10",
                "type": "str"
            },
            {
                "label": "11",
                "value": "11",
                "type": "str"
            },
            {
                "label": "12",
                "value": "12",
                "type": "str"
            },
            {
                "label": "13",
                "value": "13",
                "type": "str"
            },
            {
                "label": "14",
                "value": "14",
                "type": "str"
            },
            {
                "label": "15",
                "value": "15",
                "type": "str"
            },
            {
                "label": "16",
                "value": "16",
                "type": "str"
            },
            {
                "label": "17",
                "value": "17",
                "type": "str"
            },
            {
                "label": "18",
                "value": "18",
                "type": "str"
            },
            {
                "label": "19",
                "value": "19",
                "type": "str"
            },
            {
                "label": "20",
                "value": "20",
                "type": "str"
            }
        ],
        "payload": "",
        "topic": "position",
        "topicType": "str",
        "className": "",
        "x": 130,
        "y": 160,
        "wires": [
            [
                "2134256f.8304f2"
            ]
        ]
    },
    {
        "id": "2ef4c453f4827be8",
        "type": "mysql",
        "z": "4447f1fa.c7a27",
        "mydb": "6e9d84d500e8a508",
        "name": "stud status mysql",
        "x": 650,
        "y": 240,
        "wires": [
            [
                "80a060da.8c1db",
                "4c98e94c06312a2e"
            ]
        ]
    },
    {
        "id": "9ade5738986f044c",
        "type": "ui_text",
        "z": "4447f1fa.c7a27",
        "group": "fe5b5e1b0beaa2ad",
        "order": 9,
        "width": "5",
        "height": "4",
        "name": "",
        "label": "Query sent",
        "format": "{{msg.topic}}",
        "layout": "col-center",
        "className": "",
        "x": 610,
        "y": 180,
        "wires": []
    },
    {
        "id": "4c98e94c06312a2e",
        "type": "function",
        "z": "4447f1fa.c7a27",
        "name": "charge graph",
        "func": "//var series = [\"Charge\"];\n//var labels = [\"Charge Values\"];\n//var data = msg.payload;\n//var thetime = Date.now()\n\nvar d = [\"[\"]\nfor (var i = 0; i < msg.payload.length; i++) {\n    d += '{ \"x\":' + msg.payload[i].timestamp_ + ', \"y\":' + msg.payload[i].battery + '}';\n    if (i < (msg.payload.length - 1)) {\n        d += \",\"\n    } else {\n        d += \"]\"\n    }\n}\n//var a = JSON.parse(d)\n\n\nvar f = [\"[\"]\nfor (var j = 0; j < msg.payload.length; j++) {\n    f += '{ \"x\":' + msg.payload[j].timestamp_ + ', \"y\":' + msg.payload[j].charge + '}';\n    if (j < (msg.payload.length - 1)) {\n        f += \",\"\n    } else {\n        f += \"]\"\n    }\n}\n//var b = JSON.parse(f)\n\nvar x = [\"[\"]\nfor (var m = 0; m < msg.payload.length; m++) {\n    x += '{ \"x\":' + msg.payload[m].timestamp_ + ', \"y\":' + msg.payload[m].temperature + '}';\n    if (m < (msg.payload.length - 1)) {\n        x += \",\"\n    } else {\n        x += \"]\"\n    }\n}\n//var c = JSON.parse(x)\n\nvar e = [\"[\"]\nfor (var m = 0; m < msg.payload.length; m++) {\n    x += '{ \"x\":' + msg.payload[m].timestamp_ + ', \"y\":' + msg.payload[m].light + '}';\n    if (m < (msg.payload.length - 1)) {\n        x += \",\"\n    } else {\n        x += \"]\"\n    }\n}\n//var c = JSON.parse(e)\n\nmsg.payload = [{\n    \"series\": [\"Battery\", \"Charge\", \"Temperature\", \"Light\"],\n    \"data\": [d, f, x, e],\n    \"labels\": [\"Battery\", \"Charge\", \"Temperature\", \"Light\"]\n}]\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 900,
        "y": 340,
        "wires": [
            [
                "06b5672e66242ca5",
                "893a2823bb2e8272"
            ]
        ]
    },
    {
        "id": "893a2823bb2e8272",
        "type": "debug",
        "z": "4447f1fa.c7a27",
        "name": "debug 6",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1120,
        "y": 420,
        "wires": []
    },
    {
        "id": "06b5672e66242ca5",
        "type": "ui_chart",
        "z": "4447f1fa.c7a27",
        "name": "sql response",
        "group": "fe5b5e1b0beaa2ad",
        "order": 10,
        "width": "9",
        "height": "4",
        "label": "Line Chart",
        "chartType": "line",
        "legend": "true",
        "xformat": "auto",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "ymin": "",
        "ymax": "",
        "removeOlder": 1,
        "removeOlderPoints": "",
        "removeOlderUnit": "60",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 1140,
        "y": 340,
        "wires": [
            []
        ]
    },
    {
        "id": "fe5b5e1b0beaa2ad",
        "type": "ui_group",
        "name": "Stud Reporting",
        "tab": "e9bbb610152bc753",
        "order": 1,
        "disp": true,
        "width": "35",
        "collapse": true,
        "className": ""
    },
    {
        "id": "f7a06e3b.8c35b",
        "type": "ui_group",
        "name": "Default",
        "tab": "ff84105b.764c3",
        "order": 1,
        "disp": true,
        "width": "12",
        "collapse": false
    },
    {
        "id": "6e9d84d500e8a508",
        "type": "MySQLdatabase",
        "name": "",
        "host": "127.0.0.1",
        "port": "3306",
        "db": "studs",
        "tz": "",
        "charset": "UTF8"
    },
    {
        "id": "e9bbb610152bc753",
        "type": "ui_tab",
        "name": "Test Stud Site Monitor",
        "icon": "dashboard",
        "order": 1,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "ff84105b.764c3",
        "type": "ui_tab",
        "name": "SITE-RESULTS",
        "icon": "dashboard"
    }
]

My debug shows the output of the function, but I am still missing something.

[{"series":["Battery","Charge","Temperature","Light"],"data":["[{ \"x\":1666224007685, \"y\":0.01},{ \"x\":1666224025963, \"y\":0.01},{ \"x\":1666224034888, \"y\":0.01},{ \"x\":1666224052898, \"y\":0.00},{ \"x\":1666224069144, \"y\":0.00},{ \"x\":1666224078075, \"y\":0.00},{ \"x\":1666224095352, \"y\":0.00},{ \"x\":1666224113105, \"y\":0.01},{ \"x\":1666224122325, \"y\":0.01},{ \"x\":1666224148086, \"y\":0.01},{ \"x\":1666224157504, \"y\":0.01},{ \"x\":1666224175330, \"y\":0.01},{ \"x\":1666224192390, \"y\":0.01},{ \"x\":1666224210452, \"y\":0.01},{ \"x\":1666224219662, \"y\":0.00},{ \"x\":1666224236774, \"y\":0.00},{ \"x\":1666224254526, \"y\":0.00},{ \"x\":1666224272308, \"y\":0.00},{ \"x\":1666224281331, \"y\":0.00},{ \"x\":1666224299058, \"y\":0.00},{ \"x\":1666224316692, \"y\":0.00},{ \"x\":1666224325516, \"y\":0.00},{ \"x\":1666224343485, \"y\":0.00},{ \"x\":1666224361261, \"y\":0.00},{ \"x\":1666224370341, \"y\":0.00},{ \"x\":1666224388056, \"y\":0.00},{ \"x\":1666224405968, \"y\":0.00},{ \"x\":1666224414740, \"y\":0.00},{ \"x\":1666224432537, \"y\":0.00},{ \"x\":1666224450218, \"y\":0.00},{ \"x\":1666224468251, \"y\":0.01},{ \"x\":1666224477291, \"y\":0.01},{ \"x\":1...","[{ \"x\":1666224007685, \"y\":412},{ \"x\":1666224025963, \"y\":412},{ \"x\":1666224034888, \"y\":412},{ \"x\":1666224052898, \"y\":412},{ \"x\":1666224069144, \"y\":412},{ \"x\":1666224078075, \"y\":412},{ \"x\":1666224095352, \"y\":412},{ \"x\":1666224113105, \"y\":415},{ \"x\":1666224122325, \"y\":415},{ \"x\":1666224148086, \"y\":415},{ \"x\":1666224157504, \"y\":415},{ \"x\":1666224175330, \"y\":415},{ \"x\":1666224192390, \"y\":415},{ \"x\":1666224210452, \"y\":415},{ \"x\":1666224219662, \"y\":412},{ \"x\":1666224236774, \"y\":412},{ \"x\":1666224254526, \"y\":412},{ \"x\":1666224272308, \"y\":412},{ \"x\":1666224281331, \"y\":415},{ \"x\":1666224299058, \"y\":415},{ \"x\":1666224316692, \"y\":415},{ \"x\":1666224325516, \"y\":415},{ \"x\":1666224343485, \"y\":412},{ \"x\":1666224361261, \"y\":412},{ \"x\":1666224370341, \"y\":412},{ \"x\":1666224388056, \"y\":412},{ \"x\":1666224405968, \"y\":412},{ \"x\":1666224414740, \"y\":412},{ \"x\":1666224432537, \"y\":412},{ \"x\":1666224450218, \"y\":412},{ \"x\":1666224468251, \"y\":415},{ \"x\":1666224477291, \"y\":415},{ \"x\":1666224495556, \"y\":415},{ \"x\":166...","[{ \"x\":1666224007685, \"y\":40.0},{ \"x\":1666224025963, \"y\":40.0},{ \"x\":1666224034888, \"y\":40.0},{ \"x\":1666224052898, \"y\":40.0},{ \"x\":1666224069144, \"y\":40.0},{ \"x\":1666224078075, \"y\":40.0},{ \"x\":1666224095352, \"y\":40.0},{ \"x\":1666224113105, \"y\":40.0},{ \"x\":1666224122325, \"y\":40.0},{ \"x\":1666224148086, \"y\":40.0},{ \"x\":1666224157504, \"y\":40.0},{ \"x\":1666224175330, \"y\":40.0},{ \"x\":1666224192390, \"y\":40.0},{ \"x\":1666224210452, \"y\":40.0},{ \"x\":1666224219662, \"y\":40.0},{ \"x\":1666224236774, \"y\":40.0},{ \"x\":1666224254526, \"y\":40.0},{ \"x\":1666224272308, \"y\":40.0},{ \"x\":1666224281331, \"y\":40.0},{ \"x\":1666224299058, \"y\":40.0},{ \"x\":1666224316692, \"y\":40.0},{ \"x\":1666224325516, \"y\":40.0},{ \"x\":1666224343485, \"y\":40.0},{ \"x\":1666224361261, \"y\":40.0},{ \"x\":1666224370341, \"y\":40.0},{ \"x\":1666224388056, \"y\":40.0},{ \"x\":1666224405968, \"y\":40.0},{ \"x\":1666224414740, \"y\":40.0},{ \"x\":1666224432537, \"y\":40.0},{ \"x\":1666224450218, \"y\":40.0},{ \"x\":1666224468251, \"y\":40.0},{ \"x\":1666224477291, \"y\":40.0},{ \"x\":1...",["["]],"labels":["Battery","Charge","Temperature","Light"]}]

Any help would be appreciated.

You are creating json strings not objects, you would be best using map()
untested as no data provided

let d = msg.payload.map(obj => {
    return {x: obj.timestamp, y:obj.battery}
})

let f = msg.payload.map(obj => {
    return {x: obj.timestamp, y:obj.charge}
})

let x = msg.payload.map(obj => {
    return {x: obj.timestamp, y:obj.temperature}
})

let e = msg.payload.map(obj => {
    return {x: obj.timestamp, y:obj.light}
})

msg.payload = [{
 "series": ["Battery", "Charge", "Temperature", "Light"],
 "data": [d,f,x,e],
 "labels": ["Battery", "Charge", "Temperature", "Light"]
}]

return msg;

I changed the node to your suggestion, and now it displays the series and time scale. It must be plotting Y values as well as the scale changes dynamically if I load different data. Next issue is that it seems to plot everything on the first timestamp. I have tried the function node code as below.

let d = msg.payload.map(obj => {
    return { x: obj.timestamp_, y: obj.battery }
})

let f = msg.payload.map(obj => {
    return { x: obj.timestamp_, y: obj.charge }
})

let x = msg.payload.map(obj => {
    return { x: obj.timestamp_, y: obj.temperature }
})

let e = msg.payload.map(obj => {
    return { x: obj.timestamp_, y: obj.light }
})

msg.payload = [{

    "series": ["Battery", "Charge", "Temperature", "Lght"],
    "data" :[d,f,x,e],
    "labels" : ["Battery", "Charge", "Temperature", "Lght"],

}]
return msg;

here is the debug from the function.

as well as the line graph
image

Still no example incoming data provided.

Your timestamp and values are strings
so you need to convert to numbers

let f = msg.payload.map(obj => {
    return { x: Number(obj.timestamp_), y: Number(obj.charge) }
})

Also 5000 plus points is a lot to display on a screen 1900 x 1000. You may want to limit that.

Thanks for the reply. I have now limited the query to 1000 lines. Also attached the debug output from the MySQL query that I want to plot (I trimmed the results down to fit the reply size).

[{"id":447806,"timestamp_":"1666483188379","datum":"2022/10/23","timing":"12:59:48","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447788,"timestamp_":"1666483173219","datum":"2022/10/23","timing":"12:59:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447770,"timestamp_":"1666483158293","datum":"2022/10/23","timing":"12:59:18","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447752,"timestamp_":"1666483143417","datum":"2022/10/23","timing":"12:59:03","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447734,"timestamp_":"1666483128494","datum":"2022/10/23","timing":"12:58:48","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447716,"timestamp_":"1666483113594","datum":"2022/10/23","timing":"12:58:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447698,"timestamp_":"1666483098717","datum":"2022/10/23","timing":"12:58:18","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447680,"timestamp_":"1666483083815","datum":"2022/10/23","timing":"12:58:03","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447662,"timestamp_":"1666483068902","datum":"2022/10/23","timing":"12:57:48","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447644,"timestamp_":"1666483053870","datum":"2022/10/23","timing":"12:57:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447626,"timestamp_":"1666483039039","datum":"2022/10/23","timing":"12:57:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447608,"timestamp_":"1666483024070","datum":"2022/10/23","timing":"12:57:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447590,"timestamp_":"1666483009194","datum":"2022/10/23","timing":"12:56:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447572,"timestamp_":"1666482994012","datum":"2022/10/23","timing":"12:56:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447554,"timestamp_":"1666482979094","datum":"2022/10/23","timing":"12:56:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447536,"timestamp_":"1666482964143","datum":"2022/10/23","timing":"12:56:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447518,"timestamp_":"1666482949300","datum":"2022/10/23","timing":"12:55:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447500,"timestamp_":"1666482934321","datum":"2022/10/23","timing":"12:55:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447482,"timestamp_":"1666482919263","datum":"2022/10/23","timing":"12:55:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447464,"timestamp_":"1666482904395","datum":"2022/10/23","timing":"12:55:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447446,"timestamp_":"1666482889510","datum":"2022/10/23","timing":"12:54:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447428,"timestamp_":"1666482874461","datum":"2022/10/23","timing":"12:54:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447410,"timestamp_":"1666482859335","datum":"2022/10/23","timing":"12:54:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447392,"timestamp_":"1666482844416","datum":"2022/10/23","timing":"12:54:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447374,"timestamp_":"1666482829265","datum":"2022/10/23","timing":"12:53:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447356,"timestamp_":"1666482814261","datum":"2022/10/23","timing":"12:53:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447338,"timestamp_":"1666482799300","datum":"2022/10/23","timing":"12:53:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447320,"timestamp_":"1666482784397","datum":"2022/10/23","timing":"12:53:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447302,"timestamp_":"1666482769481","datum":"2022/10/23","timing":"12:52:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447284,"timestamp_":"1666482754455","datum":"2022/10/23","timing":"12:52:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447266,"timestamp_":"1666482739592","datum":"2022/10/23","timing":"12:52:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447248,"timestamp_":"1666482724657","datum":"2022/10/23","timing":"12:52:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447230,"timestamp_":"1666482709692","datum":"2022/10/23","timing":"12:51:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447212,"timestamp_":"1666482694651","datum":"2022/10/23","timing":"12:51:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447194,"timestamp_":"1666482679820","datum":"2022/10/23","timing":"12:51:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447176,"timestamp_":"1666482664884","datum":"2022/10/23","timing":"12:51:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447158,"timestamp_":"1666482649692","datum":"2022/10/23","timing":"12:50:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447140,"timestamp_":"1666482634786","datum":"2022/10/23","timing":"12:50:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447122,"timestamp_":"1666482619746","datum":"2022/10/23","timing":"12:50:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447104,"timestamp_":"1666482604843","datum":"2022/10/23","timing":"12:50:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447086,"timestamp_":"1666482589945","datum":"2022/10/23","timing":"12:49:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447068,"timestamp_":"1666482575085","datum":"2022/10/23","timing":"12:49:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447050,"timestamp_":"1666482560043","datum":"2022/10/23","timing":"12:49:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447032,"timestamp_":"1666482544905","datum":"2022/10/23","timing":"12:49:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":447014,"timestamp_":"1666482529743","datum":"2022/10/23","timing":"12:48:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":446996,"timestamp_":"1666482514792","datum":"2022/10/23","timing":"12:48:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"412","light":"0","solar":"0","signalstrength":"100"},{"id":446978,"timestamp_":"1666482499759","datum":"2022/10/23","timing":"12:48:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446960,"timestamp_":"1666482484643","datum":"2022/10/23","timing":"12:48:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446942,"timestamp_":"1666482469679","datum":"2022/10/23","timing":"12:47:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446924,"timestamp_":"1666482454536","datum":"2022/10/23","timing":"12:47:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446906,"timestamp_":"1666482439529","datum":"2022/10/23","timing":"12:47:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446888,"timestamp_":"1666482424635","datum":"2022/10/23","timing":"12:47:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446870,"timestamp_":"1666482409779","datum":"2022/10/23","timing":"12:46:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446852,"timestamp_":"1666482394859","datum":"2022/10/23","timing":"12:46:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446834,"timestamp_":"1666482379963","datum":"2022/10/23","timing":"12:46:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446816,"timestamp_":"1666482365140","datum":"2022/10/23","timing":"12:46:05","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446798,"timestamp_":"1666482349932","datum":"2022/10/23","timing":"12:45:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446780,"timestamp_":"1666482334974","datum":"2022/10/23","timing":"12:45:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446762,"timestamp_":"1666482319828","datum":"2022/10/23","timing":"12:45:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446744,"timestamp_":"1666482304895","datum":"2022/10/23","timing":"12:45:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446726,"timestamp_":"1666482290328","datum":"2022/10/23","timing":"12:44:50","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446708,"timestamp_":"1666482274799","datum":"2022/10/23","timing":"12:44:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446690,"timestamp_":"1666482259884","datum":"2022/10/23","timing":"12:44:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446672,"timestamp_":"1666482244979","datum":"2022/10/23","timing":"12:44:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446654,"timestamp_":"1666482229624","datum":"2022/10/23","timing":"12:43:49","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446636,"timestamp_":"1666482214722","datum":"2022/10/23","timing":"12:43:34","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446618,"timestamp_":"1666482199861","datum":"2022/10/23","timing":"12:43:19","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446600,"timestamp_":"1666482184954","datum":"2022/10/23","timing":"12:43:04","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446582,"timestamp_":"1666482170057","datum":"2022/10/23","timing":"12:42:50","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446564,"timestamp_":"1666482155094","datum":"2022/10/23","timing":"12:42:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446546,"timestamp_":"1666482140181","datum":"2022/10/23","timing":"12:42:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446528,"timestamp_":"1666482125275","datum":"2022/10/23","timing":"12:42:05","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446510,"timestamp_":"1666482110323","datum":"2022/10/23","timing":"12:41:50","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446492,"timestamp_":"1666482095466","datum":"2022/10/23","timing":"12:41:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446474,"timestamp_":"1666482080566","datum":"2022/10/23","timing":"12:41:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446456,"timestamp_":"1666482065319","datum":"2022/10/23","timing":"12:41:05","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446438,"timestamp_":"1666482050420","datum":"2022/10/23","timing":"12:40:50","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446420,"timestamp_":"1666482035521","datum":"2022/10/23","timing":"12:40:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446402,"timestamp_":"1666482020620","datum":"2022/10/23","timing":"12:40:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446384,"timestamp_":"1666482005522","datum":"2022/10/23","timing":"12:40:05","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446366,"timestamp_":"1666481990718","datum":"2022/10/23","timing":"12:39:50","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446348,"timestamp_":"1666481975838","datum":"2022/10/23","timing":"12:39:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446330,"timestamp_":"1666481960939","datum":"2022/10/23","timing":"12:39:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446312,"timestamp_":"1666481945918","datum":"2022/10/23","timing":"12:39:05","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446294,"timestamp_":"1666481931018","datum":"2022/10/23","timing":"12:38:51","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446276,"timestamp_":"1666481915775","datum":"2022/10/23","timing":"12:38:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446258,"timestamp_":"1666481900616","datum":"2022/10/23","timing":"12:38:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446240,"timestamp_":"1666481885766","datum":"2022/10/23","timing":"12:38:05","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446222,"timestamp_":"1666481870841","datum":"2022/10/23","timing":"12:37:50","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446204,"timestamp_":"1666481855926","datum":"2022/10/23","timing":"12:37:35","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446186,"timestamp_":"1666481840905","datum":"2022/10/23","timing":"12:37:20","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446168,"timestamp_":"1666481826007","datum":"2022/10/23","timing":"12:37:06","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446150,"timestamp_":"1666481811164","datum":"2022/10/23","timing":"12:36:51","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446132,"timestamp_":"1666481796224","datum":"2022/10/23","timing":"12:36:36","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446114,"timestamp_":"1666481781205","datum":"2022/10/23","timing":"12:36:21","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446096,"timestamp_":"1666481766344","datum":"2022/10/23","timing":"12:36:06","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446078,"timestamp_":"1666481751436","datum":"2022/10/23","timing":"12:35:51","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446060,"timestamp_":"1666481736506","datum":"2022/10/23","timing":"12:35:36","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446042,"timestamp_":"1666481721501","datum":"2022/10/23","timing":"12:35:21","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446024,"timestamp_":"1666481706600","datum":"2022/10/23","timing":"12:35:06","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":446006,"timestamp_":"1666481691726","datum":"2022/10/23","timing":"12:34:51","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445988,"timestamp_":"1666481672762","datum":"2022/10/23","timing":"12:34:32","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445970,"timestamp_":"1666481657849","datum":"2022/10/23","timing":"12:34:17","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445952,"timestamp_":"1666481642602","datum":"2022/10/23","timing":"12:34:02","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445934,"timestamp_":"1666481627762","datum":"2022/10/23","timing":"12:33:47","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445916,"timestamp_":"1666481612400","datum":"2022/10/23","timing":"12:33:32","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445898,"timestamp_":"1666481597542","datum":"2022/10/23","timing":"12:33:17","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445880,"timestamp_":"1666481582630","datum":"2022/10/23","timing":"12:33:02","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445862,"timestamp_":"1666481567603","datum":"2022/10/23","timing":"12:32:47","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445844,"timestamp_":"1666481552750","datum":"2022/10/23","timing":"12:32:32","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445826,"timestamp_":"1666481537820","datum":"2022/10/23","timing":"12:32:17","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445808,"timestamp_":"1666481522881","datum":"2022/10/23","timing":"12:32:02","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445790,"timestamp_":"1666481507895","datum":"2022/10/23","timing":"12:31:47","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445772,"timestamp_":"1666481493042","datum":"2022/10/23","timing":"12:31:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445754,"timestamp_":"1666481478002","datum":"2022/10/23","timing":"12:31:18","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445736,"timestamp_":"1666481462950","datum":"2022/10/23","timing":"12:31:02","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445718,"timestamp_":"1666481447980","datum":"2022/10/23","timing":"12:30:47","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445700,"timestamp_":"1666481433049","datum":"2022/10/23","timing":"12:30:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445682,"timestamp_":"1666481418147","datum":"2022/10/23","timing":"12:30:18","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445664,"timestamp_":"1666481403215","datum":"2022/10/23","timing":"12:30:03","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445646,"timestamp_":"1666481388183","datum":"2022/10/23","timing":"12:29:48","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445628,"timestamp_":"1666481373343","datum":"2022/10/23","timing":"12:29:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.8","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445610,"timestamp_":"1666481358424","datum":"2022/10/23","timing":"12:29:18","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445592,"timestamp_":"1666481343385","datum":"2022/10/23","timing":"12:29:03","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445574,"timestamp_":"1666481328543","datum":"2022/10/23","timing":"12:28:48","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"},{"id":445556,"timestamp_":"1666481313579","datum":"2022/10/23","timing":"12:28:33","naming":"stud2","position":"1","studid":"0000000B","studgroup":"1","temperature":"40.5","battery":"0.01","charge":"410","light":"0","solar":"0","signalstrength":"100"}]

Thats better your sql return seem to be ordering the return, but as your timestamp is a string it will order lexicographical (alphabetically). So i suggest you alter you db to store timestamps a numbers (decimally) and your values, this will make things easier.

Thanks a lot for your help. Converting to numbers has fixed the whole thing. Data and series are now displaying. This problem had me pulling out my hair.

I can now build on more functionality....

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