Questions tagged [node-red]

Node-RED is a data-flow programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.

Node-RED provides a browser-based flow editor to wire together flows using the wide range of nodes in the palette. A built-in library allows you to save useful functions, templates or flows for re-use.

The light-weight runtime is built on Node.js, and utilizes its event-driven, non-blocking model. This makes it ideal to run at the edge of the network on low-cost hardware such as the Raspberry Pi as well as in the cloud.

Problems that may require back and forth debugging may be better asked on the mailing list.

Official Website

Forum

GitHub

Library

Documentation

2181 questions
0
votes
3 answers

Save values global in NodeRED

We are working with MQTT messages, process these messages and call a REST service to send the information to another system. Now we need to save some values from the MQTT message to compare these values with other messages. Is it possible to create…
user1099480
  • 187
  • 1
  • 4
  • 11
0
votes
0 answers

Node-RED connection to Waze

I am trying to use the http request node to get the route between 2 points using the following url (replace xxxxx with actual…
fPecc
  • 115
  • 7
0
votes
0 answers

How To Move Node-Red Project

I have a node-red project that was working fine. I back'ed up the .node-red folder and have now reinstalled ubuntu and node-red on the same computer. I'm using the node-red-contrib-postgrestor node to access PostgreSQL. After installing all the…
0
votes
1 answer

Error in node-red-contrib-machine-learning

I'm trying to implement the most basic flow of machine learning in node-red using this library: https://flows.nodered.org/node/node-red-contrib-machine-learning. This flow loads a CSV file, shuffles it and creates a training and a test partition.…
Stav Alfi
  • 13,139
  • 23
  • 99
  • 171
0
votes
1 answer

Cloud Foundry: Node-Red app crashing with 500 Error: Failed to establish a backside connection

I have created an application in IBM cloud - using the Node-Red starter. The app has been running with no errors for 2 weeks. I have installed an additional node:"node-red-dashboard":"2.9.6", by adding this in the package.json file. When deploying…
hford
  • 3
  • 1
0
votes
1 answer

How to import the png image to the node-red-contrib-web-worlmap

I have some issue, and maybe someone had the same. I have published the "points" on the map, as in the picture: At this moment, I am trying to upload the PNG file over this place(floor plan). I have tried this: var imageBounds =…
0
votes
0 answers

How to install node-red-contrib-cep for Node-RED on Bluemix

I am new to both Node-Red as well as Bluemix. I have created a Node-Red running on Bluemix using the Bluemix IoT Platform starter kit. I have tried to install node-red-contrib-cep using the Manage Palette -> Install but the installation failed with…
Choo
  • 21
  • 2
0
votes
1 answer

Template UI and variables in Node-RED

This is my function node: var myfoo1 = global.get("v1"); var myfoo2 = global.get("v2"); msg.payload=[myfoo1,myfoo2]; //myfoo1 is an array of objects //myfoo2 is also an array of objects return msg; This is my template UI node: …
etudiante
  • 1
  • 3
0
votes
0 answers

Read data from cloudant db and then compare the value based on specific attribute

I am working on flow in node red .The flow works to read data from cloudant database and then make if condition to check payload for two document based on the attributes. if these attributes are equal for a specific value or not. The problem, I…
laya
  • 5
  • 7
0
votes
1 answer

Node RED custom node, populate dynamic values in dropdown. Show selected value on opening node. Support for same type of multiple nodes

Node red custom node, 1 drop-down field shows values dynamically from a database. User can select any value & save the node. When user reopens same node, drop-down should show the previously selected value. It works in one node only. But if we put…
0
votes
1 answer

How to append a custom object built from http request parameters to a global context array in node-red?

In nodered I want to add a JSON object to an array stored in a global context object. The global context is initialized as { "lot": { "total":0, "free":0, "occupied":0, "cams":[] } } When an HTTP…
roschach
  • 8,390
  • 14
  • 74
  • 124
0
votes
2 answers

IBM IoT output node to websockets end-point

In my Node-RED flow, I have wired an IBM IoT Input node to an IBM IoT Output node. I am using mosquitto_pub on command line to publish to WIoTP so that the Node-RED flow is started. Similarly, I am using mqtt sub (from mqttjs) to subscribe to the…
cogitoergosum
  • 2,309
  • 4
  • 38
  • 62
0
votes
1 answer

template in Node-RED

I would recuperate the value of a variable in the template node. The value of this variable is calculated in a function node.
etudiante
  • 1
  • 3
0
votes
1 answer

How to add a new field in a node-red message payload?

I am trying to modifying a message payload in node-red by adding a new field coming from the global.context. For example given the as input the following message.payload {"field1" : 5} and assuming the global context has a field {"lot" : {"f1" : 4,…
roschach
  • 8,390
  • 14
  • 74
  • 124
0
votes
1 answer

Convert text content to JSON using CSV node in NODE_RED?

Can any one help me how can we pass input with multiple lines to CSV node which has different columns/elements for each line. I have a text file with below content H|1|2|3|$|4|4 D|3|4|5 D|4|4|6 D|2|3|4 Here,how can we pass columns names for…
clay
  • 25
  • 4