[ { "id": "a59f1f8d.7b902", "type": "function", "z": "651fb1e2.0d98e8", "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": 320, "y": 740, "wires": [ [ "e1f54ce4.5a71a" ] ] }, { "id": "2de4c7d5.8ff4e", "type": "inject", "z": "651fb1e2.0d98e8", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 100, "y": 740, "wires": [ [ "a59f1f8d.7b902" ] ] }, { "id": "15249b6.29c36e5", "type": "inject", "z": "651fb1e2.0d98e8", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "x": 110, "y": 660, "wires": [ [ "d2e62613.a31288" ] ] }, { "id": "d2e62613.a31288", "type": "function", "z": "651fb1e2.0d98e8", "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": 380, "y": 660, "wires": [ [] ] }, { "id": "dc03ada6.c5163", "type": "inject", "z": "651fb1e2.0d98e8", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 100, "y": 700, "wires": [ [ "32734e3c.34d6da" ] ] }, { "id": "32734e3c.34d6da", "type": "function", "z": "651fb1e2.0d98e8", "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": 380, "y": 700, "wires": [ [] ] }, { "id": "e1f54ce4.5a71a", "type": "influxdb out", "z": "651fb1e2.0d98e8", "influxdb": "7716410e.72d07", "name": "", "measurement": "m05_json_00", "precision": "", "retentionPolicy": "", "x": 550, "y": 740, "wires": [] }, { "id": "7716410e.72d07", "type": "influxdb", "z": "", "hostname": "vps656540.ovh.net", "port": "8086", "protocol": "http", "database": "aulaVirtual2020", "name": "RW", "usetls": false, "tls": "" } ]