[
    {
        "id": "21fec076a559bc5c",
        "type": "tab",
        "label": "Send data using a SICK TDC gateway with rate limiting",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "561201a93a216931",
        "type": "websocket in",
        "z": "21fec076a559bc5c",
        "name": "SICK TDC",
        "server": "",
        "client": "",
        "x": 100,
        "y": 180,
        "wires": [
            [
                "8dfddc1f5b919548"
            ]
        ]
    },
    {
        "id": "8dfddc1f5b919548",
        "type": "change",
        "z": "21fec076a559bc5c",
        "name": "Set rate (ms)",
        "rules": [
            {
                "t": "set",
                "p": "rate",
                "pt": "msg",
                "to": "5",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 270,
        "y": 180,
        "wires": [
            [
                "962f65988d5db237"
            ]
        ]
    },
    {
        "id": "962f65988d5db237",
        "type": "delay",
        "z": "21fec076a559bc5c",
        "name": "Rate limiting",
        "pauseType": "rate",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "allowrate": true,
        "outputs": 1,
        "x": 450,
        "y": 180,
        "wires": [
            [
                "26c76093d8822a14"
            ]
        ]
    },
    {
        "id": "26c76093d8822a14",
        "type": "oee-ai-sick-tdc-connector",
        "z": "21fec076a559bc5c",
        "name": "",
        "interval": "30",
        "x": 680,
        "y": 180,
        "wires": [
            [
                "8d0e75cea80e1fa0"
            ],
            [],
            [],
            []
        ]
    },
    {
        "id": "8d0e75cea80e1fa0",
        "type": "oee-ai-connector",
        "z": "21fec076a559bc5c",
        "name": "Send to oee.ai",
        "server": "preview",
        "x": 920,
        "y": 180,
        "wires": []
    },
    {
        "id": "2515aa397743a629",
        "type": "comment",
        "z": "21fec076a559bc5c",
        "name": "^^ Configure this node",
        "info": "To connect the node above to oee.ai please create a new sensor at the desired location in the oee.ai web interface at `Machine -> Sensors -> Create sensor`.\n\nCopy and paste the sensor's ID and token into the configuration input fields of the oee.ai connector node.\n\nThe selected server (`preview` for testing and development, `production` for live machine data) must match the one where the sensor was created.",
        "x": 920,
        "y": 280,
        "wires": []
    },
    {
        "id": "89388853ad9880fb",
        "type": "comment",
        "z": "21fec076a559bc5c",
        "name": "^^ Configure these nodes ^^",
        "info": "",
        "x": 180,
        "y": 280,
        "wires": []
    }
]
