[
    {
        "id": "0f8b93c6ce9ba9bd",
        "type": "tab",
        "label": "流程 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "11ea7050721f9df5",
        "type": "mqtt in",
        "z": "0f8b93c6ce9ba9bd",
        "name": "LHT65N",
        "topic": "application/43b0fd94-75be-4a80-a78c-c9381fe23b05/device/a84041c8b1824695/event/up",
        "qos": "0",
        "datatype": "auto-detect",
        "broker": "862a790de52f4ea4",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 100,
        "y": 140,
        "wires": [
            [
                "034db5cd68129249",
                "6e4c3938ccd21838",
                "d20a25c0a12cad04",
                "38136d7454e138e5",
                "239852361ed7c91d"
            ]
        ]
    },
    {
        "id": "6e4c3938ccd21838",
        "type": "debug",
        "z": "0f8b93c6ce9ba9bd",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 490,
        "y": 140,
        "wires": []
    },
    {
        "id": "034db5cd68129249",
        "type": "function",
        "z": "0f8b93c6ce9ba9bd",
        "name": "",
        "func": "var data = msg.payload[\"deviceInfo\"]\nvar decode = msg.payload[\"object\"]\nif (decode[\"Ext_sensor\"] == \"Temperature Sensor\"){\nvar f_port = msg.payload[\"fPort\"]\nvar f_cnt = msg.payload[\"fCnt\"]\nvar data2 = decode\nvar bat =data2[\"BatV\"]\nvar bat_status=data2[\"Bat_status\"]\nvar ext_sensor=data2[\"Ext_sensor\"]\nvar hum_SHT=data2[\"Hum_SHT\"]\nif (\"TempC_DS\" in data2){\n    var tempC_DS=data2[\"TempC_DS\"]\n}\nelse {\ntempC_DS=data2[\"TempC_TMP117\"]\n}\nvar tempC_SHT=data2[\"TempC_SHT\"]\nvar a1={payload:f_port},a2={payload:f_cnt},a3={payload:bat},a4={payload:bat_status},a5={payload:ext_sensor},\n a6={payload:hum_SHT},a7={payload:tempC_DS},a8={payload:tempC_SHT}\nreturn [a1,a2,a3,a4,a5,a6,a7,a8];\n}",
        "outputs": 9,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 470,
        "y": 260,
        "wires": [
            [
                "054041c1f8ad740a"
            ],
            [
                "11286fbcb9419c65"
            ],
            [
                "6f74bac1ba605862"
            ],
            [
                "c9f618cca24db5e1"
            ],
            [
                "7f2fc42c4bcc6ff9"
            ],
            [
                "980646824d0c5239"
            ],
            [
                "a2ed445e50c952ea"
            ],
            [
                "13394b6f113fe555"
            ],
            []
        ]
    },
    {
        "id": "054041c1f8ad740a",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "6c8dcef19b33b1ab",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "f_port",
        "label": "f_port",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 770,
        "y": 160,
        "wires": []
    },
    {
        "id": "11286fbcb9419c65",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "9d9e40253fa3a62f",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "f_cunt",
        "label": "f_cunt",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 770,
        "y": 200,
        "wires": []
    },
    {
        "id": "6f74bac1ba605862",
        "type": "ui_chart",
        "z": "0f8b93c6ce9ba9bd",
        "name": "bat",
        "group": "b24db75b1499c15f",
        "order": 0,
        "width": 0,
        "height": 0,
        "label": "bat",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "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": 770,
        "y": 240,
        "wires": [
            []
        ]
    },
    {
        "id": "c9f618cca24db5e1",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "758898c4bead5e6f",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Bat_status",
        "label": "Bat_status",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 790,
        "y": 280,
        "wires": []
    },
    {
        "id": "7f2fc42c4bcc6ff9",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "a8f02d8f9b3e80a1",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "Ext_sensor",
        "label": "Ext_sensor",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 790,
        "y": 320,
        "wires": []
    },
    {
        "id": "980646824d0c5239",
        "type": "ui_chart",
        "z": "0f8b93c6ce9ba9bd",
        "name": "Hum_SHT",
        "group": "a9ef53ea130e5557",
        "order": 6,
        "width": 0,
        "height": 0,
        "label": "Hum_SHT",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "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": 790,
        "y": 360,
        "wires": [
            []
        ]
    },
    {
        "id": "a2ed445e50c952ea",
        "type": "ui_chart",
        "z": "0f8b93c6ce9ba9bd",
        "name": "TempC_sensor",
        "group": "1558cd7a030388f7",
        "order": 6,
        "width": 0,
        "height": 0,
        "label": "TempC_sensor",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "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": 800,
        "y": 400,
        "wires": [
            []
        ]
    },
    {
        "id": "13394b6f113fe555",
        "type": "ui_chart",
        "z": "0f8b93c6ce9ba9bd",
        "name": "TempC_SHT",
        "group": "f523098714ee6cd6",
        "order": 6,
        "width": 0,
        "height": 0,
        "label": "TempC_SHT",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "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": 790,
        "y": 440,
        "wires": [
            []
        ]
    },
    {
        "id": "d20a25c0a12cad04",
        "type": "function",
        "z": "0f8b93c6ce9ba9bd",
        "name": "",
        "func": "var data = msg.payload[\"deviceInfo\"]\nvar decode = msg.payload[\"object\"]\nif (decode[\"Work_mode\"]==\"Interrupt Sensor send\"){\nvar f_port = msg.payload[\"fPort\"]\nvar f_cnt = msg.payload[\"fCnt\"]\nvar data2 = decode\nvar bat =data2[\"BatV\"]\nvar bat_status=data2[\"Bat_status\"]\nvar work_mode=data2[\"Work_mode\"]\nvar exti_pin_level=data2[\"Exti_pin_level\"]\nvar exti_status=data2[\"Exti_status\"]\nvar hum_SHT=data2[\"Hum_SHT\"]\nvar tempC_SHT=data2[\"TempC_SHT\"]\nvar a1={payload:f_port},a2={payload:f_cnt},a3={payload:bat},a4={payload:bat_status},a5={payload:work_mode},\na6={payload:exti_pin_level},a7={payload:exti_status},a8={payload:hum_SHT},a9={payload:tempC_SHT}\nreturn [a1,a2,a3,a4,a5,a6,a7,a8,a9];\n}",
        "outputs": 9,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 470,
        "y": 440,
        "wires": [
            [
                "054041c1f8ad740a"
            ],
            [
                "11286fbcb9419c65"
            ],
            [
                "6f74bac1ba605862"
            ],
            [
                "c9f618cca24db5e1"
            ],
            [
                "7f2fc42c4bcc6ff9"
            ],
            [
                "0513bcb70cd63787"
            ],
            [
                "10eed06366dc18c4"
            ],
            [
                "980646824d0c5239"
            ],
            [
                "13394b6f113fe555"
            ]
        ]
    },
    {
        "id": "0513bcb70cd63787",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "b1dc3cad430eb5b7",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "Exti_pin_level",
        "label": "Exti_pin_level",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 780,
        "y": 560,
        "wires": []
    },
    {
        "id": "10eed06366dc18c4",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "4184be11e1179998",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "Exti_status",
        "label": "Exti_status",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 770,
        "y": 600,
        "wires": []
    },
    {
        "id": "38136d7454e138e5",
        "type": "function",
        "z": "0f8b93c6ce9ba9bd",
        "name": "",
        "func": "var data = msg.payload[\"deviceInfo\"]\nvar decode = msg.payload[\"object\"]\nif (decode[\"Work_mode\"]==\"Interrupt Sensor count\"){\nvar f_port = msg.payload[\"fPort\"]\nvar f_cnt = msg.payload[\"fCnt\"]\nvar data2 = decode\nvar bat =data2[\"BatV\"]\nvar bat_status=data2[\"Bat_status\"]\nvar work_mode=data2[\"Work_mode\"]\nvar exit_count=data2[\"Exit_count\"]\nvar hum_SHT=data2[\"Hum_SHT\"]\nvar tempC_SHT=data2[\"TempC_SHT\"]\nvar a1={payload:f_port},a2={payload:f_cnt},a3={payload:bat},a4={payload:bat_status},a5={payload:work_mode},\na6={payload:exit_count},a8={payload:hum_SHT},a9={payload:tempC_SHT}\nreturn [a1,a2,a3,a4,a5,a6,a8,a9];\n}",
        "outputs": 8,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 470,
        "y": 620,
        "wires": [
            [
                "054041c1f8ad740a"
            ],
            [
                "11286fbcb9419c65"
            ],
            [
                "6f74bac1ba605862"
            ],
            [
                "c9f618cca24db5e1"
            ],
            [
                "7f2fc42c4bcc6ff9"
            ],
            [
                "3914f37c12607c9f"
            ],
            [
                "980646824d0c5239"
            ],
            [
                "13394b6f113fe555"
            ]
        ]
    },
    {
        "id": "3914f37c12607c9f",
        "type": "ui_text",
        "z": "0f8b93c6ce9ba9bd",
        "group": "28cf5cca4c2c0bb5",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "exit_count",
        "label": "exit_count",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 790,
        "y": 700,
        "wires": []
    },
    {
        "id": "239852361ed7c91d",
        "type": "function",
        "z": "0f8b93c6ce9ba9bd",
        "name": "",
        "func": "var data = msg.payload[\"deviceInfo\"]\nvar decode = msg.payload[\"object\"]\nif (decode[\"Work_mode\"]==\"ADC Sensor\"){\nvar f_port = msg.payload[\"fPort\"]\nvar f_cnt = msg.payload[\"fCnt\"]\nvar data2 = decode\nvar bat =data2[\"BatV\"]\nvar bat_status=data2[\"Bat_status\"]\nvar work_mode=data2[\"Work_mode\"]\nvar adc_V=data2[\"ADC_V\"]\nvar hum_SHT=data2[\"Hum_SHT\"]\nvar tempC_SHT=data2[\"TempC_SHT\"]\nvar a1={payload:f_port},a2={payload:f_cnt},a3={payload:bat},a4={payload:bat_status},a5={payload:work_mode},\na6={payload:adc_V},a8={payload:hum_SHT},a9={payload:tempC_SHT}\nreturn [a1,a2,a3,a4,a5,a6,a8,a9];\n}",
        "outputs": 8,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 470,
        "y": 760,
        "wires": [
            [
                "054041c1f8ad740a"
            ],
            [
                "11286fbcb9419c65"
            ],
            [
                "6f74bac1ba605862"
            ],
            [
                "c9f618cca24db5e1"
            ],
            [
                "7f2fc42c4bcc6ff9"
            ],
            [
                "605688b5e60df43d"
            ],
            [
                "980646824d0c5239"
            ],
            [
                "13394b6f113fe555"
            ]
        ]
    },
    {
        "id": "605688b5e60df43d",
        "type": "ui_chart",
        "z": "0f8b93c6ce9ba9bd",
        "name": "ADC_V",
        "group": "5f974d1fd1c0edfa",
        "order": 0,
        "width": 0,
        "height": 0,
        "label": "ADC_V",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "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": 780,
        "y": 780,
        "wires": [
            []
        ]
    },
    {
        "id": "862a790de52f4ea4",
        "type": "mqtt-broker",
        "name": "LHT65N",
        "broker": "10.130.2.143",
        "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": {},
        "userProps": "",
        "sessionExpiry": ""
    },
    {
        "id": "6c8dcef19b33b1ab",
        "type": "ui_group",
        "name": "f_port",
        "tab": "7e01624d2b1a030f",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "9d9e40253fa3a62f",
        "type": "ui_group",
        "name": "f_cunt",
        "tab": "7e01624d2b1a030f",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "b24db75b1499c15f",
        "type": "ui_group",
        "name": "bat",
        "tab": "7e01624d2b1a030f",
        "order": 8,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "758898c4bead5e6f",
        "type": "ui_group",
        "name": "Bat_status",
        "tab": "7e01624d2b1a030f",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "a8f02d8f9b3e80a1",
        "type": "ui_group",
        "name": "Ext_sensor",
        "tab": "7e01624d2b1a030f",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "a9ef53ea130e5557",
        "type": "ui_group",
        "name": "Hum_SHT",
        "tab": "7e01624d2b1a030f",
        "order": 9,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "1558cd7a030388f7",
        "type": "ui_group",
        "name": "TempC_sensor",
        "tab": "7e01624d2b1a030f",
        "order": 10,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "f523098714ee6cd6",
        "type": "ui_group",
        "name": "TempC_SHT",
        "tab": "7e01624d2b1a030f",
        "order": 11,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "b1dc3cad430eb5b7",
        "type": "ui_group",
        "name": "Exti_pin_level",
        "tab": "7e01624d2b1a030f",
        "order": 6,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "4184be11e1179998",
        "type": "ui_group",
        "name": "Exti_status",
        "tab": "7e01624d2b1a030f",
        "order": 7,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "28cf5cca4c2c0bb5",
        "type": "ui_group",
        "name": "exit_count",
        "tab": "7e01624d2b1a030f",
        "order": 5,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "5f974d1fd1c0edfa",
        "type": "ui_group",
        "name": "ADC_V",
        "tab": "7e01624d2b1a030f",
        "order": 12,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "7e01624d2b1a030f",
        "type": "ui_tab",
        "name": "LHT65N",
        "icon": "LHT65N",
        "disabled": false,
        "hidden": false
    }
]