# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=804

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 805

---

## [Serial Input node =\> different output depend on ID](https://discourse.nodered.org/t/serial-input-node-different-output-depend-on-id/20720)

<div class="topic-metadata">

**Author:** [@dani\_89](https://discourse.nodered.org/u/dani_89)\
**Replies:** 6\
**Last updated:** [22 January 2020 14:50 UTC](https://discourse.nodered.org/t/serial-input-node-different-output-depend-on-id/20720 "2020-01-22T14:50:49Z")

</div>

Hello, I'm relatively new to node red, but im still using it for some communication from / to my home automation system. Now, i want to attach a serial device, which is similar to an modbus device. If it is connected t…

---

## [Regression Node - Help](https://discourse.nodered.org/t/regression-node-help/20597)

<div class="topic-metadata">

**Author:** [@Mich](https://discourse.nodered.org/u/Mich)\
**Replies:** 12\
**Last updated:** [22 January 2020 13:53 UTC](https://discourse.nodered.org/t/regression-node-help/20597 "2020-01-22T13:53:14Z")

</div>

Here is my problem: I'm trying to set up a flow where I receive temperature data from my connected Photon, and then based on the temperature data calculate the linear regression. I just cannot for the life of me figure …

---

## [Node-red-contrib-iiot-opcua with certificat](https://discourse.nodered.org/t/node-red-contrib-iiot-opcua-with-certificat/20721)

<div class="topic-metadata">

**Author:** [@oli.nodered](https://discourse.nodered.org/u/oli.nodered)\
**Replies:** 0\
**Last updated:** [22 January 2020 11:45 UTC](https://discourse.nodered.org/t/node-red-contrib-iiot-opcua-with-certificat/20721 "2020-01-22T11:45:17Z")

</div>

Bonjour i use node-red-contrib-iiot-opcua with M262 PLC of Schneider and it works properly. Now i want and i need to use the secure mode with the certificat and i want to know where i must put the certifcat file in my …

---

## [Parsing ASCII Text - Resolved](https://discourse.nodered.org/t/parsing-ascii-text-resolved/20703)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 9\
**Last updated:** [22 January 2020 11:35 UTC](https://discourse.nodered.org/t/parsing-ascii-text-resolved/20703 "2020-01-22T11:35:58Z")

</div>

I am receiving data formated as ASCII text as follows: 65,90,58,49,50,57,46,57,13 ; which means AZ:129.9 Using the Node-Red "text" ui node, it converts the message code to decimal as shown above. Good. I want to use…

---

## [Synchronized msg in flow , one by one](https://discourse.nodered.org/t/synchronized-msg-in-flow-one-by-one/20716)

<div class="topic-metadata">

**Author:** [@erezasmra](https://discourse.nodered.org/u/erezasmra)\
**Replies:** 5\
**Last updated:** [22 January 2020 09:54 UTC](https://discourse.nodered.org/t/synchronized-msg-in-flow-one-by-one/20716 "2020-01-22T09:54:51Z")

</div>

hello all, I really newbie in node-red, my question is ... I got a flow that received event msg, I want that every msg finish the flow and after a new msg start the flow. tnx a lot , for example msg start ----\>msg…

---

## [Running Node-Red Server as a Service](https://discourse.nodered.org/t/running-node-red-server-as-a-service/20666)

<div class="topic-metadata">

**Author:** [@Yep](https://discourse.nodered.org/u/Yep)\
**Replies:** 5\
**Last updated:** [22 January 2020 00:54 UTC](https://discourse.nodered.org/t/running-node-red-server-as-a-service/20666 "2020-01-22T00:54:59Z")

</div>

Hello, I have created a node-red program to send emails and text messages, it is all working fine and is about to be uploaded to its own little server. My question is, is there a way to run it as a service on the serve…

---

## [File transfers fail because of file size - buffer limit?](https://discourse.nodered.org/t/file-transfers-fail-because-of-file-size-buffer-limit/20601)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 23\
**Last updated:** [21 January 2020 22:31 UTC](https://discourse.nodered.org/t/file-transfers-fail-because-of-file-size-buffer-limit/20601 "2020-01-21T22:31:53Z")

</div>

Hello my friends, I ve a problem with file synconisation and bigger files. (Node red freezes and restarts) I tried to sync a 50MB file form Nextcoud / WebDav (@kuehnelbs/node-red-contrib-nextcloud) and my raspi started…

---

## [Http request node and response](https://discourse.nodered.org/t/http-request-node-and-response/20695)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 1\
**Last updated:** [21 January 2020 19:18 UTC](https://discourse.nodered.org/t/http-request-node-and-response/20695 "2020-01-21T19:18:21Z")

</div>

I am busy with adressing all sort off exceptions, debug ad status codes for troubleshooting my project. I have a simple http request node where i do a post like: https://user pwd@ip:1880/test I try to read the responc…

---

## [Bigtimer questions](https://discourse.nodered.org/t/bigtimer-questions/20692)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 3\
**Last updated:** [21 January 2020 18:49 UTC](https://discourse.nodered.org/t/bigtimer-questions/20692 "2020-01-21T18:49:21Z")

</div>

Bigtimer is kind of big monster and have tons of options, I didn't find a good documents for it. Some questions: for dawn dusk night nightend, what exactly is the definition? if repeat is check, it sends payload every …

---

## [Aggregating sensor data with time stamp to save in excel](https://discourse.nodered.org/t/aggregating-sensor-data-with-time-stamp-to-save-in-excel/20629)

<div class="topic-metadata">

**Author:** [@Jonathan95](https://discourse.nodered.org/u/Jonathan95)\
**Replies:** 12\
**Last updated:** [21 January 2020 15:56 UTC](https://discourse.nodered.org/t/aggregating-sensor-data-with-time-stamp-to-save-in-excel/20629 "2020-01-21T15:56:11Z")

</div>

Hi All, Glad to be here and part of the community. I had been getting stuck into Node Red for a few weeks now but it seems I am now stuck. So I have 8 sensor values coming in from an Arduino using MQTT. These are just…

---

## [Device update/Dashboard/MQTT](https://discourse.nodered.org/t/device-update-dashboard-mqtt/20654)

<div class="topic-metadata">

**Author:** [@New2Node](https://discourse.nodered.org/u/New2Node)\
**Replies:** 8\
**Last updated:** [21 January 2020 15:21 UTC](https://discourse.nodered.org/t/device-update-dashboard-mqtt/20654 "2020-01-21T15:21:43Z")

</div>

I’ve setup a dashboard that I want to display the statues of a device I.e. “Online” or “Offline” I have a MQTT broker which the device is registered to. When I press the “Status” button on the dashboard it publishes a m…

---

## [New Switch not available in Node-Red](https://discourse.nodered.org/t/new-switch-not-available-in-node-red/20658)

<div class="topic-metadata">

**Author:** [@AkaMrBill](https://discourse.nodered.org/u/AkaMrBill)\
**Replies:** 1\
**Last updated:** [21 January 2020 15:10 UTC](https://discourse.nodered.org/t/new-switch-not-available-in-node-red/20658 "2020-01-21T15:10:53Z")

</div>

I'm fairly new to Node-Red, but not a complete novice. I have successfully created a few automation flows that work quite well. I just installed a new Sonoff TX 2 channel switch, which I flashed with Tasmota, in our ret…

---

## [MQTT Additional Header/Payload](https://discourse.nodered.org/t/mqtt-additional-header-payload/20669)

<div class="topic-metadata">

**Author:** [@crolshoven](https://discourse.nodered.org/u/crolshoven)\
**Replies:** 4\
**Last updated:** [21 January 2020 11:15 UTC](https://discourse.nodered.org/t/mqtt-additional-header-payload/20669 "2020-01-21T11:15:42Z")

</div>

Hi guys, First time working with MQTT and I'm excited how easy it was to setup the broker and configure 2 Clients in Node-Red to connect. First a general question: Is it possible to send more than the "payload" via MQT…

---

## [Can we create a survey engine in nodered?](https://discourse.nodered.org/t/can-we-create-a-survey-engine-in-nodered/20672)

<div class="topic-metadata">

**Author:** [@chandu](https://discourse.nodered.org/u/chandu)\
**Replies:** 1\
**Last updated:** [21 January 2020 09:38 UTC](https://discourse.nodered.org/t/can-we-create-a-survey-engine-in-nodered/20672 "2020-01-21T09:38:57Z")

</div>

Is there a possibility that we can create a survey engine (medical purposes), something which will take inputs from users in form fields in an app and scheduling questions for the upcoming days? Thanks in advance for an…

---

## [Help me pls with adding Mi purifier to Homekit](https://discourse.nodered.org/t/help-me-pls-with-adding-mi-purifier-to-homekit/20665)

<div class="topic-metadata">

**Author:** [@nicktodorov](https://discourse.nodered.org/u/nicktodorov)\
**Replies:** 0\
**Last updated:** [21 January 2020 00:11 UTC](https://discourse.nodered.org/t/help-me-pls-with-adding-mi-purifier-to-homekit/20665 "2020-01-21T00:11:33Z")

</div>

Hello, I am completely new to Node-Red and I am trying to configure node-red-contrib-mi-air-purifier-3. I was able to make it control my purifier by clicking the inject nodes. I was also able to somehow add Homekit no…

---

## [Add mathjs to node red](https://discourse.nodered.org/t/add-mathjs-to-node-red/20651)

<div class="topic-metadata">

**Author:** [@sondre](https://discourse.nodered.org/u/sondre)\
**Replies:** 4\
**Last updated:** [20 January 2020 23:09 UTC](https://discourse.nodered.org/t/add-mathjs-to-node-red/20651 "2020-01-20T23:09:43Z")

</div>

Hi Is it posible til add mathjs to node-red? I installed mathjs with npm and tried to add/enabled it in the settings.js fil Blockquote Started Node-RED graphical event wiring tool. Error loading settings file: /hom…

---

## [Why does my or statement not work](https://discourse.nodered.org/t/why-does-my-or-statement-not-work/20645)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 3\
**Last updated:** [20 January 2020 18:33 UTC](https://discourse.nodered.org/t/why-does-my-or-statement-not-work/20645 "2020-01-20T18:33:42Z")

</div>

Why does my OR statement does not work? i used the spec on https://www.w3schools.com/js/js\_operators.asp \[{"id":"5457b775.aa9b78","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"472566a8.d19fa8","type…

---

## [Message queue node that can be indexed](https://discourse.nodered.org/t/message-queue-node-that-can-be-indexed/20555)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 33\
**Last updated:** [20 January 2020 18:00 UTC](https://discourse.nodered.org/t/message-queue-node-that-can-be-indexed/20555 "2020-01-20T18:00:13Z")

</div>

Problem: small screen. Can only display 1 message. Big size of messages to queue I want the node to store/queue messages. If it gets a next command, it shows the next message. If it gets a previous command, it sho…

---

## [Login problem Help](https://discourse.nodered.org/t/login-problem-help/20639)

<div class="topic-metadata">

**Author:** [@Lavio](https://discourse.nodered.org/u/Lavio)\
**Replies:** 6\
**Last updated:** [20 January 2020 17:45 UTC](https://discourse.nodered.org/t/login-problem-help/20639 "2020-01-20T17:45:10Z")

</div>

\[{"id":"2cb0b5ff.4c045a","type":"function","z":"ea862e4d.78d9a","name":"s\_m\_3","func":" s\_m\_3=global.get("s\_m\_3")\\n switch(s\_m\_3){\\n case 0:\\n vermelho = {payload:false};\\n amarelo = {payload:true}…

---

## [Telegram error when sending message](https://discourse.nodered.org/t/telegram-error-when-sending-message/20237)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 11\
**Last updated:** [20 January 2020 16:34 UTC](https://discourse.nodered.org/t/telegram-error-when-sending-message/20237 "2020-01-20T16:34:45Z")

</div>

I posted this in home assistant forum, it's actually a purely node red and telegram, nothing to do with home assistant: Does anyone have similar experience and how to fix it? Thanks.

---

## [No response object with http in / http out](https://discourse.nodered.org/t/no-response-object-with-http-in-http-out/3173)

<div class="topic-metadata">

**Author:** [@johntalbott](https://discourse.nodered.org/u/johntalbott)\
**Replies:** 6\
**Last updated:** [20 January 2020 14:32 UTC](https://discourse.nodered.org/t/no-response-object-with-http-in-http-out/3173 "2020-01-20T14:32:34Z")

</div>

I'm new to node-red and testing a function node to return data from sql server via sequelize and http input / http output nodes. Data is returned to the function. My impression is that node.send is to be used for aync …

---

## [Advise in using globals, flow vars en msg content](https://discourse.nodered.org/t/advise-in-using-globals-flow-vars-en-msg-content/20564)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 2\
**Last updated:** [20 January 2020 13:35 UTC](https://discourse.nodered.org/t/advise-in-using-globals-flow-vars-en-msg-content/20564 "2020-01-20T13:35:56Z")

</div>

Hi, my management console is finished, and runs flawlessly and stably with node-red, mqtt, and various domoticz servers with rpis in the wan. I have some questions about the proper use of variables and to learn how to p…

---

## [(Help with ws stream) ffmpeg and node-red](https://discourse.nodered.org/t/help-with-ws-stream-ffmpeg-and-node-red/20622)

<div class="topic-metadata">

**Author:** [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Replies:** 0\
**Last updated:** [20 January 2020 11:46 UTC](https://discourse.nodered.org/t/help-with-ws-stream-ffmpeg-and-node-red/20622 "2020-01-20T11:46:31Z")

</div>

I want to use this ffmpeg command "ffmpeg -f rtsp -i" rtsp: // user: pass @ host: 554 / cam / realmonitor " -f mpegts -codec: v mpeg1video http://127.0.0.1:8081/password " My goal is to create a stream via websocket. …

---

## [Editing \`function\` nodes. Weird happening with cursor](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [20 January 2020 11:39 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593 "2020-01-20T11:39:17Z")

</div>

I am editing a function node. I double click on it and I see this: Note how the function part has a grey line and the cursor is there. Though you can't see it: it is blinking. Yet, when I start to type, the stuff I…

---

## [FTP - cleartext session \<\< problem](https://discourse.nodered.org/t/ftp-cleartext-session-problem/20612)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 3\
**Last updated:** [20 January 2020 10:24 UTC](https://discourse.nodered.org/t/ftp-cleartext-session-problem/20612 "2020-01-20T10:24:41Z")

</div>

I've revisited a NR-flow that uploads a photo from a RPi-camera to a remote server on my ISP. I had the flow working fine some months ago - but now it gives this error message. Here's a simple test flow, using node-red…

---

## [Good usage of context.flow](https://discourse.nodered.org/t/good-usage-of-context-flow/20613)

<div class="topic-metadata">

**Author:** [@etawyy](https://discourse.nodered.org/u/etawyy)\
**Replies:** 4\
**Last updated:** [20 January 2020 09:56 UTC](https://discourse.nodered.org/t/good-usage-of-context-flow/20613 "2020-01-20T09:56:09Z")

</div>

I have a flow with lots of nodes and calls to my DBs, and I need to use at the end of the flow a field that was pulled from a DB at the beginning of the flow. So far I have been passing the value all along the message f…

---

## [TypeError: Cannot read property 'id' of undefined](https://discourse.nodered.org/t/typeerror-cannot-read-property-id-of-undefined/20599)

<div class="topic-metadata">

**Author:** [@juanes](https://discourse.nodered.org/u/juanes)\
**Replies:** 6\
**Last updated:** [20 January 2020 08:26 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-id-of-undefined/20599 "2020-01-20T08:26:27Z")

</div>

I'm quite new to NodeRed. I'm trying to update a MySQL database using HTTP. I'm using Postman as an HTTP client, sending a PUT request as follows: The JSON outputted by the HTTP PUT request node is transformed to …

---

## [The pallette - suggestion about collapsing groups](https://discourse.nodered.org/t/the-pallette-suggestion-about-collapsing-groups/20608)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [20 January 2020 03:57 UTC](https://discourse.nodered.org/t/the-pallette-suggestion-about-collapsing-groups/20608 "2020-01-20T03:57:51Z")

</div>

Ok, you can collapse a group to reduce seeing that when scrolling through the nodes. My subflow list is getting quite big. I collapse it and it is good. But then I search for a node. The node becomes visible and I dr…

---

## [WIFI lamp module recommendations](https://discourse.nodered.org/t/wifi-lamp-module-recommendations/20475)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 24\
**Last updated:** [20 January 2020 03:39 UTC](https://discourse.nodered.org/t/wifi-lamp-module-recommendations/20475 "2020-01-20T03:39:31Z")

</div>

My needs right now are for a non dimmable, non colour changing simple on / off wifi lamp module. Looked at several different ones but thought I'd see if anyone has an opinion about what was best or worst or experiences u…

---

## [The little red triangles on nodes indicating an error](https://discourse.nodered.org/t/the-little-red-triangles-on-nodes-indicating-an-error/20594)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [19 January 2020 20:18 UTC](https://discourse.nodered.org/t/the-little-red-triangles-on-nodes-indicating-an-error/20594 "2020-01-19T20:18:45Z")

</div>

I am (attempting to write some code in a function node. All being good and no errors shown, I click the ok button. I see an error triangle on the node. Opening the node again, I still don't see any errors. Kinda …

[Previous page](https://discourse.nodered.org/c/general/7.md?page=803)

[Next page](https://discourse.nodered.org/c/general/7.md?page=805)
