Widgetlords Controller - Node-Red, Raspberry Pi Controller Build

OP
OP
MaddyP

MaddyP

'Til Reefdom Come...
View Badges
Joined
Jul 21, 2016
Messages
1,907
Reaction score
4,530
Location
Vancouver, WA
Rating - 0%
0   0   0
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.
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:

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
    }
]
 

BTBR

New Member
View Badges
Joined
May 1, 2022
Messages
7
Reaction score
3
Location
UK
Rating - 0%
0   0   0
Thank you very much for the reply. I am a total noob so sorry if I am slow at undertsanding.

value: "514" and value: "23.94" - Influxdb isn't seeing that as a number and neither is Grafana. I think that as they are in red with " that they aren't numbers? I cannot work out how to change that into a number and keep the rest of the info. If that is the case what is going wrong.

I found your EZO node and thought that could possibly have a different output, but I have configured it as an oxygen sensor on bus 1 with the correct topic, but nothing comes out at all. I believe I am missing something really stupid there.

I have been trying to get these sensors to graph now for three weeks and pulling my hair out. This is the first time I have used a raspberry, node red or anything similar so has been a very steep learning curve.

Any help will be greatly appreciated.

Mark


IMG_2577.JPG
 
OP
OP
MaddyP

MaddyP

'Til Reefdom Come...
View Badges
Joined
Jul 21, 2016
Messages
1,907
Reaction score
4,530
Location
Vancouver, WA
Rating - 0%
0   0   0
Thank you very much for the reply. I am a total noob so sorry if I am slow at undertsanding.

value: "514" and value: "23.94" - Influxdb isn't seeing that as a number and neither is Grafana. I think that as they are in red with " that they aren't numbers? I cannot work out how to change that into a number and keep the rest of the info. If that is the case what is going wrong.

I found your EZO node and thought that could possibly have a different output, but I have configured it as an oxygen sensor on bus 1 with the correct topic, but nothing comes out at all. I believe I am missing something really stupid there.

I have been trying to get these sensors to graph now for three weeks and pulling my hair out. This is the first time I have used a raspberry, node red or anything similar so has been a very steep learning curve.

Any help will be greatly appreciated.

Mark


IMG_2577.JPG
No worries at all, we were all noobs at one point. ;)

Please export your flow json so I can run it to see where the issue is:

 

BTBR

New Member
View Badges
Joined
May 1, 2022
Messages
7
Reaction score
3
Location
UK
Rating - 0%
0   0   0
Code:
[
    {
        "id": "5584b43652029f88",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "647db88fd86b5421",
        "type": "mqtt in",
        "z": "5584b43652029f88",
        "name": "O2",
        "topic": "sensors/O2/add108",
        "qos": "2",
        "datatype": "json",
        "broker": "9560f990f837f172",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 350,
        "y": 140,
        "wires": [
            [
                "229d37db52370d0c",
                "2f94419d6a375748"
            ]
        ]
    },
    {
        "id": "d3032ff20e994cc8",
        "type": "mqtt in",
        "z": "5584b43652029f88",
        "name": "CO2",
        "topic": "sensors/CO2/add105",
        "qos": "2",
        "datatype": "json",
        "broker": "9560f990f837f172",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 350,
        "y": 300,
        "wires": [
            [
                "c85fb3476a80a151",
                "f21bb7216536bf85"
            ]
        ]
    },
    {
        "id": "c85fb3476a80a151",
        "type": "debug",
        "z": "5584b43652029f88",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 610,
        "y": 360,
        "wires": []
    },
    {
        "id": "2f94419d6a375748",
        "type": "influxdb out",
        "z": "5584b43652029f88",
        "influxdb": "873fecac719d0bb3",
        "name": "influxdb",
        "measurement": "O2",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "213e9b7eca749156",
        "bucket": "sensors",
        "x": 620,
        "y": 100,
        "wires": []
    },
    {
        "id": "f21bb7216536bf85",
        "type": "influxdb out",
        "z": "5584b43652029f88",
        "influxdb": "873fecac719d0bb3",
        "name": "influxdb",
        "measurement": "CO2",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "213e9b7eca749156",
        "bucket": "sensors",
        "x": 600,
        "y": 280,
        "wires": []
    },
    {
        "id": "229d37db52370d0c",
        "type": "debug",
        "z": "5584b43652029f88",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 610,
        "y": 200,
        "wires": []
    },
    {
        "id": "a83886019bdf5df2",
        "type": "mqtt in",
        "z": "5584b43652029f88",
        "name": "both",
        "topic": "sensors/#",
        "qos": "2",
        "datatype": "json",
        "broker": "9560f990f837f172",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 230,
        "y": 500,
        "wires": [
            []
        ]
    },
    {
        "id": "97aa0e651c407e99",
        "type": "ezo",
        "z": "5584b43652029f88",
        "name": "oxygen",
        "address": "108",
        "customAddr": true,
        "ezoBoard": "o2",
        "ezoTopic": "sensors",
        "bus": 1,
        "x": 440,
        "y": 460,
        "wires": [
            []
        ]
    },
    {
        "id": "d78691907e7d2557",
        "type": "ezo",
        "z": "5584b43652029f88",
        "name": "carbon",
        "address": "105",
        "customAddr": true,
        "ezoBoard": "co2",
        "ezoTopic": "sensors",
        "bus": 1,
        "x": 430,
        "y": 520,
        "wires": [
            []
        ]
    },
    {
        "id": "39990722f2fae87e",
        "type": "debug",
        "z": "5584b43652029f88",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 710,
        "y": 460,
        "wires": []
    },
    {
        "id": "9560f990f837f172",
        "type": "mqtt-broker",
        "name": "Mosquitto",
        "broker": "localhost",
        "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": {},
        "sessionExpiry": ""
    },
    {
        "id": "873fecac719d0bb3",
        "type": "influxdb",
        "hostname": "127.0.0.1",
        "port": "8086",
        "protocol": "http",
        "database": "sensors",
        "name": "[email protected]",
        "usetls": false,
        "tls": "",
        "influxdbVersion": "2.0",
        "url": "https://eu-central-1-1.aws.cloud2.influxdata.com",
        "rejectUnauthorized": true
    }
]
 

