[
    {
        "id": "f98b9b23144085b5",
        "type": "tab",
        "label": "流程 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "d60e334e17faa4bf",
        "type": "mqtt in",
        "z": "f98b9b23144085b5",
        "name": "lt22222",
        "topic": "v3/opwwc/devices/lt21453sa4d65sa4/#",
        "qos": "0",
        "datatype": "json",
        "broker": "8a5006295bbbe3a5",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 190,
        "y": 440,
        "wires": [
            [
                "d50df6c2befc67c2"
            ]
        ]
    },
    {
        "id": "90106832d11c1e01",
        "type": "mqtt out",
        "z": "f98b9b23144085b5",
        "name": "Downlink",
        "topic": "v3/opwwc/devices/eui-70b3d57ed00538acsss/down/push",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "8a5006295bbbe3a5",
        "x": 580,
        "y": 680,
        "wires": []
    },
    {
        "id": "39f27fd319d2476e",
        "type": "inject",
        "z": "f98b9b23144085b5",
        "name": "Activate",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 220,
        "y": 680,
        "wires": [
            [
                "ad20a4e36d612089"
            ]
        ]
    },
    {
        "id": "ad20a4e36d612089",
        "type": "template",
        "z": "f98b9b23144085b5",
        "name": "Publish",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "{\n  \"downlinks\": [{\n    \"f_port\": 2,\n    \"frm_payload\": \"AwAA\",\n    \"priority\": \"HIGH\",\n    \"confirmed\": true\n  }]\n}",
        "output": "str",
        "x": 400,
        "y": 680,
        "wires": [
            [
                "90106832d11c1e01"
            ]
        ]
    },
    {
        "id": "d50df6c2befc67c2",
        "type": "function",
        "z": "f98b9b23144085b5",
        "name": "",
        "func": "var data=msg.payload\nmsg.payload=data[\"uplink_message\"][\"decoded_payload\"]\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 430,
        "y": 440,
        "wires": [
            [
                "3e2fc52d9030e146",
                "d74bd02ca7b40615"
            ]
        ]
    },
    {
        "id": "3e2fc52d9030e146",
        "type": "debug",
        "z": "f98b9b23144085b5",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 670,
        "y": 420,
        "wires": []
    },
    {
        "id": "d74bd02ca7b40615",
        "type": "file",
        "z": "f98b9b23144085b5",
        "name": "",
        "filename": "/root/ttn_lt22222.log",
        "appendNewline": true,
        "createDir": true,
        "overwriteFile": "false",
        "encoding": "none",
        "x": 660,
        "y": 300,
        "wires": [
            []
        ]
    },
    {
        "id": "8a5006295bbbe3a5",
        "type": "mqtt-broker",
        "name": "",
        "broker": "127.0.0.1",
        "port": "1883",
        "clientid": "",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "sessionExpiry": ""
    }
]