[ { "id": "7a250d6a.b5f9d4", "type": "function", "z": "5838e8c3.590008", "name": "--> json", "func": "var json00 = {};\n\njson00.RH = flow.get(\"IoT-02_RH\");\njson00.T = flow.get(\"IoT-02_T\");\njson00.P = flow.get(\"IoT-02_P\");\njson00.LDR = flow.get(\"IoT-02_LDR\");\n\nmsg.payload = json00;\n\nreturn msg;", "outputs": 1, "noerr": 0, "x": 420, "y": 1080, "wires": [ [ "5676aa68.c166a4", "ff7a8b58.3a6c5" ] ] }, { "id": "ed5244e.7f45238", "type": "inject", "z": "5838e8c3.590008", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 200, "y": 1080, "wires": [ [ "7a250d6a.b5f9d4" ] ] }, { "id": "e947da95.1b8608", "type": "inject", "z": "5838e8c3.590008", "name": "", "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 210, "y": 1000, "wires": [ [ "635d6bf.c3f1994" ] ] }, { "id": "635d6bf.c3f1994", "type": "function", "z": "5838e8c3.590008", "name": "T:24.7,RH:74.6,P:1007.2,LDR:47.3", "func": "flow.set(\"IoT-02_RH\",74.6);\nflow.set(\"IoT-02_T\",24.7);\nflow.set(\"IoT-02_P\",1007.2);\nflow.set(\"IoT-02_LDR\",47.3);\n\nreturn msg;", "outputs": 1, "noerr": 0, "x": 480, "y": 1000, "wires": [ [] ] }, { "id": "e94637f8.e8558", "type": "inject", "z": "5838e8c3.590008", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 200, "y": 1040, "wires": [ [ "45487780.ee45a8" ] ] }, { "id": "45487780.ee45a8", "type": "function", "z": "5838e8c3.590008", "name": "T:21.3,RH:48.2,P:1003.5,LDR:89.4", "func": "flow.set(\"IoT-02_RH\",48.2);\nflow.set(\"IoT-02_T\",21.3);\nflow.set(\"IoT-02_P\",1003.5);\nflow.set(\"IoT-02_LDR\",89.4);\n\nreturn msg;", "outputs": 1, "noerr": 0, "x": 480, "y": 1040, "wires": [ [] ] }, { "id": "5676aa68.c166a4", "type": "debug", "z": "5838e8c3.590008", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 690, "y": 1080, "wires": [] }, { "id": "ff7a8b58.3a6c5", "type": "json", "z": "5838e8c3.590008", "name": "", "property": "payload", "action": "", "pretty": false, "x": 540, "y": 1160, "wires": [ [ "60edb483.bfe93c" ] ] }, { "id": "60edb483.bfe93c", "type": "debug", "z": "5838e8c3.590008", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 710, "y": 1160, "wires": [] } ]