[
    {
        "id": "59f4b82a.869308",
        "type": "tab",
        "label": "local mes",
        "disabled": false,
        "info": ""
    },
    {
        "id": "1efb8544.0b251b",
        "type": "nupmes-counter",
        "z": "59f4b82a.869308",
        "name": "",
        "x": 580,
        "y": 380,
        "wires": [
            [
                "4c431550.acf33c"
            ]
        ]
    },
    {
        "id": "4c431550.acf33c",
        "type": "nupmes-set-io",
        "z": "59f4b82a.869308",
        "server": "7f6b21b5.63e",
        "deviceName": "INTERNAL",
        "ioName": "Internal-Counter",
        "queueTicks": "1000",
        "x": 920,
        "y": 380,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "6900786b.9f5658",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 380,
        "wires": [
            [
                "1efb8544.0b251b"
            ]
        ]
    },
    {
        "id": "217344e6.ec9efc",
        "type": "debug",
        "z": "59f4b82a.869308",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 1330,
        "y": 1000,
        "wires": []
    },
    {
        "id": "ff6a9fff.5e0d5",
        "type": "nupmes-counter",
        "z": "59f4b82a.869308",
        "name": "",
        "x": 580,
        "y": 440,
        "wires": [
            [
                "c569469f.2109a8"
            ]
        ]
    },
    {
        "id": "1144051f.f9935b",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 440,
        "wires": [
            [
                "ff6a9fff.5e0d5"
            ]
        ]
    },
    {
        "id": "c569469f.2109a8",
        "type": "nupmes-set-io",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "deviceName": "INTERNAL",
        "ioName": "Internal-Counter",
        "queueTicks": "1000",
        "x": 920,
        "y": 440,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "e5fe12ca.fdf6b",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 500,
        "wires": [
            [
                "8eabed45.ccfff"
            ]
        ]
    },
    {
        "id": "8eabed45.ccfff",
        "type": "nupmes-counter",
        "z": "59f4b82a.869308",
        "name": "",
        "x": 580,
        "y": 500,
        "wires": [
            [
                "1b6e13dc.028b2c"
            ]
        ]
    },
    {
        "id": "3e6af31f.d87b6c",
        "type": "nupmes-get-io",
        "z": "59f4b82a.869308",
        "server": "b5ab0f6e.97a7b",
        "deviceName": "INTERNAL",
        "ioName": "Internal-Counter",
        "x": 920,
        "y": 1000,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "d26668e0.d84798",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 390,
        "y": 1000,
        "wires": [
            [
                "3e6af31f.d87b6c"
            ]
        ]
    },
    {
        "id": "ff5a3f99.78bfc",
        "type": "nupmes-set-parameter-message",
        "z": "59f4b82a.869308",
        "server": "b5ab0f6e.97a7b",
        "machineId": "1001",
        "parameterId": "0",
        "queueTicks": "1000",
        "x": 970,
        "y": 700,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "2ef827a7.f08d78",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 700,
        "wires": [
            [
                "ff5a3f99.78bfc"
            ]
        ]
    },
    {
        "id": "3e933614.195e4a",
        "type": "nupmes-set-parameter-message",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "machineId": "1001",
        "parameterId": "0",
        "queueTicks": "1000",
        "x": 970,
        "y": 760,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "a77f98ed.016c58",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 760,
        "wires": [
            [
                "3e933614.195e4a"
            ]
        ]
    },
    {
        "id": "f3f9a5a9.5328c8",
        "type": "nupmes-counter",
        "z": "59f4b82a.869308",
        "name": "",
        "x": 580,
        "y": 560,
        "wires": [
            [
                "66d0c8d0.fcf158"
            ]
        ]
    },
    {
        "id": "4a0f20e7.cd07f",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 560,
        "wires": [
            [
                "f3f9a5a9.5328c8"
            ]
        ]
    },
    {
        "id": "7f3edad4.f09714",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 820,
        "wires": [
            [
                "7f0efe91.6d815"
            ]
        ]
    },
    {
        "id": "1ebd0eed.96f2e1",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "str",
        "x": 390,
        "y": 880,
        "wires": [
            [
                "cbb3dfec.b8303"
            ]
        ]
    },
    {
        "id": "1b6e13dc.028b2c",
        "type": "nupmes-request",
        "z": "59f4b82a.869308",
        "server": "7f6b21b5.63e",
        "requestUrl": "/services/DeviceInput/IoStateRequest",
        "requestMethod": "PUT",
        "jsonbody": "{\"device\":\"INTERNAL\",\"ioStates\":[{\"name\":\"Internal-Counter\",\"state\":\"msg.payload\"}]}",
        "useQueue": true,
        "queueTicks": "1000",
        "x": 920,
        "y": 500,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "66d0c8d0.fcf158",
        "type": "nupmes-request",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "requestUrl": "/services/DeviceInput/IoStateRequest",
        "requestMethod": "PUT",
        "jsonbody": "{\"device\":\"INTERNAL\",\"ioStates\":[{\"name\":\"Internal-Counter\",\"state\":\"msg.payload\"}]}",
        "useQueue": true,
        "queueTicks": "1000",
        "x": 920,
        "y": 560,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "7f0efe91.6d815",
        "type": "nupmes-request",
        "z": "59f4b82a.869308",
        "server": "1864878e3bcfbe85",
        "requestUrl": "/services/DeviceInput/IoStateRequest",
        "requestMethod": "PUT",
        "jsonbody": "{\"machineId\":1001,\"parameterId\":0,\"value\":\"msg.payload.value\",\"timestamp\":\"msg.payload.timestamp\"}",
        "useQueue": true,
        "queueTicks": "1000",
        "x": 920,
        "y": 820,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "cbb3dfec.b8303",
        "type": "nupmes-request",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "requestUrl": "/services/DeviceInput/IoStateRequest",
        "requestMethod": "PUT",
        "jsonbody": "{\"machineId\":1001,\"parameterId\":0,\"value\":\"msg.payload.value\",\"timestamp\":\"msg.payload.timestamp\"}",
        "useQueue": true,
        "queueTicks": "1000",
        "x": 920,
        "y": 880,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "5c9b69db.3caaf8",
        "type": "nupmes-pareto",
        "z": "59f4b82a.869308",
        "server": "1864878e3bcfbe85",
        "x": 920,
        "y": 1480,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "7f3a6c80.8196a4",
        "type": "nupmes-request",
        "z": "59f4b82a.869308",
        "server": "b5ab0f6e.97a7b",
        "requestUrl": "/services/DeviceInput/IoStateRequest",
        "requestMethod": "GET",
        "jsonbody": "{\"device\":\"INTERNAL\",\"ioStates\":[{\"name\":\"Internal-Counter\"}]}",
        "useQueue": false,
        "x": 920,
        "y": 1120,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "b882e9d8.0f2d78",
        "type": "nupmes-get-io",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "deviceName": "INTERNAL",
        "ioName": "Internal-Counter",
        "x": 920,
        "y": 1060,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "29e7e796.e61608",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 390,
        "y": 1060,
        "wires": [
            [
                "b882e9d8.0f2d78"
            ]
        ]
    },
    {
        "id": "cf8ee1a6.2644",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 390,
        "y": 1120,
        "wires": [
            [
                "7f3a6c80.8196a4"
            ]
        ]
    },
    {
        "id": "834cd235.6889",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 390,
        "y": 1180,
        "wires": [
            [
                "31697626.11843a"
            ]
        ]
    },
    {
        "id": "31697626.11843a",
        "type": "nupmes-request",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "requestUrl": "/services/DeviceInput/IoStateRequest",
        "requestMethod": "GET",
        "jsonbody": "{\"device\":\"INTERNAL\",\"ioStates\":[{\"name\":\"Internal-Counter\"}]}",
        "useQueue": false,
        "x": 920,
        "y": 1180,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "a0badf49.f7443",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "SET IO - counter",
        "info": "\n\n\n\n\n",
        "x": 200,
        "y": 460,
        "wires": []
    },
    {
        "id": "c8f81000.2d3a9",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "SET PARAMETER ",
        "info": "\n\n\n\n\n",
        "x": 190,
        "y": 800,
        "wires": []
    },
    {
        "id": "a35fccf5.df8b1",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "GET IO - state",
        "info": "\n\n\n\n\n",
        "x": 210,
        "y": 1080,
        "wires": []
    },
    {
        "id": "37077c4d.ea5fe4",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "start",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "startDate",
        "payload": "2020-05-31T22:00:00.000Z",
        "payloadType": "str",
        "x": 390,
        "y": 1400,
        "wires": [
            [
                "5c9b69db.3caaf8"
            ]
        ]
    },
    {
        "id": "56f428ee.5e5b08",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "today",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "today",
        "payload": "",
        "payloadType": "date",
        "x": 390,
        "y": 1520,
        "wires": [
            [
                "5c9b69db.3caaf8"
            ]
        ]
    },
    {
        "id": "8bd07cfe.9060f",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "end",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "endDate",
        "payload": "2021-05-31T22:00:00.000Z",
        "payloadType": "str",
        "x": 390,
        "y": 1440,
        "wires": [
            [
                "5c9b69db.3caaf8"
            ]
        ]
    },
    {
        "id": "e6265a20.482ec8",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "Auth",
        "info": "\n\n\n\n\n",
        "x": 110,
        "y": 140,
        "wires": [],
        "icon": "node-red/alert.svg"
    },
    {
        "id": "b7928323.5925",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "Login (Server)",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 350,
        "y": 180,
        "wires": [
            [
                "79f64009.9d22c"
            ]
        ]
    },
    {
        "id": "79f64009.9d22c",
        "type": "nupmes-authentication",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "useReauth": false,
        "reauthTimeout": "",
        "x": 940,
        "y": 180,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "456d135b.40cecc",
        "type": "nupmes-authentication",
        "z": "59f4b82a.869308",
        "server": "1864878e3bcfbe85",
        "useReauth": false,
        "reauthTimeout": "",
        "x": 940,
        "y": 1340,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "c0f5e9bf.8e30d8",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "Login (Server)",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 370,
        "y": 1340,
        "wires": [
            [
                "456d135b.40cecc"
            ]
        ]
    },
    {
        "id": "4924c588.5df18c",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "last hour",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "lasthour",
        "payload": "",
        "payloadType": "date",
        "x": 380,
        "y": 1560,
        "wires": [
            [
                "5c9b69db.3caaf8"
            ]
        ]
    },
    {
        "id": "b253348b.410df8",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "from to",
        "props": [
            {
                "p": "startDate",
                "v": "2020-05-31T22:00:00.000Z",
                "vt": "str"
            },
            {
                "p": "endDate",
                "v": "2021-05-31T22:00:00.000Z",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 390,
        "y": 1480,
        "wires": [
            [
                "5c9b69db.3caaf8"
            ]
        ]
    },
    {
        "id": "ef815774.2befb8",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "Pareto",
        "info": "\n\n\n\n\n",
        "x": 110,
        "y": 1560,
        "wires": []
    },
    {
        "id": "7525ccb6.dabc64",
        "type": "nupmes-pareto",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "x": 920,
        "y": 1700,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "9f3a5695.5c0788",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "start",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "startDate",
        "payload": "2020-05-31T22:00:00.000Z",
        "payloadType": "str",
        "x": 390,
        "y": 1620,
        "wires": [
            [
                "7525ccb6.dabc64"
            ]
        ]
    },
    {
        "id": "a30fb692.7da378",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "today",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "today",
        "payload": "",
        "payloadType": "date",
        "x": 390,
        "y": 1740,
        "wires": [
            [
                "7525ccb6.dabc64"
            ]
        ]
    },
    {
        "id": "65777cb3.1f8d84",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "end",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "endDate",
        "payload": "2021-05-31T22:00:00.000Z",
        "payloadType": "str",
        "x": 390,
        "y": 1660,
        "wires": [
            [
                "7525ccb6.dabc64"
            ]
        ]
    },
    {
        "id": "b57c5ce6.546f6",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "from to",
        "props": [
            {
                "p": "startDate",
                "v": "2021-05-31T22:00:00.000Z",
                "vt": "str"
            },
            {
                "p": "endDate",
                "v": "2021-06-31T22:00:00.000Z",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 390,
        "y": 1700,
        "wires": [
            [
                "7525ccb6.dabc64"
            ]
        ]
    },
    {
        "id": "1c4b6b99.63fc54",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "last hour",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "lasthour",
        "payload": "",
        "payloadType": "date",
        "x": 380,
        "y": 1780,
        "wires": [
            [
                "7525ccb6.dabc64"
            ]
        ]
    },
    {
        "id": "43d5566f.1e29f8",
        "type": "nupmes-hub",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "connectionStrategie": "input",
        "callTimeout": "5000",
        "reconnectDelayTime": "5000",
        "requestTimeout": "5000",
        "x": 910,
        "y": 2720,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "31b4b1e8.54e48e",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "GetMachine",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "GetMachine",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "[1001]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 390,
        "y": 2720,
        "wires": [
            [
                "43d5566f.1e29f8"
            ]
        ]
    },
    {
        "id": "9f60d6f0.d43f28",
        "type": "nupmes-hub",
        "z": "59f4b82a.869308",
        "server": "7f6b21b5.63e",
        "connectionStrategie": "auto",
        "callTimeout": "5000",
        "reconnectDelayTime": "5000",
        "requestTimeout": "5000",
        "x": 910,
        "y": 2440,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "a8cc19ed.791e98",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "GetServerTime",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "GetServerTime",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "str",
        "x": 360,
        "y": 2400,
        "wires": [
            [
                "9f60d6f0.d43f28"
            ]
        ]
    },
    {
        "id": "5583e82b.6d7258",
        "type": "nupmes-hub",
        "z": "59f4b82a.869308",
        "server": "e15184f8dde7eb1b",
        "connectionStrategie": "auto",
        "callTimeout": "5000",
        "reconnectDelayTime": "5000",
        "requestTimeout": "5000",
        "x": 910,
        "y": 2280,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "3a07877e.b6d5f8",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "GetServerTime",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "GetServerTime",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 360,
        "y": 2280,
        "wires": [
            [
                "5583e82b.6d7258"
            ]
        ]
    },
    {
        "id": "c589b60f.442f28",
        "type": "nupmes-authentication",
        "z": "59f4b82a.869308",
        "server": "d4dd9285.18a7e",
        "useReauth": true,
        "reauthTimeout": "600",
        "x": 940,
        "y": 240,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "2cefd915.8a8206",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "start",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "startDate",
        "payload": "2021-03-31T22:00:00.000Z",
        "payloadType": "str",
        "x": 390,
        "y": 1940,
        "wires": [
            [
                "10f1c69b.7d8649"
            ]
        ]
    },
    {
        "id": "f9da0e6c.2332a",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "today",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "today",
        "payload": "",
        "payloadType": "date",
        "x": 390,
        "y": 2060,
        "wires": [
            [
                "10f1c69b.7d8649"
            ]
        ]
    },
    {
        "id": "b2ef5bd.2b61ca8",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "end",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "endDate",
        "payload": "2021-05-31T22:00:00.000Z",
        "payloadType": "str",
        "x": 390,
        "y": 1980,
        "wires": [
            [
                "10f1c69b.7d8649"
            ]
        ]
    },
    {
        "id": "f6b03808.92c508",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "from to",
        "props": [
            {
                "p": "startDate",
                "v": "2020-05-31T22:00:00.000Z",
                "vt": "str"
            },
            {
                "p": "endDate",
                "v": "2020-06-31T22:00:00.000Z",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 390,
        "y": 2020,
        "wires": [
            [
                "10f1c69b.7d8649"
            ]
        ]
    },
    {
        "id": "77745716.5e5448",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "last hour",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "lasthour",
        "payload": "",
        "payloadType": "date",
        "x": 380,
        "y": 2100,
        "wires": [
            [
                "10f1c69b.7d8649"
            ]
        ]
    },
    {
        "id": "10f1c69b.7d8649",
        "type": "nupmes-oee",
        "z": "59f4b82a.869308",
        "server": "b5ab0f6e.97a7b",
        "oeetype": "0",
        "x": 910,
        "y": 2000,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "3f52b01f.686af",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "OEE ",
        "info": "\n\n\n\n\n",
        "x": 110,
        "y": 2020,
        "wires": []
    },
    {
        "id": "911d57d2.781ed8",
        "type": "comment",
        "z": "59f4b82a.869308",
        "name": "HUB ",
        "info": "\n\n\n\n\n",
        "x": 70,
        "y": 2360,
        "wires": []
    },
    {
        "id": "d44a4512.7aff78",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "GetMachine",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "GetMachine",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "[1001]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "str",
        "x": 370,
        "y": 2360,
        "wires": [
            [
                "9f60d6f0.d43f28"
            ]
        ]
    },
    {
        "id": "784f652c.17915c",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "GetJobBOMList",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "GetJobBOMList",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "[{\"id\":1001,\"no\":\"\",\"clientId\":0},1]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "str",
        "x": 360,
        "y": 2460,
        "wires": [
            [
                "9f60d6f0.d43f28"
            ]
        ]
    },
    {
        "id": "30737e68.400842",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "CheckTerminalUserAndPassword",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "CheckTerminalUserAndPassword",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "[\"vbnvbn\",\"vnvbn\"]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "str",
        "x": 310,
        "y": 2500,
        "wires": [
            [
                "9f60d6f0.d43f28"
            ]
        ]
    },
    {
        "id": "3390c9ec.40df96",
        "type": "nupmes-authentication",
        "z": "59f4b82a.869308",
        "server": "1864878e3bcfbe85",
        "useReauth": false,
        "reauthTimeout": "",
        "x": 940,
        "y": 120,
        "wires": [
            [
                "217344e6.ec9efc"
            ]
        ]
    },
    {
        "id": "63d38f17.b0437",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "Login (Server)",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "str",
        "x": 350,
        "y": 120,
        "wires": [
            [
                "3390c9ec.40df96"
            ]
        ]
    },
    {
        "id": "8e9a0656.b2c6f8",
        "type": "inject",
        "z": "59f4b82a.869308",
        "name": "SetOrderVersionType",
        "props": [
            {
                "p": "payload.hubFunction",
                "v": "SetOrderVersionType",
                "vt": "str"
            },
            {
                "p": "payload.hubArgs",
                "v": "[1,\"asd\", \"123\", \"123\", \"123\"]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 340,
        "y": 2560,
        "wires": [
            [
                "9f60d6f0.d43f28"
            ]
        ]
    },
    {
        "id": "7f6b21b5.63e",
        "type": "nupmes-server",
        "name": "mes-terminal",
        "url": "http://localhost:12345/terminal",
        "useAuth": false,
        "authprotokoll": "ntlm"
    },
    {
        "id": "d4dd9285.18a7e",
        "type": "nupmes-server",
        "name": "mes-terminal-apache",
        "url": "http://localhost/terminal",
        "useAuth": false,
        "authprotokoll": "ntlm"
    },
    {
        "id": "b5ab0f6e.97a7b",
        "type": "nupmes-server",
        "name": "mes-monitor-apache",
        "url": "http://localhost/monitor",
        "useAuth": false,
        "authprotokoll": "ntlm"
    },
    {
        "id": "1864878e3bcfbe85",
        "type": "nupmes-server",
        "name": "mes-monitor-apache-winauth",
        "url": "http://localhost/monitor",
        "useAuth": true,
        "authprotokoll": "ntlm"
    },
    {
        "id": "e15184f8dde7eb1b",
        "type": "nupmes-server",
        "name": "mes-terminal-apache-winauth",
        "url": "http://localhost/terminal",
        "useAuth": true,
        "authprotokoll": "ntlm"
    }
]