BTBR

New Member
View Badges
Joined
May 1, 2022
Messages
7
Reaction score
3
Location
UK
Rating - 0%
0   0   0
No worries at all, we were all noobs at one point. ;)

Please export your flow json so I can run it to see where the issue is:

I've worked out how to change the value into a number, but now not recognised in Influxdb as a field. One problem solved new problem arises.
Code:
[
    {
        "id": "5584b43652029f88",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "647db88fd86b5421",
        "type": "mqtt in",
        "z": "5584b43652029f88",
        "name": "O2",
        "topic": "sensors/O2/add108",
        "qos": "2",
        "datatype": "json",
        "broker": "9560f990f837f172",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 170,
        "y": 140,
        "wires": [
            [
                "cac737e4559361a2"
            ]
        ]
    },
    {
        "id": "d3032ff20e994cc8",
        "type": "mqtt in",
        "z": "5584b43652029f88",
        "name": "CO2",
        "topic": "sensors/CO2/add105",
        "qos": "2",
        "datatype": "json",
        "broker": "9560f990f837f172",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 90,
        "y": 300,
        "wires": [
            [
                "b63cba85dd0b09d2"
            ]
        ]
    },
    {
        "id": "c85fb3476a80a151",
        "type": "debug",
        "z": "5584b43652029f88",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 610,
        "y": 380,
        "wires": []
    },
    {
        "id": "2f94419d6a375748",
        "type": "influxdb out",
        "z": "5584b43652029f88",
        "influxdb": "873fecac719d0bb3",
        "name": "influxdb",
        "measurement": "O2",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "213e9b7eca749156",
        "bucket": "sensors",
        "x": 620,
        "y": 100,
        "wires": []
    },
    {
        "id": "f21bb7216536bf85",
        "type": "influxdb out",
        "z": "5584b43652029f88",
        "influxdb": "873fecac719d0bb3",
        "name": "influxdb",
        "measurement": "CO2",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "213e9b7eca749156",
        "bucket": "sensors",
        "x": 600,
        "y": 280,
        "wires": []
    },
    {
        "id": "229d37db52370d0c",
        "type": "debug",
        "z": "5584b43652029f88",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 610,
        "y": 200,
        "wires": []
    },
    {
        "id": "b63cba85dd0b09d2",
        "type": "change",
        "z": "5584b43652029f88",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload.value",
                "pt": "msg",
                "to": "$number(payload.value)\t",
                "tot": "jsonata"
            },
            {
                "t": "set",
                "p": "payload.created_at",
                "pt": "msg",
                "to": "",
                "tot": "date"
            },
            {
                "t": "delete",
                "p": "payload.VersionInfo",
                "pt": "msg"
            },
            {
                "t": "delete",
                "p": "payload.Name",
                "pt": "msg"
            },
            {
                "t": "delete",
                "p": "payload.Address",
                "pt": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 280,
        "y": 300,
        "wires": [
            [
                "f21bb7216536bf85",
                "c85fb3476a80a151"
            ]
        ]
    },
    {
        "id": "cac737e4559361a2",
        "type": "change",
        "z": "5584b43652029f88",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload.value",
                "pt": "msg",
                "to": "$number(payload.value)\t",
                "tot": "jsonata"
            },
            {
                "t": "set",
                "p": "payload.created_at",
                "pt": "msg",
                "to": "",
                "tot": "date"
            },
            {
                "t": "delete",
                "p": "payload.VersionInfo",
                "pt": "msg"
            },
            {
                "t": "delete",
                "p": "payload.Name",
                "pt": "msg"
            },
            {
                "t": "delete",
                "p": "payload.Address",
                "pt": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 360,
        "y": 140,
        "wires": [
            [
                "229d37db52370d0c",
                "2f94419d6a375748"
            ]
        ]
    },
    {
        "id": "9560f990f837f172",
        "type": "mqtt-broker",
        "name": "Mosquitto",
        "broker": "localhost",
        "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": {},
        "sessionExpiry": ""
    },
    {
        "id": "873fecac719d0bb3",
        "type": "influxdb",
        "hostname": "127.0.0.1",
        "port": "8086",
        "protocol": "http",
        "database": "sensors",
        "name": "[email protected]",
        "usetls": false,
        "tls": "",
        "influxdbVersion": "2.0",
        "url": "https://eu-central-1-1.aws.cloud2.influxdata.com",
        "rejectUnauthorized": true
    }
]
2022-05-03-114938_3840x2160_scrot.png
 

