TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Node-RED: Low-code programming for event-driven applications

283 pointsby omarfarooqover 3 years ago

27 comments

knollearyover 3 years ago
Node-RED co-creator and project lead here. Happy to answer any questions you have.
评论 #28987158 未加载
评论 #28990117 未加载
评论 #28987569 未加载
评论 #28991091 未加载
评论 #28986656 未加载
评论 #28986956 未加载
评论 #28992958 未加载
评论 #28988422 未加载
评论 #28993784 未加载
评论 #28997941 未加载
评论 #28986669 未加载
评论 #28987024 未加载
a254613eover 3 years ago
I use Node-RED in combination with home assistant, for automations.<p>It&#x27;s sometimes overly complicated to follow the flows, or do something relatively simple, but otherwise it&#x27;s a nice middle ground between built in YAML based automations, and something like AppDaemon which requires writing python scripts.
评论 #28985624 未加载
评论 #28985616 未加载
64cdeover 3 years ago
Because of Node-RED i learned a LOT about APIs, protocols and stuff in a playful way. Especially:<p>-REST<p>-GET, POST, PUT<p>-JSON<p>-Javascript<p>-MQTT<p>And all that helped me a lot in my career, just because i wanted to automate a few things. And now Node-RED is just irreplaceable in my private life.
dangover 3 years ago
Some past threads. Others?<p><i>Node-RED 2.0</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27892226" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27892226</a> - July 2021 (62 comments)<p><i>How-to normalize home volume levels with Node-RED</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23349902" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23349902</a> - May 2020 (28 comments)<p><i>Node-Red – Flow-Based Programming for the Internet of Things</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18859019" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18859019</a> - Jan 2019 (77 comments)<p><i>Replacing a Pool and Spa Controller with Raspberry Pi, Arduino, Node Red</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18142335" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18142335</a> - Oct 2018 (3 comments)<p><i>Node-RED: A visual tool for wiring the Internet of Things</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13495156" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13495156</a> - Jan 2017 (6 comments)<p><i>Node-Red, a tool for wiring together hardware devices, APIs and online services</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8419984" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8419984</a> - Oct 2014 (8 comments)<p><i>Node-RED</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8310536" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8310536</a> - Sept 2014 (1 comment)<p><i>Node-red, a visual tool for wiring the Internet of Things</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8217664" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8217664</a> - Aug 2014 (3 comments)<p><i>Programming the Missing Links in the Internet of Things</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6459564" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6459564</a> - Sept 2013 (1 comment)
kingo55over 3 years ago
Even when you know how to script up automations, I still find Node Red invaluable for visualising and rapidly prototyping complex logic before you write a single line of code.<p>Plus, it is the perfect accompaniment to Home Assistant.
评论 #28985613 未加载
akavelover 3 years ago
<i>&lt;enso-fanboi mode=&quot;on&quot;&gt;</i><p>If you&#x27;re interested in something more generic, check out if <a href="https:&#x2F;&#x2F;enso.org" rel="nofollow">https:&#x2F;&#x2F;enso.org</a> could be worth a look! Thanks to GraalVM, you might be able to import JS packages too, among others (Java, Python, &amp; more...); OTOH with the caveat that the project is still in ways in-dev...
评论 #28987787 未加载
DanWritesCodeover 3 years ago
My friend uses Node-RED to automate and run a lot of devices&#x2F;things in his van (which he lives in). I&#x27;m not sure if it&#x27;s better to <i>not</i> have a programming background, because it&#x27;s one of the more difficult environments I&#x27;ve helped someone with and the debugging when something wasn&#x27;t working was really poor, it all felt very un-intuitive.
quinn_jhover 3 years ago
Yeah node-red really rocks. Maybe I am biased as a particularly visually oriented person but i really enjoy the ease of prototyping with nodes and flows. I cannot help but sense that they may become more commonplace- there are applications for embedded sensing and data pipelines where it helps to think less in packets and more in streams or currents... also great for mocking up a synthesizer which I did with Paul Stoffregen&#x27;s super rad audio tool for teensy&#x2F;ARM : - ) <a href="https:&#x2F;&#x2F;www.pjrc.com&#x2F;teensy&#x2F;gui&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pjrc.com&#x2F;teensy&#x2F;gui&#x2F;</a>
noduermeover 3 years ago
I have just been going through a HELL of a time building a web-based app (&quot;PWA&quot; in progressive lingo) that needs to auto-discover certain devices on the user&#x27;s LAN. This is a rebuild of an existing AIR-based app that&#x27;s been in use in a corporate setting for 10 years and needs to be replaced because &quot;death of flash&quot;. The AIR app I wrote back then handled discovering the local devices fantastically well. The problem now? Mixed-origin blockades. I can&#x27;t get into all those devices and routers in each location to set up local DNS servers and maintain certificates. So the connection from the ultimate app to the local node has to be unencrypted. But this means the only answer to a web-based discovery app is to have it be served over HTTP as well.<p>Interesting thing google missed when trying to prevent people from doing this exact thing with PWAs: If you have a valid manifest and service worker, Chrome won&#x27;t run the service worker if it&#x27;s not served over SSL, but it WILL include the app name and icons and let you save it to the home screen on Android; it will even cache a good deal of what you intended.<p>For auto-discovery, I used a fuckton of hidden iframes loading asynchronously and waiting for any window.postMessage that matches what I want from a local device.<p>Seriously, Google has made my life fucking miserable as a solo dev. They don&#x27;t want anyone to be able to write an IoT app without going through them.
评论 #28986113 未加载
评论 #28987167 未加载
评论 #28993043 未加载
eBombzorover 3 years ago
What do people automate at home? I genuinely have never thought to have the need to buy a home assistant but apparently lots of people in this thread do
评论 #28989464 未加载
评论 #28993538 未加载
评论 #28996443 未加载
评论 #28990404 未加载
评论 #28990339 未加载
Havocover 3 years ago
Recently discovered that you can build simple api style end points with it.<p>Eg built one that tries resolving an ad domain to check if ad blocking is functioning correctly and publishes that as a end point that is suitable for an uptime dashboard
sokoloffover 3 years ago
Is anyone using the node-RED ecosystem to deliver end-user customization of their <i>not-home-automation</i> product&#x2F;service?<p>I’m looking for ways to offer practical&#x2F;accessible low-code (or not considered scary code) composition for our internal users who are running light industry factory production lines, but open to learning about commercial applications in any field to draw inspiration from.
评论 #28986802 未加载
Jeddover 3 years ago
We&#x27;re (extremely early days into) looking to use NodeRed to provide customised configurations for a fleet of telegraf agents.<p>Telegraf has the ability to phone home and ask for its telegraf.conf as it starts up, but the server-side of that equation is frustratingly left as an exercise for the reader.<p>There&#x27;s not many ways to skin that particular cat, which is odd and unsettling in its own way.
Graffurover 3 years ago
I&#x27;d like to hear from some people that don&#x27;t like Node-RED.
评论 #28989761 未加载
评论 #28987561 未加载
评论 #29003657 未加载
adontzover 3 years ago
Cannot find if it supports any version control? Does it?
评论 #28985826 未加载
评论 #28985854 未加载
rcarmoover 3 years ago
Since I&#x27;ve been asked a couple of times in the threads for Node-RED examples, here&#x27;s my home automation write up from a couple of years ago:<p><a href="https:&#x2F;&#x2F;taoofmac.com&#x2F;space&#x2F;blog&#x2F;2019&#x2F;01&#x2F;13&#x2F;1900" rel="nofollow">https:&#x2F;&#x2F;taoofmac.com&#x2F;space&#x2F;blog&#x2F;2019&#x2F;01&#x2F;13&#x2F;1900</a><p>These days I&#x27;ve changed the setup a bit and now take advantage of Node-RED&#x27;s debugger plugin and Projects&#x2F;git features, but the rest still applies.
pierregilleslover 3 years ago
Also, you can use Node-RED with Gladys Assistant (open-source home automation software) to have a clean dashboard on top of Node-RED:<p><a href="https:&#x2F;&#x2F;gladysassistant.com&#x2F;blog&#x2F;integrate-node-red-with-gladys-assistant-in-mqtt" rel="nofollow">https:&#x2F;&#x2F;gladysassistant.com&#x2F;blog&#x2F;integrate-node-red-with-gla...</a>
yewenjieover 3 years ago
I really like Pipedream - <a href="https:&#x2F;&#x2F;pipedream.com" rel="nofollow">https:&#x2F;&#x2F;pipedream.com</a>
nsomaruover 3 years ago
How does this compare to n8n? I read somewhere that node red was more focused on IoT applications, is that correct?
评论 #28985895 未加载
评论 #28985683 未加载
juliusover 3 years ago
I remember trying to use it as a web-server few years ago.<p>You can see an example graph to get a user from the DB by id here: <a href="https:&#x2F;&#x2F;github.com&#x2F;julius&#x2F;node-red-contrib-sqlstring#example" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;julius&#x2F;node-red-contrib-sqlstring#example</a>
clearcarbonover 3 years ago
I use nodered daily in my home automations, has been absolutely rock solid for my use case.
darkteflonover 3 years ago
I run a Homebridge &#x2F; Homekit ecosystem at home but have always been curious about leveraging Node-RED to handle more complex automations.<p>Does anyone have any recommendations and&#x2F;or recommended reading on putting these two together?
评论 #28990259 未加载
d21d3qover 3 years ago
I use node-red for Escape Room game high level automation. Gathering data from all the puzzles (over CANbus and mqtt), displaying game state for game masters, fallback control, audio+light sequences, etc
RedShift1over 3 years ago
I love Node-RED. Great tool to make otherwise invisible workflows visible!
supermattover 3 years ago
Had a quick look at this recently, but was finding it hard to grok where the value gets &quot;returned&quot;. Any pointers from the knowledgeable?
SEJeffover 3 years ago
This software is great on the esp8266 and esp32 series of microcontrollers for those who like to tinker.
评论 #28990284 未加载
robkover 3 years ago
Obligatory comment that Huginn is also useful for similar applications albeit less home automation than web automation
评论 #28987983 未加载