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.

0
votes
0answers
27 views

Getting values from mysql database through ssh through nodered

I am trying to get some value from my mysql database through node-red exec command through ssh - see flow below. the following command works if i am directly logged in ssh terminal: mysql -u root -...
-2
votes
1answer
30 views

How to connect available application such as MQTT Dashboard, IOT MQTT Panel, … to IBM BlueMix

I'm a student and I have a small IOT project at my university. I tried to connect MQTT Dash to IBM BlueMix IOT Flatform but failed. I can't publish/subscribe data on IBM IOT Platform. What do iI need ...
0
votes
0answers
22 views

How to set up an api for the IBM cloud services to access a node-red dashboard

I would like to set up a oauth access for a node-red deployed on bluemix and access a multiuser dashboard. I think it should be done via the IBM Cloud Function API and use IBM Cloud App ID to protect ...
0
votes
0answers
34 views

Azure event hub stops receiving data on Node-red

I've been running a flow in node-red to capture the data in an Event Hub set in Azure to display it in a dashboard, and most of the times works well. The node and the set up is pretty similar to the ...
0
votes
0answers
17 views

Starting the node red

I would like to retrieve values that I send from a raspberry to my ubuntu PC with the MQTT protocol. For that I want to use node red with influxdb. As a result I installed node red on ubuntu but when ...
-2
votes
0answers
16 views

NODE-RED READ ONLY THE FIRST SIGNAL AND THEN STOP UNTIL RESET BUTTON IS PRESSED

I have the fallowing problem: two input signal (sig1 and sig2). The input signal comes between 0.1 and 0.5 seconds one after another. The way that they come is random. I want to let only fhe first ...
0
votes
1answer
16 views

How to fix “XLSX.utils.json_to_sheet is not a function” error?

I did a js script to transform a JSON object to an excel file. The script works when I execute it in command line with a mock JSON object, but when I call it from the node "file function" of node-red, ...
0
votes
1answer
26 views

Is there a way to set parent device while creating an Azure IoT Hub device using node-red?

I am using node red (node-red-contrib-azure-iot-hub) to register the new devices on Azure IoT Hub. The 'Azure IoT Hub Registry' node allows to register new IoT device. I want to set a Parent Device ...
0
votes
1answer
22 views

How to create multipart HTTP request in Node-RED

I'm trying to send a multipart request with the following form-data: ------WebKitFormBoundaryjFqPRXY6RQpdTRvE Content-Disposition: form-data; name="file"; filename="Sample.csv" Content-Type: ...
0
votes
0answers
15 views

Reverse proxy on Android

I’m trying to remotely access NR installed on an Android device connected to the internet through cellular. External IP as one can expect is changing all the time. And all the custom ports are blocked....
-1
votes
1answer
35 views

How to mimic an unexpected failure (availability and latency) on MQTT broker and client

I am up to do a simple experiment on MQTT such that if either the broker or the client is unexpectedly unavailable or there is very high latency, a trigger would be fired. I consider the relationship ...
1
vote
0answers
34 views

Saving HTML Table Object(s)

Blocked out the data for personal reasons. Essentially I am passing images from a MongoDB to NodeRed and parsing the actual image file back to base64 to create a set of up to 100 images (records) and ...
0
votes
1answer
15 views

Node-Red detect dashboard page visit

How can I get node-red to detect that the dashboard UI page has been visited, i.e. someone is looking at the page. I say this be cause I would then send more frequent updates to the dashboard then ...
0
votes
1answer
22 views

How to scrap websites in Node-red

I need to scrap a website in Node-red, but I'm not sure about how I should do it. I know how to scrap websites in Google Spreadsheets, but I don't know how to do the same with the html node in node-...
-1
votes
1answer
42 views

How to send the information of the (Wi-Fi) connected device to my website [closed]

I am working for a project within my company where I am doing an internship(I am still a beginner!). I have to make an online attendee list by recognizing the wifi presence of a telephone / laptop of ...
-3
votes
1answer
40 views

How to send json data to flask backend using node-red

I am trying to send some output from node-red as a JSON object to the backend which is using Flask. In the backend, my aim is to convert the JSON data to a .dot format and save the file locally. I ...
0
votes
1answer
12 views

Basic Card is not displayed in the Google action simulator console, and also not on my iPhone using google assistant

