[ { "id": "5d6959bc.632738", "type": "tab", "label": "Flow 1", "disabled": false, "info": "" }, { "id": "b26113fa.d98a", "type": "inject", "z": "5d6959bc.632738", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "900", "crontab": "", "once": false, "onceDelay": 0.1, "x": 150, "y": 260, "wires": [ [ "fa812b5d.d64298" ] ] }, { "id": "c55216a1.85d558", "type": "influxdb out", "z": "5d6959bc.632738", "influxdb": "d5e9fcba.62f92", "name": "Temp and Humid Influx", "measurement": "stations", "precision": "", "retentionPolicy": "", "x": 700, "y": 200, "wires": [] }, { "id": "fa812b5d.d64298", "type": "function", "z": "5d6959bc.632738", "name": "Temp and Humid", "func": "temp = Math.random()*(30-1)+1\nhumid= Math.random()*(100-1)+1\nmsg.payload=\n{\n temperature:temp,\n humitdity:humid\n}\nreturn msg;", "outputs": 1, "noerr": 0, "x": 340, "y": 260, "wires": [ [ "c77ef359.c1b8e", "c55216a1.85d558" ] ] }, { "id": "c77ef359.c1b8e", "type": "debug", "z": "5d6959bc.632738", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 530, "y": 380, "wires": [] }, { "id": "d5e9fcba.62f92", "type": "influxdb", "z": "", "hostname": "localhost", "port": "8086", "protocol": "http", "database": "weather", "name": "", "usetls": false, "tls": "" } ]