Live data from Hacker News

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

nodered.org

41–50 of 93 posts

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

#42

Node-RED co-creator and project lead here. Happy to answer any questions you have.

IOT guy here, I like node-red but never dare to run it on edge device to perform ops on critical infrastructure. what is the state of the project? prototype only or business ready?

(Node-RED project lead here) It is not at all limited to prototyping. There are an ever-growing number of companies incorporating Node-RED in their own products and services - you can see a list of some of them on the project homepage.

They span a wide range of industries and technology areas. Quite a few are industrial controller companies who include Node-RED on their commercially available edge devices.

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

#43
post #31

Node-RED co-creator and project lead here. Happy to answer any questions you have.

Would love a swagger api importer!

(Node-RED project lead here) There are a few nodes for dealing with swagger in Node-RED - either generating Swagger doc for your HTTP end points, or on the client side to make it easy to interact with a Swagger documented API.

For example: https://flows.nodered.org/node/openapi-red

If you're looking for something that can take a Swagger/OpenAPI doc and generate a stubbed-out set of flows - that would be a neat idea. Sounds like a cool project to create as a pluing.

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

#44
post #36

Node-RED co-creator and project lead here. Happy to answer any questions you have.

How do you feel Node-RED stacks up against products like Boomi, MuleSoft, SnapLogic, etc., and is competing with those iPaaS vendors something you want to do?

(Node-RED project lead here) Node-RED is an open-source project and part of the OpenJS Foundation. We'd certainly aspire Node-RED to be comparable at a technical level with other offerings.

But as an OSS project, we aren't looking to create a hosted SaaS offering - the core project isn't trying to compete commercially with those vendors.

But there are companies looking to create commercial services around Node-RED that certainly want to be competitive. (My own company, FlowForge Inc, is one of them)

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

#45
post #20
post #11

How does this compare to n8n? I read somewhere that node red was more focused on IoT applications, is that correct?

It originated in that space, but the ecosystem has taken it in very different directions. It has lower-level abstractions than n8n (which focuses on automating third-party SaaS), but can arguably do the same. I've used it for an insane amount of things, starting with home automation and telemetry but also fairly sophisticated uses, including: - Sniffing for multicast streams on a LAN and exposing IPTV set top boxes a…

> - Building an RSS aggregation and transformation pipeline that does translations, scraping, etc.

About how many feeds are we talking here? One per hour? Ten? Some hundred? I've thought at some point doing similar, but was not sure whether node-red or similar tools would perform well enough with this kinds of jobs.

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

#46

Node-RED co-creator and project lead here. Happy to answer any questions you have.

What are the flaws of Node-RED? The areas that you plan (or hope) to give many, many necessary love somewhere in the future? What is something people use the software for, where you would say they should not do this? Node-RED seems so far optimized for IoT and online services. Is there any ability (or plans for them) to use it locally for desktop-automation, similiar to AppleScript & Automator on MacOS, shell & batch…

(Node-RED project lead here) Some great questions, and not necessarily short answers.

> What are the flaws of Node-RED? The areas that you plan (or hope) to give many, many necessary love somewhere in the future?

It works really well as a single user system. One of the areas I really want to improve is the multi-user/collaborative features available in the editor.

You can certainly have >1 users editing the same flows in parallel, but you do end up having to merge back in each other's changes. That user experience isn't ideal.

I'm also keenly aware the documentation and getting started experience needs attention.

> What is something people use the software for, where you would say they should not do this?

I wouldn't tell someone not to use the project if they had found something that worked for them. As with any solution, you need to make sure it satisfies your needs and requirements.

I would say you need to acknowledge the limits of the system - partly born of the single-threaded nature of the underlying Node.js runtime.

> Is there any ability (or plans for them) to use it locally for desktop-automation, similiar to AppleScript & Automator on MacOS, shell & batch-scripts, Selenium for websites, Tasker on android, etc.?

It isn't something we're thinking about in the core of the project. But the project is designed so that this could all be done via 3rd party nodes created and shared by the community to integrate with those tools. In other words, this sort of integration could be done by anyone - it doesn't have to be the core project that does it.

> How would you see the state of the project generally and feature-wise ?

There's always more to be done.

> Should it reinvent itself every some years and stay fresh and adapting

There's a risk for all software projects that continually reinvent themselves that they sacrifice their existing community in search of something else.

A core principle we have is stability. That doesn't mean stagnation, but it means evolving in a considered way that brings the community with us and doesn't leave users stranded because they depend on something that has since been 'reinvented'.

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

#49

Node-RED co-creator and project lead here. Happy to answer any questions you have.

What are the flaws of Node-RED? The areas that you plan (or hope) to give many, many necessary love somewhere in the future? What is something people use the software for, where you would say they should not do this? Node-RED seems so far optimized for IoT and online services. Is there any ability (or plans for them) to use it locally for desktop-automation, similiar to AppleScript & Automator on MacOS, shell & batch…

I can on reply from the perspective of a multi-year user:

It is primarily functional programming. This means, you have an input, that is processed through blocks (functions) and does some things.

This is GREAT for things similar to IFTTT (If this then that) applications. E.g. you receive a datagramm via MQTT, and then format it, add some info, and upload it into influxdb.

You can also easily add a small dashboard with some buttons and labels for easy home automation.

What needs some working around with context store are side effects, or persistance. I have two examples that can be worked around, but are rather hacky:

1) Reading a list from a homepage, and only sending updates for new items. This is the prime example for context - you save a list of seen items in the context of the function node, so the next invocation can filter out the existing ones

2) Using a switch in the dashboard for selecting between automatic and manual mode. E.g. I want to have my rack fans controlled by the temperature, but with an override to set it manually. This needs a bit more hacking with context where you have two flows into one node, and you have to set the internal state of the context depending on the override button.

Post reply on HN