Basic Card is not displayed in the Google action simulator console, and also not on my iPhone using Google Assistant Here is the JSON code I send : { "expectUserResponse": true, "...
-1
votes
0answers
29 views

How to rename file in Node-RED Javascript function node

I am trying to send data to the Azure Blob Storage service using Node-RED. In the future this data should be sent every 5 seconds but at the moment I am trying to keep it simple. Basically I am ...
0
votes
0answers
21 views

Node-red dashboard login sign in/out simultaneously in all devices

I've added login to my dashboard using the flow below, It works fine "if you use only one device", but I tried to sign in from another device and I found my self already signed in although I didn't, I ...
-1
votes
1answer
22 views

Unable to implement webpack in project with node-red

I am trying to implement webpack in my project which contains node-red. However, I keep getting the following warning. Please suggest how to solve this error - WARNING in ./node_modules/node-red/red/...
0
votes
0answers
16 views

How can i get the Payload in a daemon node?

I'm a total beginner in Using Node-Red and nodeJS. Im trying to write nodejs code in an "daemon node" for handling my payload before sending it by MQTT to my nodejs Server. My Problem is: I can't get ...
0
votes
0answers
27 views

MQTT node causes Node-RED to lose connection to server

Node RED 0.20 stops and restarts as soon as I deploy after adding an MQTT node. I've tried MQTT in and output nodes - the result is the same. This is a RaspberryPi running OpenHabianPi 2.4.0.1. The ...
0
votes
0answers
36 views

Node Red smart Thermostat

I need help with increments in Node Red (on Raspberry Pi). I am trying to make a smart thermostat with a LCD touchscreen and an app for remote access (ex. coming home on a cold winter day and want to ...
0
votes
0answers
26 views

How to use OPCUA Browser and Template nodes together

I want to connect to OPCUA server and get the data on the dashboard. For the solution, I am using OPCUA Browser node and the template node. But I don't know how to browse the data. When I deploy it, ...
0
votes
0answers
33 views

How to fix UnicodeDecodeError: 'utf-32-le' codec can't decode bytes in position 16-19 when trying to run python3 function in node-red

I'm trying to run an empty python3 function (only return msg is in it) in node-red with the node 'node-red-contrib-python3-function', but I get the error mentioned in the title. I have Python 3.7.3 ...
1
vote
1answer
30 views

Delete By Query API working as curl but not in Node-Red

Background: What I am trying to achieve is to delete multiple values from elastic using a single API call. Our app uses Node-Red to create the backend API's. I am using below curl command to delete ...
0
votes
0answers
25 views

Authentification information (header) for HTTP Request not given in correct format in Node-RED

I am trying to send data to my Azure Blob Storage Account using HTTP Requests in Node-RED- The GET-Request works fine cause it doesn't need authentication. My problem is the PUT-Request. I am not sure ...
0
votes
1answer
35 views

mqtt receiver not getting data

I'm a beginner in MQTT, I think I have misunderstand the concept. I have published a message (ex:m1001) using node red with QOS 1 & 2, the broker received the message. At that time either the ...
0
votes
0answers
23 views

Authentication for HTTP Request in Node-RED

I am trying to use the PUT Request in Node-RED in order to save data into my Azure Blob Storage account. The GET Request works perfectly fine but the rest just send message errors. I have found out ...
0
votes
1answer
39 views

Node-RED parse json received from wikimedia api

I'm new to node-red and want to parse content received from wikipedia api. I send requests to the query endpoint: https://en.wikipedia.org/w/api.php?action=query&titles={{{query}}}&prop=...
0
votes
1answer
31 views

how to add 'node-red-node-pi-sense-hat' in Node-Red?

I've been trying to use sense hat on my Windows 10 computer. But when I try to install it on node red I get the error all the time. there are some explanations on the error log but I don't really ...
0
votes
0answers
22 views

Node red crash after a few minutes from start

When i start node-red, after few second it crashes and I've got this error: - [red] Uncaught Exception - Error: write after end what can i do for fix it? Thanks!
0
votes
2answers
59 views

how to stop setInterval in JS in node-red..?

I'm trying to code a function node in node-red which will give output as increasing numbers by 1 for every second when get msg.paylaod true from inject node and stop when get msg.payload "false" from ...
0
votes
1answer
22 views

Is there a way to have a gpio output 1 when two nodes are outputting 1 into it?

I'm working on a security system with my raspberry pi and node-red. I have an infrared sensor outputting 1 when motion is detected, 0 when no motion is detected. I also have a switch with the pallete ...
0
votes
1answer
32 views

SQL SYNTAX (node red)

in node red I send the data taken from a plc, through this function : msg.topic = `insert into plc_valori_tag(numero_macchina, tag_macchina, valore_tag, data) values ( '5', 'stato_macchina', ${msg....
0
votes
1answer
19 views

how to transfer data from Node-RED (message.payload) to Azure Blob Storage?

I have a python script that retrieves data from a smart plug (to monitor energy consumption from devices). My end goal is to analyze this data with Stream Analytics and therefore I need to send it to ...
0
votes
1answer
31 views

Nested elasticsearch GET requests through node-red

I have elasticsearch 6.7 running on a CentOs 7 machine, and I have node-red running from where I try to query the elastic search. Using the httprequest node (in node-red) works great when I need to ...
-2
votes
0answers
25 views

What ui tool node red flow is developed from?

I am planning to include a ui tool that has flow in my Visual studio MVC project and would like to know wht ui tool node red flow is developed from.
0
votes
2answers
40 views

Unable to connect Node-Red running locally with Watson IoT platform on IBM Cloud

I am unable to connect to the Watson IoT platform from a Node Red installed locally on my system. I have installed the ibmiot node. In connection details, I selected Authentication as "API Key". In ...
0
votes
1answer
121 views

how to get a text from an user of google assistant, and response something from a sqlite db

I want to make a 'question & answer' module using an express server and a sqlite db based on my vps webhook. What is the correct way? Thanks so far i've setup (without success) something like: ...
-4
votes
0answers
23 views

Node-Red & MySql connection failed ( not supported authentication protocol )

At first, I have a Simatic IOT2040 on which is running the Node-Red server. I want to make a MySql connection with my localhost server from my PC. To be able to access my external database, I have ...
0
votes
0answers
30 views

Node-red injects only some variables through OPC-UA

I want my node-red flow to do something like this: check offset (my app's variable), this works check text (my app's variable) and make a SQL query of it, this works assign query result to variables ...
0
votes
0answers
30 views

How to use Telnet-Client packet in Node-red?

Using the Telnet-Client package, trying to log in a media player for the control and getting information from it. The player needs to type in a password to log in and start the Telnet. Manual Telnet ...
0
votes
1answer
28 views

Injecting many payloads at once (node-red)

I have a problem. I'm new to node red, I want to inject many payloads with different topics at once. I wanted to do it with function like in first node. It's function looks like so: msg.topic="ns=2;s=...
0
votes
1answer
35 views

How to pass ObjectID as query parameter in node-red to mongodb?

I am using node-red-contrib-monggodb3 and having troubles to pass an ObjectId as an argument, not being able to use a MongoDB auto-generated _id, is there any way to use "_id": 'ObjectId("myID")' as ...
0
votes
1answer
32 views

How to sum multiple inputs?

I'm trying to read out 5 microswitches in LuvitRED (other form of node-red). To be useful in the rest of the program, the 5 sensors should come together into 1 integer. The image above is the layout ...
0
votes
1answer
15 views

Import flow via CLI on Node-RED under Docker

I have a Node-RED server that i need to be under docker following this docs: https://nodered.org/docs/platforms/docker#customising But after running: docker run -it -p 1880:1880 --name mynodered ...
0
votes
1answer
24 views

Query result to variable(Node red)

I have a problem, I want to move value of Object[0] nazwa, which is a result of query (let's say "ab" in this case) to another variable, however I'm new to red node and JS, so I don't know how to do ...
0
votes
0answers
14 views

How node-red interact with ActiveMQ?

I want to do an example, consume data from the ActiveMQ queue, and also can generate data into the ActiveMQ queue, but I have not found a suitable solution, I need everyone's help.
0
votes
0answers
21 views

Trying to respond to Slack depending on response other API

I'm have difficulties of responding to Slack using Node Red. The response should wait on the response of another REST call. I guess I need something with async await? But I can't figure out how to ...

http://mssss.yulina-kosm.ru