- Joined
- Jul 21, 2016
- Messages
- 1,905
- Reaction score
- 4,524
- Review score
- +0 /0 /-0
- Location
- Vancouver, WA
Would you be willing to share your flow so we can see how you're trying to do it? I'm sending data to influxdb with the following flow from the Ezo node:Hello All, I wondered if anyone could possible help. I have two atlas sensors O2 and CO2 and trying to send the info to Influxdb. I have the information in node-red from MQTT broker, but can't for the life of me work out how to format it for influx. I've tried to use your atlas node but nothing coming out of that at all.
Code:
[
{
"id": "52cf8736.857f98",
"type": "inject",
"z": "fa790d73.1efda",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "5",
"crontab": "",
"once": true,
"onceDelay": "5",
"topic": "",
"payload": "R",
"payloadType": "str",
"x": 110,
"y": 180,
"wires": [
[
"b373b725.54c658",
"fa4489df.df9b78",
"b7eb3440.7e14c8",
"3782741d.a1f0ec",
"b76b70b6.c495a"
]
]
},
{
"id": "b373b725.54c658",
"type": "ezo",
"z": "fa790d73.1efda",
"name": "Temp1",
"address": "105",
"customAddr": true,
"ezoBoard": "rtd",
"ezoTopic": "temp1",
"bus": 1,
"x": 290,
"y": 100,
"wires": [
[
"390e185df00c88a2",
"b0b1082915df7495"
]
]
},
{
"id": "fa4489df.df9b78",
"type": "ezo",
"z": "fa790d73.1efda",
"name": "Temp2",
"address": "105",
"customAddr": false,
"ezoBoard": "rtd",
"ezoTopic": "temp2",
"bus": 1,
"x": 290,
"y": 140,
"wires": [
[
"f78acfc3b958cbaa",
"b0b1082915df7495"
]
]
},
{
"id": "b76b70b6.c495a",
"type": "ezo",
"z": "fa790d73.1efda",
"name": "EC",
"address": 3,
"customAddr": false,
"ezoBoard": "ec",
"ezoTopic": "ec",
"bus": 1,
"x": 290,
"y": 260,
"wires": [
[
"252d8b20e5afc319",
"b0b1082915df7495"
]
]
},
{
"id": "b7eb3440.7e14c8",
"type": "ezo",
"z": "fa790d73.1efda",
"name": "",
"address": "105",
"customAddr": false,
"ezoBoard": "ph",
"ezoTopic": "ph",
"bus": 1,
"x": 290,
"y": 180,
"wires": [
[
"6c62fb62f202b296",
"b0b1082915df7495"
]
]
},
{
"id": "3782741d.a1f0ec",
"type": "ezo",
"z": "fa790d73.1efda",
"name": "",
"address": "105",
"customAddr": false,
"ezoBoard": "orp",
"ezoTopic": "orp",
"bus": 1,
"x": 290,
"y": 220,
"wires": [
[
"e63a937d6dc26986",
"b0b1082915df7495"
]
]
},
{
"id": "390e185df00c88a2",
"type": "delay",
"z": "fa790d73.1efda",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "5",
"rateUnits": "minute",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 480,
"y": 100,
"wires": [
[
"0faf681a304e2014"
]
]
},
{
"id": "f78acfc3b958cbaa",
"type": "delay",
"z": "fa790d73.1efda",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "5",
"rateUnits": "minute",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 480,
"y": 140,
"wires": [
[
"3a0eba14442699f8"
]
]
},
{
"id": "6c62fb62f202b296",
"type": "delay",
"z": "fa790d73.1efda",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "5",
"rateUnits": "minute",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 480,
"y": 180,
"wires": [
[
"631d0a5e8bb908a6"
]
]
},
{
"id": "e63a937d6dc26986",
"type": "delay",
"z": "fa790d73.1efda",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "5",
"rateUnits": "minute",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 480,
"y": 220,
"wires": [
[
"8cdc22f329a794c0"
]
]
},
{
"id": "252d8b20e5afc319",
"type": "delay",
"z": "fa790d73.1efda",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "5",
"rateUnits": "minute",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 480,
"y": 260,
"wires": [
[
"d45b7a8fecda49ba"
]
]
},
{
"id": "1ad364290896bc7f",
"type": "influxdb out",
"z": "fa790d73.1efda",
"influxdb": "8834c282.e5704",
"name": "Probes",
"measurement": "probes",
"precision": "",
"retentionPolicy": "",
"database": "reef_12g",
"precisionV18FluxV20": "ms",
"retentionPolicyV18Flux": "",
"org": "maddyp",
"bucket": "reef",
"x": 1060,
"y": 180,
"wires": []
},
{
"id": "5d9f2b16e683fd9d",
"type": "join",
"z": "fa790d73.1efda",
"name": "",
"mode": "custom",
"build": "object",
"property": "payload",
"propertyType": "msg",
"key": "topic",
"joiner": "\\n",
"joinerType": "str",
"accumulate": true,
"timeout": "",
"count": "5",
"reduceRight": false,
"reduceExp": "",
"reduceInit": "",
"reduceInitType": "",
"reduceFixup": "",
"x": 870,
"y": 180,
"wires": [
[
"1ad364290896bc7f"
]
]
},
{
"id": "0faf681a304e2014",
"type": "ui_probe",
"z": "fa790d73.1efda",
"name": "Temp1",
"group": "d245fff0.0b692",
"order": 1,
"width": 6,
"height": 2,
"label": "Temp1",
"removeOlder": "3",
"removeOlderUnit": "3600",
"decimal": "1",
"symbol": "",
"scale": false,
"minin": "",
"maxin": "",
"minout": "",
"maxout": "",
"x": 670,
"y": 100,
"wires": [
[
"5d9f2b16e683fd9d"
]
]
},
{
"id": "3a0eba14442699f8",
"type": "ui_probe",
"z": "fa790d73.1efda",
"name": "Temp2",
"group": "d245fff0.0b692",
"order": 2,
"width": 6,
"height": 2,
"label": "Temp2",
"removeOlder": "3",
"removeOlderUnit": "3600",
"decimal": "1",
"symbol": "",
"scale": false,
"minin": "",
"maxin": "",
"minout": "",
"maxout": "",
"x": 670,
"y": 140,
"wires": [
[
"5d9f2b16e683fd9d"
]
]
},
{
"id": "631d0a5e8bb908a6",
"type": "ui_probe",
"z": "fa790d73.1efda",
"name": "PH",
"group": "d245fff0.0b692",
"order": 3,
"width": 6,
"height": 2,
"label": "PH",
"removeOlder": "3",
"removeOlderUnit": "3600",
"decimal": "2",
"symbol": "",
"scale": false,
"minin": "",
"maxin": "",
"minout": "",
"maxout": "",
"x": 670,
"y": 180,
"wires": [
[
"5d9f2b16e683fd9d"
]
]
},
{
"id": "8cdc22f329a794c0",
"type": "ui_probe",
"z": "fa790d73.1efda",
"name": "ORP",
"group": "d245fff0.0b692",
"order": 4,
"width": 6,
"height": 2,
"label": "ORP",
"removeOlder": "3",
"removeOlderUnit": "3600",
"decimal": 0,
"symbol": "",
"scale": false,
"minin": "",
"maxin": "",
"minout": "",
"maxout": "",
"x": 670,
"y": 220,
"wires": [
[
"5d9f2b16e683fd9d"
]
]
},
{
"id": "d45b7a8fecda49ba",
"type": "ui_probe",
"z": "fa790d73.1efda",
"name": "EC",
"group": "d245fff0.0b692",
"order": 5,
"width": 6,
"height": 2,
"label": "EC",
"removeOlder": "3",
"removeOlderUnit": "3600",
"decimal": "3",
"symbol": "",
"scale": false,
"minin": "",
"maxin": "",
"minout": "",
"maxout": "",
"x": 670,
"y": 260,
"wires": [
[
"5d9f2b16e683fd9d"
]
]
},
{
"id": "8834c282.e5704",
"type": "influxdb",
"hostname": "127.0.0.1",
"port": "8086",
"protocol": "http",
"database": "database",
"name": "InfluxDB",
"usetls": false,
"tls": "",
"influxdbVersion": "1.8-flux",
"url": "http://192.168.50.49:8086",
"rejectUnauthorized": false
},
{
"id": "d245fff0.0b692",
"type": "ui_group",
"name": "Column 1",
"tab": "4e7e1e91.ec75d",
"order": 1,
"disp": false,
"width": 6,
"collapse": false
},
{
"id": "4e7e1e91.ec75d",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]