Questions tagged [node-red]

Node-RED is a revolutionary tool that allows users to creatively connect hardware devices, APIs, and online services through data-flow programming, opening up endless possibilities for innovation.

Is there a method to compile C++ code in advance for integration into node-red?

I am currently developing a C++ interface code library for a device that operates using a proprietary protocol. Due to confidentiality reasons, I am unable to disclose the specifics of the protocol, however, I can share the compiled library without revea ...

How can I transfer data to a node in Node-RED using a specified setup and then access the setup again at a later point?

Currently, I am utilizing Node-RED on Bluemix and would like to enable users to upload a document. Below is the relevant code snippet within a function/template of a flow: <form action="/upload" method="POST"> <h1>Upload PDF</h1> &l ...

The engine for integrating [email protected] with node-red-contrib-amqp is not compatible

Is the latest version of node-red installed on Ubuntu 20.04? I'm attempting to include the node-red-contrib-amqp plugin according to the instructions on the GitHub page. https://github.com/abreits/node-red-contrib-amqp#installation $ sudo npm install -g ...

Combining two objects in node-red: A step-by-step guide

msg.payload : Object object HAMK307: object a_temperature: 23.1 a_humidity: 46 a_brightness: 3703.05 a_lights: "on" a_presence: "empty" r_temperature: 35.59 r_humidity: 30.46 r_pressure: 994.43 a_time: object ID: "HAMK-307" m ...

The Http-request node in Node-Red is failing to send the file

Having trouble sending a file using the http-request node. Here is an image of the Node-red flow: https://i.stack.imgur.com/pD4Tb.png In the Request Body node, this code has been added: const inputFile = msg.payload; const dataJson = { 'name': 'tes ...

Exploring ways to iterate through an array in JSONATA

Here is an example of an array: { "tocontrol": [{"name": "john"},{"name": "doe"}] } The desired output should look like this: { "method": "OR", "match": [ { &quo ...

Storing Nodes Externally: A Guide to Dockerizing Node-Red with External Node

My current challenge involves installing numerous missing node-red nodes to a container. When I maintain the (named) container and execute it with docker start, everything functions smoothly. However, my goal is to store the installed nodes in a separate ...

Angular 4 Web Application with Node-Red for Sending HTTP GET Requests

I am creating a unique service that utilizes Node-red to send emails only when a GET request is made to 127.0.0.1:1880/hello (node-red port), and an Angular 4 web app (127.0.0.1:3000) for client access. Upon accessing the /hello page from a browser, I rec ...

Installing Npm packages offline within a Docker container

I'm currently facing an issue while attempting to set up node-red-contrib-influxdb in a node-red docker container on a computer without internet access. My setup involves a Windows machine where I've installed node.js, along with the node-red-contrib-influ ...

Generating HTML table rows dynamically from objects using Angular's ng-repeat functionality

In my Node-RED setup, I am utilizing the HTML angular code within a "template" node. Within my system, I have an object that consists of circuit boards distinguished by serial numbers. Each circuit board is equipped with two channels, each having its own ...

Node-RED experiences crashes while attempting to make HTTP requests to access a web service

I'm currently facing a challenge in creating a node that can make web service calls. The tools I'm using are: Node-RED version: v0.17.5 Node.js version: v8.4.0 An exception is being thrown, and here's the error message: node-red_1 | 30 Aug 21:21: ...

Setting Up Node-RED on Heroku

Upon inspecting the files in the GitHub repository that were used to connect to the Heroku server, I replaced them with my own package.json, flow .json, and updated the repository link in app.json. However, upon deployment, when I tried opening the app, I ...

Encountered a frustrating ECONNREST error when attempting to install Node-RED on a Siemens IoT2040 through npm

Having trouble reinstalling node-red on my iot2040. Each time I attempt, I encounter the following error message. Despite checking my proxy settings, I cannot find any issues. I am at a loss as to what steps to take next... root@iot2000:~# npm install -g - ...

Node-red error: "unable to retrieve response object"

My goal is to set up an HTTP GET node that collects form data and then sends an HTTP POST request to another website using a REST API. I have managed to get the HTTP call to return the correct payload, but I'm encountering an error with the HTTP respo ...

Is it possible to dynamically add nodes to the palette without the need to restart the server?

Is there a way to dynamically add custom nodes to the node-red palette without relying on the standard "npm install node service" or manual server restart? If so, what is the best approach to achieve this? ...

In my attempt to install and require the packages "fs," "path," and "js-yaml" on my Windows 10 system, I encountered an issue. Specifically, only the "js-yaml" package resulted in the error message "

 Greetings! I am new to the world of computers and have been enjoying the insightful Q&As on this platform. This is my debut question on StackOverFlow, so please bear with me if my technical jargon or English seems a bit off.  I spent several hour ...

Incorporating an npm reference into a personalized node within Node-RED

As a novice in both the NodeRed and NodeJs/npm realms, I am embarking on the journey of creating a custom node for the first time. Despite my efforts to follow the official documentation on Creating your first node, I seem to have hit a roadblock. Everyth ...

How can I include an md-icon in an md-button within node-red-dashboard?

As a beginner in node-red, dashboard, AngularJS, and the pre-installed icons in the node-red dashboard, I humbly ask for guidance. My goal is to create custom buttons with icons using the dashboard template node. Based on the example provided in the inform ...