BTBR

New Member
View Badges
Joined
May 1, 2022
Messages
7
Reaction score
3
Location
UK
Rating - 0%
0   0   0
No worries at all, we were all noobs at one point. ;)

Please export your flow json so I can run it to see where the issue is:

Solved it. The solution was to change the 'value' to a number using the change node. It didn't work though in Influxdb until I deleted the bucket and made a new one.

Here is the thread in Node-red forum is anyone else is stuck - https://discourse.nodered.org/t/node-red-to-influxdb-atlas-scientific/62114/5
 

Wolfw28

Active Member
View Badges
Joined
Mar 13, 2022
Messages
201
Reaction score
139
Location
Myakka City
Rating - 0%
0   0   0
Anyone here using Pi Based Robo-Tank controller and modules? I'm currently using Reef-pi program with Robo-Tank hardware and having a lot of issue with Reefpi dont want to go into details about my issues it a free program but i'm looking for an alternative. Seen several videos on NodeRed and like and understand the visual based programming than the normal writing on code. I don't have any experience with writing code other than very basic arduino programs. Was wondering if anyone used Robo-Tank that could let me use there program to use and play with to learn how to make the modification to tailor it to my system. i'm using a 2 sensor ATO pump control temp control to turn on 2 fans couple dosing pumps and a few other things. I'd like to learn more but not sure where to start i learn and understand more from have a working program/equipment whatever and taking it apart and tinkering with it then start something from scratch. Been that may science i was a child taking apart my dad lawn mower to now being an automotive transmission tech. if i know how something work i an fix just about anything. I'm willing to help anyone with there tank I have decades of experience in the hobby and have had several amazing setups and helped numerous of people over the year and no problems sharing my experience and experiment's good and bad especially with people who are willing to help me.
 
Last edited:
OP
OP
MaddyP

MaddyP

'Til Reefdom Come...
View Badges
Joined
Jul 21, 2016
Messages
1,907
Reaction score
4,530
Location
Vancouver, WA
Rating - 0%
0   0   0
Anyone here using Pi Based Robo-Tank controller and modules? I'm currently using Reef-pi program with Robo-Tank hardware and having a lot of issue with Reefpi dont want to go into details about my issues it a free program but i'm looking for an alternative. Seen several videos on NodeRed and like and understand the visual based programming than the normal writing on code. I don't have any experience with writing code other than very basic arduino programs. Was wondering if anyone used Robo-Tank that could let me use there program to use and play with to learn how to make the modification to tailor it to my system. i'm using a 2 sensor ATO pump control temp control to turn on 2 fans couple dosing pumps and a few other things. I'd like to learn more but not sure where to start i learn and understand more from have a working program/equipment whatever and taking it apart and tinkering with it then start something from scratch. Been that may science i was a child taking apart my dad lawn mower to now being an automotive transmission tech. if i know how something work i an fix just about anything. I'm willing to help anyone with there tank I have decades of experience in the hobby and have had several amazing setups and helped numerous of people over the year and no problems sharing my experience and experiment's good and bad especially with people who are willing to help me.
Node-Red has a nice drag-and-drop interface which makes things easier, but almost anything custom will require some coding.

You might be better off posting in the Reef-Pi sub forum for help.
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 42 16.1%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 16 6.1%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.4%
  • I wear reef gear primarily to relax where I live.

    Votes: 30 11.5%
  • I don’t wear gear from reef brands.

    Votes: 153 58.6%
  • Other.

    Votes: 19 7.3%
Back
Top