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
0 answers

writing 8 bit data to file, without escape character

I am using NODERED to read a serial port. The data coming in is 8 bit per byte. reading is working fine. Now, I want to write that buffer to a file. When I use buffer.toString() it generates a string but with formatting. Even the 'binary' option…
0
votes
1 answer

How can I Upload .doc type files by document-uploader-node to Discovery service?

In Node-RED, it has "Document uploder node", which sounds can upload file to Discovery Service, but, the problem is my client want to upload .doc file. Of course I tried, but Discovery service side treat the payload as json and cannot got expected…
I.fuji
  • 1
  • 3
0
votes
1 answer

Node-Red UI Template: how to "fix" a value for a variable?

After many tries and hours of research in the Internet (ok, I am new to HTML/Javascript), I manage to code the Node-Red UI-Dashboard template below in a way that, when different values of msg.payload are sent, the HTML is updated and a the value of…
Eduardo
  • 57
  • 1
  • 13
0
votes
1 answer

How to Login on a website programmatically

I want to programmatically log in to a website (https://www.vipmobile.rs/mojvip) By now, the only way I figured out to input my credentials is by adding value="abcd@abc.com" on input tags trought inspect element on google chrome. Does anyone know…
Nemanja
  • 174
  • 17
0
votes
0 answers

Node Red UI not showing while on reverse proxy nginx

I currently have a setup of node-red running on raspberry pi stretch. the node-red doesnt have any problem when running local. The raspberry pi is behind a nginx reverse proxy server. whenever being accessed on my domain, flow doesnt show up even…
0
votes
0 answers

Node Red - flows stopped due to missing nodes error on startup

My node red flows were working fine but when I restarted them, they started giving me this error. Nothing has changed between the time it worked and now. Any clue what the error could be? I already checked configuration nodes tab for missing nodes…
0
votes
1 answer

Why in node-red my HTTP POST no receive payload from inject?

i try use https://rpinotify.it/invio-di-testo.html i want send message with http post but i can't, see images i use Node-Red to fred.sensetecnic, i try use json, strings... i can't undestrand, can you help me? 3/7/2018, 08:43:15node:…
0
votes
1 answer

Node-Red Multiple Contexts

I have a Node-Red Application. A user logs in with credentials stored in a sqlite database. Based on the information returned from the database it sets a bunch of variables for use in other flows. flow.set('sid',…
Smithy
  • 771
  • 10
  • 29
0
votes
1 answer

Node-red hangs when sending fast node.send(msg)

I am struggling with a problem in a node configuration for node-red. I have made a node, which have an input and an output. Every time the input is getting a payload message of any type, it performs a reading of a file, and throw that content out on…
Simon
  • 83
  • 8
0
votes
0 answers

How to add a comma to payload message?

This may be an easy problem to fix in node red. I receive a payload from my temperature sensor: 230 and i need to change it to 23.0 How can I in node red add a comma so the value changes from 230 to 23,0 Kind regards
0
votes
2 answers

Nodejs fs.createReadStream event error

I am trying to read data from a file very quickly (data from an ADC). The conversion is started on opening the file, and finished at close. I need to wait opening the file again, and wait for the currently conversion to complete. My problem is, that…
Simon
  • 83
  • 8
0
votes
1 answer

'Undefined' Exception in using external npm module in node-red with global context

I am trying to use a npm module in node-red, after doing some research I came accross the use of global context and so I did the following: Added a require in setting.js file of my node-red directory like so: functionGlobalContext: {…
Akheloes
  • 1,352
  • 3
  • 11
  • 28
0
votes
1 answer

Node-Red Multiple outputs into CSV

I have multiple Modbus variables that I am trying to store on my local disk. My function script is as follows: var msgPortBus,msgStbdBus; if (msg.topic === 'BusVolts') { msgPortBus = { payload: msg.payload.Port.Bus.Volts, }; msgStbdBus = {…
Infernez
  • 73
  • 7
0
votes
0 answers

Custom palette in embedded node-red not imported

I need to embed Node-red in express, I've used this guide and it works. Unfortunately, I can't import custom nodes. I try to import all dependencies in "package.json" of express as suggested in the guide, but it doesn't works. If I start only…
0
votes
1 answer

Heroku is reseting the node-red app data

I'm developing an college project to read data from an sensor remotely. I made an application with node-red to be served by Heroku. It has runned perfectly but from times to times the "flow" goes away and the aplication resets the SENSOR DATA. So…
Henrique
  • 35
  • 2
  • 8