[
    {
        "id": "6b619007.41aa9",
        "type": "ioBroker list",
        "z": "e39e5239.f6d578",
        "name": "Vorhersage",
        "topic": "0_userdata.0.Vorhersage.*",
        "objType": "state",
        "regex": "",
        "asArray": "true",
        "onlyIDs": "true",
        "withValues": "true",
        "x": 580,
        "y": 280,
        "wires": [
            [
                "a2d35b86.076c78"
            ]
        ]
    },
    {
        "id": "62c33271.f5771c",
        "type": "inject",
        "z": "e39e5239.f6d578",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "900",
        "crontab": "",
        "once": true,
        "onceDelay": "10",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 410,
        "y": 280,
        "wires": [
            [
                "6b619007.41aa9"
            ]
        ]
    },
    {
        "id": "a2d35b86.076c78",
        "type": "function",
        "z": "e39e5239.f6d578",
        "name": "",
        "func": "var series = [\"min °C\", \"max °C\"];\nvar labels = [];\nvar data = \"[[\";\nvar datamax = \"[\";\nvar y = 0;\n\nmsg.payload.sort((a, b) => {\n    return a.val.startts - b.val.startts;\n});\n\nmsg.payload.forEach(myFunction);\n\nfunction myFunction(value, index, array) {\n    labels[y] = value.val.von+3;\n    if(labels[y] > 23) labels[y] = labels[y] - 24\n    y++;\n    \n    if(data != \"[[\") data += \",\";\n    data += value.val.details.air_temperature_min;\n        \n    if(datamax != \"[\") datamax += \",\";\n    datamax += value.val.details.air_temperature_max;\n}\n\nvar jsondata = JSON.parse(data+\"],\"+datamax+\"]]\");\nmsg.payload = [{\"series\": series, \"data\": jsondata, \"labels\": labels}];\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 820,
        "y": 280,
        "wires": [
            [
                "244f76c8.0d045a"
            ]
        ]
    },
    {
        "id": "244f76c8.0d045a",
        "type": "ui_chart",
        "z": "e39e5239.f6d578",
        "name": "",
        "group": "6a97fb75.8863b4",
        "order": 17,
        "width": "6",
        "height": "6",
        "label": "Vorhersage 48 Stunden",
        "chartType": "line",
        "legend": "true",
        "xformat": "dd HH:mm",
        "interpolate": "linear",
        "nodata": "",
        "dot": true,
        "ymin": "",
        "ymax": "",
        "removeOlder": 1,
        "removeOlderPoints": "8",
        "removeOlderUnit": "604800",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 1070,
        "y": 280,
        "wires": [
            []
        ]
    },
    {
        "id": "6a97fb75.8863b4",
        "type": "ui_group",
        "name": "Vorhersage",
        "tab": "d3816d7a.084ce",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": true
    },
    {
        "id": "d3816d7a.084ce",
        "type": "ui_tab",
        "name": "Temperaturen",
        "icon": "fa-thermometer-empty",
        "order": 3,
        "disabled": false,
        "hidden": false
    }
]