[
    {
        "id": "0a211e08511c4bdd",
        "type": "tab",
        "label": "serial USB",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "4a97eeb54bf57a6d",
        "type": "serial in",
        "z": "0a211e08511c4bdd",
        "name": "",
        "serial": "bb1c0e81fd51fa9e",
        "x": 210,
        "y": 60,
        "wires": [
            [
                "d2493fb9752dbcab",
                "d183c255973c979e"
            ]
        ]
    },
    {
        "id": "12f1eeb8049675c1",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "AT+SEND=1,hello world,0,3",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "AT+SEND=1,hello world,0,3",
        "payloadType": "str",
        "x": 220,
        "y": 260,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "a5d2f5df63a2148e",
        "type": "serial out",
        "z": "0a211e08511c4bdd",
        "name": "",
        "serial": "bb1c0e81fd51fa9e",
        "x": 540,
        "y": 260,
        "wires": []
    },
    {
        "id": "dc04c04a0bc0e5db",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "ATZ",
        "payloadType": "str",
        "x": 290,
        "y": 320,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "3de96a220e28e8f0",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "AT+FRE",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "AT+FRE=868.100,868.100",
        "payloadType": "str",
        "x": 280,
        "y": 380,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "638725a47a1e4365",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "AT+BW",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "AT+BW=0,0",
        "payloadType": "str",
        "x": 290,
        "y": 440,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "85ba9868d1f3e82c",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "AT+SF",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "AT+SF=12,12",
        "payloadType": "str",
        "x": 290,
        "y": 500,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "144b2749013ffe57",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "AT+RXMOD",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "AT+RXMOD=65535,2",
        "payloadType": "str",
        "x": 270,
        "y": 560,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "bfb2e9df89dc5e2f",
        "type": "inject",
        "z": "0a211e08511c4bdd",
        "name": "AT+SYNCWORD",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "AT+SYNCWORD=0",
        "payloadType": "str",
        "x": 260,
        "y": 620,
        "wires": [
            [
                "a5d2f5df63a2148e"
            ]
        ]
    },
    {
        "id": "d2493fb9752dbcab",
        "type": "function",
        "z": "0a211e08511c4bdd",
        "name": "function 1",
        "func": "var data = msg.payload\nif (data.substring(0, 4) == \"Data\") {\n    if (data.substring(6, 12) == \"(HEX:)\") {\n        var temp = data.substring(13, 15) + data.substring(16, 18)\n        var hum = data.substring(19, 21) + data.substring(22, 24)\n        var temp1 = parseInt(temp, 16) / 100\n        var hum1 = parseInt(hum, 16) / 10\n        var a1 = { payload: temp1 }, a2 = { payload: hum1 }\n    }\n    if (data.substring(6, 15) == \"(String:)\") {\n        var temp = data.substring(20, 24)\n        var hum = data.substring(29, 34)\n        a1 = { payload: temp }, a2 = { payload: hum }\n    }\n}\nif (data.substring(0, 4) == \"Rssi\") {\n    var rssi = data.substring(6)\n    var a3 = { payload: rssi }\n}\nreturn [a1, a2, a3];",
        "outputs": 3,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 420,
        "y": 60,
        "wires": [
            [
                "c17d94be4317ae6c"
            ],
            [
                "20c5b1c7f42fa6bb"
            ],
            [
                "39a8462f3d748eef"
            ]
        ]
    },
    {
        "id": "39a8462f3d748eef",
        "type": "ui_chart",
        "z": "0a211e08511c4bdd",
        "name": "",
        "group": "ef41b39771110fa5",
        "order": 1,
        "width": 0,
        "height": 0,
        "label": "RSSI",
        "chartType": "line",
        "legend": "false",
        "xformat": "dd HH:mm",
        "interpolate": "linear",
        "nodata": "",
        "dot": true,
        "ymin": "",
        "ymax": "",
        "removeOlder": 1,
        "removeOlderPoints": "",
        "removeOlderUnit": "3600",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 670,
        "y": 180,
        "wires": [
            []
        ]
    },
    {
        "id": "c17d94be4317ae6c",
        "type": "ui_chart",
        "z": "0a211e08511c4bdd",
        "name": "",
        "group": "7e1d1c102cf74e6b",
        "order": 1,
        "width": 0,
        "height": 0,
        "label": "Temperature",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": true,
        "ymin": "",
        "ymax": "",
        "removeOlder": 1,
        "removeOlderPoints": "",
        "removeOlderUnit": "3600",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 690,
        "y": 100,
        "wires": [
            []
        ]
    },
    {
        "id": "20c5b1c7f42fa6bb",
        "type": "ui_chart",
        "z": "0a211e08511c4bdd",
        "name": "",
        "group": "3f5d139f158d7c1c",
        "order": 2,
        "width": 0,
        "height": 0,
        "label": "Humidity",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": true,
        "ymin": "",
        "ymax": "",
        "removeOlder": 1,
        "removeOlderPoints": "",
        "removeOlderUnit": "3600",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 680,
        "y": 140,
        "wires": [
            []
        ]
    },
    {
        "id": "d183c255973c979e",
        "type": "debug",
        "z": "0a211e08511c4bdd",
        "name": "debug 1",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 420,
        "y": 180,
        "wires": []
    },
    {
        "id": "bb1c0e81fd51fa9e",
        "type": "serial-port",
        "serialport": "/dev/ttyUSB0",
        "serialbaud": "9600",
        "databits": "8",
        "parity": "none",
        "stopbits": "1",
        "waitfor": "",
        "dtr": "none",
        "rts": "none",
        "cts": "none",
        "dsr": "none",
        "newline": "\\n",
        "bin": "false",
        "out": "char",
        "addchar": "\\r\\n",
        "responsetimeout": "10000"
    },
    {
        "id": "ef41b39771110fa5",
        "type": "ui_group",
        "name": "rssi",
        "tab": "abb98f80600a5448",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "7e1d1c102cf74e6b",
        "type": "ui_group",
        "name": "TEM",
        "tab": "abb98f80600a5448",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "3f5d139f158d7c1c",
        "type": "ui_group",
        "name": "HUM",
        "tab": "abb98f80600a5448",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "abb98f80600a5448",
        "type": "ui_tab",
        "name": "LG01v2",
        "icon": "LG01v2",
        "disabled": false,
        "hidden": false
    }
]