# General

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

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

**Page:** 751

---

## [Getting raw data from TTN Uplink node](https://discourse.nodered.org/t/getting-raw-data-from-ttn-uplink-node/25997)

<div class="topic-metadata">

**Author:** [@spark57](https://discourse.nodered.org/u/spark57)\
**Replies:** 37\
**Last updated:** [11 May 2020 20:02 UTC](https://discourse.nodered.org/t/getting-raw-data-from-ttn-uplink-node/25997 "2020-05-11T20:02:11Z")

</div>

I am getting a full frame \[51B\] of raw bytes from a device connected to TTN. For that purpose, an Uplink TTN node is connected to TTN in Node-Red screen. If I pass the results directly to the debug node, I can see the c…

---

## [Node-red crashes after "Started flows". Uncaught Exception : EADDRNOTAVAIL port 502](https://discourse.nodered.org/t/node-red-crashes-after-started-flows-uncaught-exception-eaddrnotavail-port-502/26478)

<div class="topic-metadata">

**Author:** [@kumarsemal](https://discourse.nodered.org/u/kumarsemal)\
**Replies:** 6\
**Last updated:** [11 May 2020 18:57 UTC](https://discourse.nodered.org/t/node-red-crashes-after-started-flows-uncaught-exception-eaddrnotavail-port-502/26478 "2020-05-11T18:57:44Z")

</div>

I am unable to run node-red on my computer. This throws an error while starting NR. I uninstalled node.js and npm both and reinstalled again but the problem persists. Please tell me how to overcome this so that my node-r…

---

## [Exec Node and Terminal Problem ( Alsa)](https://discourse.nodered.org/t/exec-node-and-terminal-problem-alsa/24980)

<div class="topic-metadata">

**Author:** [@m4rten](https://discourse.nodered.org/u/m4rten)\
**Replies:** 19\
**Last updated:** [11 May 2020 18:28 UTC](https://discourse.nodered.org/t/exec-node-and-terminal-problem-alsa/24980 "2020-05-11T18:28:57Z")

</div>

Hello everyone, i try to play music with the raspberry and also play random sound effects at the same time. i followed this tutorial: http://pacmans-revenge.blogspot.com/2018/08/raspberry-pi-bluetooth-speakers.html bu…

---

## [Can't receive error from node Node-red-contrib-mssql-plus](https://discourse.nodered.org/t/cant-receive-error-from-node-node-red-contrib-mssql-plus/26290)

<div class="topic-metadata">

**Author:** [@R-sa](https://discourse.nodered.org/u/R-sa)\
**Replies:** 10\
**Last updated:** [11 May 2020 17:27 UTC](https://discourse.nodered.org/t/cant-receive-error-from-node-node-red-contrib-mssql-plus/26290 "2020-05-11T17:27:03Z")

</div>

In Node-Red V1.0.6 Node.js V12.16.3 I update Node-red-contrib-mssql to Node-red-contrib-mssql-plus(V 0.4.3) by use nmp uninstall. It can connect and receive data from SQL correctly. But when error occur node status stu…

---

## [Node-Red Install Issue - Unable to get issuer cert locally](https://discourse.nodered.org/t/node-red-install-issue-unable-to-get-issuer-cert-locally/9964)

<div class="topic-metadata">

**Author:** [@jch360](https://discourse.nodered.org/u/jch360)\
**Replies:** 2\
**Last updated:** [12 April 2019 15:25 UTC](https://discourse.nodered.org/t/node-red-install-issue-unable-to-get-issuer-cert-locally/9964 "2019-04-12T15:25:04Z")

</div>

I am trying to install Node-Red, I have installed many versions of Node.js to resolve the issue with no success. This is the errors I receive in powershell and cmd prompt. npm install -g --unsafe-perm node-red npm ERR!…

---

## [Node-Red in IBM Cloud](https://discourse.nodered.org/t/node-red-in-ibm-cloud/26492)

<div class="topic-metadata">

**Author:** [@Hautsi](https://discourse.nodered.org/u/Hautsi)\
**Replies:** 4\
**Last updated:** [11 May 2020 16:40 UTC](https://discourse.nodered.org/t/node-red-in-ibm-cloud/26492 "2020-05-11T16:40:14Z")

</div>

Hi, I'm having problems with running Node-Red in IBM Cloud. It keeps crashing and after when I try to enter Node-Red instance it says "Welcome to your new Node-RED instance in IBM Cloud" and ask me to create new usernam…

---

## [Is node-red the right tool for me](https://discourse.nodered.org/t/is-node-red-the-right-tool-for-me/26490)

<div class="topic-metadata">

**Author:** [@bbesCode](https://discourse.nodered.org/u/bbesCode)\
**Replies:** 10\
**Last updated:** [11 May 2020 16:22 UTC](https://discourse.nodered.org/t/is-node-red-the-right-tool-for-me/26490 "2020-05-11T16:22:28Z")

</div>

Hi, I want to build a little smarthome project with standard REST service, an android app and what I need now is to decide whether I want mqtt for the MCU-communication. Is node-red the tool to do exactly that? if not, d…

---

## [Protobuf help with decoding a message](https://discourse.nodered.org/t/protobuf-help-with-decoding-a-message/26435)

<div class="topic-metadata">

**Author:** [@freddyrm](https://discourse.nodered.org/u/freddyrm)\
**Replies:** 4\
**Last updated:** [11 May 2020 14:27 UTC](https://discourse.nodered.org/t/protobuf-help-with-decoding-a-message/26435 "2020-05-11T14:27:48Z")

</div>

Hello everyone, I am pretty new with protocol buffer and need to get a message from a device that uses this kind of communication mean. I am using protobuf-fixed (last updated) node to get an http post containing the …

---

## [How to change time from message payload](https://discourse.nodered.org/t/how-to-change-time-from-message-payload/26442)

<div class="topic-metadata">

**Author:** [@tstill88](https://discourse.nodered.org/u/tstill88)\
**Replies:** 11\
**Last updated:** [11 May 2020 14:15 UTC](https://discourse.nodered.org/t/how-to-change-time-from-message-payload/26442 "2020-05-11T14:15:21Z")

</div>

I have a HomeAssistant automation that writes the date and time to a sensor when i press an RF button. So i have that node in NR and use the current\_state node to read. It outputs the message as msg.payload (as below) 2…

---

## [Correct json notation?](https://discourse.nodered.org/t/correct-json-notation/26466)

<div class="topic-metadata">

**Author:** [@haskle](https://discourse.nodered.org/u/haskle)\
**Replies:** 5\
**Last updated:** [11 May 2020 13:49 UTC](https://discourse.nodered.org/t/correct-json-notation/26466 "2020-05-11T13:49:15Z")

</div>

Hello - very much a NR newbie. I want to make a HomeBridge compatable light come on when the drive gate opens, but I can't work out what the correct notation is within a change node. To test things I have created this …

---

## [How to access the individual serial port data buffer bytes and send a reply?](https://discourse.nodered.org/t/how-to-access-the-individual-serial-port-data-buffer-bytes-and-send-a-reply/26403)

<div class="topic-metadata">

**Author:** [@Waled22](https://discourse.nodered.org/u/Waled22)\
**Replies:** 18\
**Last updated:** [11 May 2020 12:52 UTC](https://discourse.nodered.org/t/how-to-access-the-individual-serial-port-data-buffer-bytes-and-send-a-reply/26403 "2020-05-11T12:52:57Z")

</div>

Hi, I am getting the hex commands from the device through serial in node as can be seen in the picture attached. The buffer contains the five bytes. I want to do the following things and looking forward to your sugge…

---

## [How to get the flowId in the flow?](https://discourse.nodered.org/t/how-to-get-the-flowid-in-the-flow/26453)

<div class="topic-metadata">

**Author:** [@Jack](https://discourse.nodered.org/u/Jack)\
**Replies:** 5\
**Last updated:** [11 May 2020 10:58 UTC](https://discourse.nodered.org/t/how-to-get-the-flowid-in-the-flow/26453 "2020-05-11T10:58:47Z")

</div>

I want to get flowId in my flow, which are used as key to store process error information into the database. Is there any way to do it, such as flow.get("flowId") or?

---

## [Node-red project: Cannot pull from remote when repository is private](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473)

<div class="topic-metadata">

**Author:** [@opatiny](https://discourse.nodered.org/u/opatiny)\
**Replies:** 8\
**Last updated:** [11 May 2020 10:03 UTC](https://discourse.nodered.org/t/node-red-project-cannot-pull-from-remote-when-repository-is-private/26473 "2020-05-11T10:03:38Z")

</div>

Hello, I recently started to use Node-red projects in order to have version control of my projects, and especially to be able to have my code in GitHub. For now, I had no problems with pushing to a GitHub repository. …

---

## [Selecting code when people paste code here](https://discourse.nodered.org/t/selecting-code-when-people-paste-code-here/26471)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 17\
**Last updated:** [11 May 2020 09:55 UTC](https://discourse.nodered.org/t/selecting-code-when-people-paste-code-here/26471 "2020-05-11T09:55:57Z")

</div>

(I've got to ask, because I can't believe no one else is thinking it) I appreciate that when you post code you put it like this: example code But if it is several k bytes in size, how is it done? For me, I have to cl…

---

## [How do I set headers without returning response yet?](https://discourse.nodered.org/t/how-do-i-set-headers-without-returning-response-yet/26467)

<div class="topic-metadata">

**Author:** [@ElleshaHackett](https://discourse.nodered.org/u/ElleshaHackett)\
**Replies:** 4\
**Last updated:** [11 May 2020 08:35 UTC](https://discourse.nodered.org/t/how-do-i-set-headers-without-returning-response-yet/26467 "2020-05-11T08:35:55Z")

</div>

I currently use msg.res.set('x', 'x'); which works fine except for the deprecation warnings "Deprecated call to msg.res.set". I could not find another way to do this without instantly returning response. What is the prop…

---

## [Question about sending email formatting for payload](https://discourse.nodered.org/t/question-about-sending-email-formatting-for-payload/26464)

<div class="topic-metadata">

**Author:** [@Thalios](https://discourse.nodered.org/u/Thalios)\
**Replies:** 4\
**Last updated:** [11 May 2020 08:17 UTC](https://discourse.nodered.org/t/question-about-sending-email-formatting-for-payload/26464 "2020-05-11T08:17:26Z")

</div>

Hello, new NodeRed player here. Having fun extracting data from my Duet 3 card on my 3D Printer to email me useful informations. So far, I have all I need, except the formatting of the data send in the email is horribl…

---

## [Array manipulation - build a new array based on the input from 3 arrays](https://discourse.nodered.org/t/array-manipulation-build-a-new-array-based-on-the-input-from-3-arrays/26336)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 5\
**Last updated:** [11 May 2020 07:48 UTC](https://discourse.nodered.org/t/array-manipulation-build-a-new-array-based-on-the-input-from-3-arrays/26336 "2020-05-11T07:48:50Z")

</div>

Hello I have 2 arrays returned from the two SQL servers. I would like to build a new array I will feed to the dashboard table which will show the comparison between result of the queries. I get to the point where I cre…

---

## [How to create Userwise Different Flows in Node Red?](https://discourse.nodered.org/t/how-to-create-userwise-different-flows-in-node-red/26459)

<div class="topic-metadata">

**Author:** [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Replies:** 3\
**Last updated:** [11 May 2020 06:40 UTC](https://discourse.nodered.org/t/how-to-create-userwise-different-flows-in-node-red/26459 "2020-05-11T06:40:01Z")

</div>

Can you please guide me how different user can create different flows and they can be stroed user wise?

---

## [Improving connection visibility](https://discourse.nodered.org/t/improving-connection-visibility/26436)

<div class="topic-metadata">

**Author:** [@notnice](https://discourse.nodered.org/u/notnice)\
**Replies:** 6\
**Last updated:** [11 May 2020 06:31 UTC](https://discourse.nodered.org/t/improving-connection-visibility/26436 "2020-05-11T06:31:50Z")

</div>

As my workflows become more complex, the connections have become more difficult to follow. Out-in virtual connections have helped in some places, but they can add more clutter. I have seen some threads on similar topics…

---

## [Insert into SQlite database?](https://discourse.nodered.org/t/insert-into-sqlite-database/26390)

<div class="topic-metadata">

**Author:** [@asdf123](https://discourse.nodered.org/u/asdf123)\
**Replies:** 13\
**Last updated:** [11 May 2020 00:14 UTC](https://discourse.nodered.org/t/insert-into-sqlite-database/26390 "2020-05-11T00:14:04Z")

</div>

Hi, I have 11 function node, which result the 11 different types of value, that I want to insert into my sqlite table. I'd like to know, how can I do that, because I always get an error. Here is my code: var newMsg = …

---

## [Cant launch node-red after last update](https://discourse.nodered.org/t/cant-launch-node-red-after-last-update/26444)

<div class="topic-metadata">

**Author:** [@d0d04m3](https://discourse.nodered.org/u/d0d04m3)\
**Replies:** 3\
**Last updated:** [10 May 2020 20:36 UTC](https://discourse.nodered.org/t/cant-launch-node-red-after-last-update/26444 "2020-05-10T20:36:29Z")

</div>

hi today update nodejs to latest version but I have truble cant node-red server start 10 May 19:50:54 - \[error\] Uncaught Exception: 10 May 19:50:54 - \[error\] Error: listen EACCES: permission denied 0.0.0.0:1880 a…

---

## [Flow to activate switch between certain hours](https://discourse.nodered.org/t/flow-to-activate-switch-between-certain-hours/25768)

<div class="topic-metadata">

**Author:** [@fritserasmus](https://discourse.nodered.org/u/fritserasmus)\
**Replies:** 17\
**Last updated:** [10 May 2020 17:17 UTC](https://discourse.nodered.org/t/flow-to-activate-switch-between-certain-hours/25768 "2020-05-10T17:17:14Z")

</div>

I have a Node-MCU ESP8266 filled with a DS18B20 temperature sensor that measures the temperature in my home office. This temperature reading goes through the switch node to set upper and lower temperature values that in…

---

## [UART port issue](https://discourse.nodered.org/t/uart-port-issue/26411)

<div class="topic-metadata">

**Author:** [@Srini](https://discourse.nodered.org/u/Srini)\
**Replies:** 6\
**Last updated:** [10 May 2020 16:31 UTC](https://discourse.nodered.org/t/uart-port-issue/26411 "2020-05-10T16:31:52Z")

</div>

Hi Guys, I am new to node red i have an issue with node red using the uart port on pi. My goal in this is to read Energy meter data via UART port using modbus and share same data on MQTT. Details: Starting as a syst…

---

## [How can I use splitted msg in another function?](https://discourse.nodered.org/t/how-can-i-use-splitted-msg-in-another-function/26438)

<div class="topic-metadata">

**Author:** [@HELPME](https://discourse.nodered.org/u/HELPME)\
**Replies:** 2\
**Last updated:** [10 May 2020 16:27 UTC](https://discourse.nodered.org/t/how-can-i-use-splitted-msg-in-another-function/26438 "2020-05-10T16:27:59Z")

</div>

Hello everyone, I'm stucked with my project for database, and I could use some help. I have a function node, which give me temperature data like Low High Medium and so on. My task is to give all the data to my TEM…

---

## [MongoDB integration with NodeRed](https://discourse.nodered.org/t/mongodb-integration-with-nodered/26422)

<div class="topic-metadata">

**Author:** [@ElleshaHackett](https://discourse.nodered.org/u/ElleshaHackett)\
**Replies:** 4\
**Last updated:** [10 May 2020 14:53 UTC](https://discourse.nodered.org/t/mongodb-integration-with-nodered/26422 "2020-05-10T14:53:24Z")

</div>

I love this project. Using it a few days, so far without any problems till I tried to integrate MongoDB. I'm using Docker but I am totally lost by the lack of proper documentation. All docs seem outdated and the package …

---

## [Split string into different flows](https://discourse.nodered.org/t/split-string-into-different-flows/26417)

<div class="topic-metadata">

**Author:** [@opinionion](https://discourse.nodered.org/u/opinionion)\
**Replies:** 2\
**Last updated:** [10 May 2020 14:08 UTC](https://discourse.nodered.org/t/split-string-into-different-flows/26417 "2020-05-10T14:08:03Z")

</div>

Hello everyone. Is there a way to split msg.payload string into three diffrent flows. The input is a message (from twitter) that i need to split into three diffrent flows. The payload has to be cut afer 100 characters,…

---

## [Template to http out not working](https://discourse.nodered.org/t/template-to-http-out-not-working/26423)

<div class="topic-metadata">

**Author:** [@edmundhei](https://discourse.nodered.org/u/edmundhei)\
**Replies:** 1\
**Last updated:** [10 May 2020 13:41 UTC](https://discourse.nodered.org/t/template-to-http-out-not-working/26423 "2020-05-10T13:41:39Z")

</div>

Hi I am trying to send the mqtt result to the template node and display on a webpage. The debug node is displaying the correct info but template node is showing "No response object" \[{"id":"80675ac8.8a62e8","type":"ta…

---

## [How to check a value remains above threshold for a time?](https://discourse.nodered.org/t/how-to-check-a-value-remains-above-threshold-for-a-time/26429)

<div class="topic-metadata">

**Author:** [@ebloemsma](https://discourse.nodered.org/u/ebloemsma)\
**Replies:** 1\
**Last updated:** [10 May 2020 13:37 UTC](https://discourse.nodered.org/t/how-to-check-a-value-remains-above-threshold-for-a-time/26429 "2020-05-10T13:37:17Z")

</div>

I have a input value of sun radiation and want to control blinds with it. But the value is very unstable, so I want to react (shades down/up) only if the value remains above or below a threshold for a given time (e.g. 10…

---

## [Global INT set vars -\> NaN](https://discourse.nodered.org/t/global-int-set-vars-nan/26410)

<div class="topic-metadata">

**Author:** [@pautorras](https://discourse.nodered.org/u/pautorras)\
**Replies:** 3\
**Last updated:** [10 May 2020 13:05 UTC](https://discourse.nodered.org/t/global-int-set-vars-nan/26410 "2020-05-10T13:05:13Z")

</div>

Hi, I think I've tried almost everything like Number(var), ParseInt(var,10), toFixed(1),...., but I'm getting always NaN in the context menu of Global vars. See the function code: var status=msg.payload.weather; var …

---

## [ASCII Convert Control Character](https://discourse.nodered.org/t/ascii-convert-control-character/26140)

<div class="topic-metadata">

**Author:** [@New2Node](https://discourse.nodered.org/u/New2Node)\
**Replies:** 8\
**Last updated:** [10 May 2020 12:59 UTC](https://discourse.nodered.org/t/ascii-convert-control-character/26140 "2020-05-10T12:59:16Z")

</div>

Hi, I'm unable to decode a message from a serial device, if send buffer \[2,69,12,202,170,194,66,192,100,232,255,255,75,70,225,9,181,20,159,51,174,82,69,65,68,69,82,0,112,153,3\] I can see the raw data (Ascii) shows E…

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

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