# General

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

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

**Page:** 955

---

## [Node-red not running with pm2](https://discourse.nodered.org/t/node-red-not-running-with-pm2/2214)

<div class="topic-metadata">

**Author:** [@JBX028](https://discourse.nodered.org/u/JBX028)\
**Replies:** 5\
**Last updated:** [15 August 2018 14:48 UTC](https://discourse.nodered.org/t/node-red-not-running-with-pm2/2214 "2018-08-15T14:48:49Z")

</div>

Hi, I just bought a new pi3+ and installed node-red into it . When I run it with command "node-red", nodered starts with not issue. I have installed pm2 for which I have already 2 applications running this way but it d…

---

## [How to T-SQL Finding who attempted to backup the “master” database?](https://discourse.nodered.org/t/how-to-t-sql-finding-who-attempted-to-backup-the-master-database/2303)

<div class="topic-metadata">

**Author:** [@camillelola](https://discourse.nodered.org/u/camillelola)\
**Replies:** 2\
**Last updated:** [15 August 2018 11:25 UTC](https://discourse.nodered.org/t/how-to-t-sql-finding-who-attempted-to-backup-the-master-database/2303 "2018-08-15T11:25:31Z")

</div>

I am new to SQL Server. I am running SQL Server 2016. For the last two nights at 7 pm the SQL Server Alert System sent me this alert: 'Severity 016: Miscellaneous User Error' DATE/TIME: 8/8/2018 7:02:19 PM DESCRIPTION:…

---

## [Reading file line by line](https://discourse.nodered.org/t/reading-file-line-by-line/2299)

<div class="topic-metadata">

**Author:** [@TholoMonyai](https://discourse.nodered.org/u/TholoMonyai)\
**Replies:** 10\
**Last updated:** [15 August 2018 09:36 UTC](https://discourse.nodered.org/t/reading-file-line-by-line/2299 "2018-08-15T09:36:40Z")

</div>

Good Day I'm reading a file and it reads everything all once using the file reader node, is it possible to read a file line by line every second. For instance: Read- send as payload- wait second- ... Read next line…

---

## [Installation Error "RollbackFailedOptional"](https://discourse.nodered.org/t/installation-error-rollbackfailedoptional/2298)

<div class="topic-metadata">

**Author:** [@Wasif](https://discourse.nodered.org/u/Wasif)\
**Replies:** 3\
**Last updated:** [15 August 2018 07:56 UTC](https://discourse.nodered.org/t/installation-error-rollbackfailedoptional/2298 "2018-08-15T07:56:14Z")

</div>

Hi Guys, I am new to NODE-RED. I am trying to install on my windows and getting the following error. C:\\Users\\Administrator\>npm install -g --unsafe-perm node-red \[..................\] / rollbackFailedOptional: verb npm…

---

## [AWS MQTT 'Disconnected' problem](https://discourse.nodered.org/t/aws-mqtt-disconnected-problem/2272)

<div class="topic-metadata">

**Author:** [@Asmaa](https://discourse.nodered.org/u/Asmaa)\
**Replies:** 1\
**Last updated:** [15 August 2018 07:48 UTC](https://discourse.nodered.org/t/aws-mqtt-disconnected-problem/2272 "2018-08-15T07:48:05Z")

</div>

Hi everyone, I have some issues related to the connection between the mqtt node output and AWS. It seems to work well for a period and then it disconnects without having any modifications done. At the same time I have a…

---

## [Issues upgrading nodejs](https://discourse.nodered.org/t/issues-upgrading-nodejs/2282)

<div class="topic-metadata">

**Author:** [@fmuntean](https://discourse.nodered.org/u/fmuntean)\
**Replies:** 10\
**Last updated:** [15 August 2018 01:19 UTC](https://discourse.nodered.org/t/issues-upgrading-nodejs/2282 "2018-08-15T01:19:33Z")

</div>

I have run the following: apt install nodejs and got the v8 apt list nodejs Listing... Done nodejs/stable,now 8.11.1~dfsg-2~bpo9+1 armhf \[installed\] however when running node -v I still get: pi@DietPi:~ $ node -v …

---

## [Migrating Node-Red to another Windows machine](https://discourse.nodered.org/t/migrating-node-red-to-another-windows-machine/2271)

<div class="topic-metadata">

**Author:** [@arneym](https://discourse.nodered.org/u/arneym)\
**Replies:** 4\
**Last updated:** [14 August 2018 21:45 UTC](https://discourse.nodered.org/t/migrating-node-red-to-another-windows-machine/2271 "2018-08-14T21:45:10Z")

</div>

I put together a proof of concept on a personal Windows PC, but now my company is ready to purchase equipment. I need to move my Node-Red instance to a new PC. How do I do this? Thanks, Mike

---

## [Integrating Node-Red with external website](https://discourse.nodered.org/t/integrating-node-red-with-external-website/2276)

<div class="topic-metadata">

**Author:** [@newshade](https://discourse.nodered.org/u/newshade)\
**Replies:** 5\
**Last updated:** [14 August 2018 21:38 UTC](https://discourse.nodered.org/t/integrating-node-red-with-external-website/2276 "2018-08-14T21:38:36Z")

</div>

Hi everybody! I'm completely new to node-red but need to create some project that integrates PLC controller with web interface running on external server. I do it using SQL database running on the same server as the web…

---

## [Xiaomi firmware update issues](https://discourse.nodered.org/t/xiaomi-firmware-update-issues/1842)

<div class="topic-metadata">

**Author:** [@Erbachm](https://discourse.nodered.org/u/Erbachm)\
**Replies:** 1\
**Last updated:** [14 August 2018 18:08 UTC](https://discourse.nodered.org/t/xiaomi-firmware-update-issues/1842 "2018-08-14T18:08:45Z")

</div>

Wondering if anyone else is experiencing issues with their Xiaomi devices after updating the firmware to 1.4.1\_156.0143. Aside for the changes to the messages being sent to node red I'm having major issues with my smart…

---

## [How to export correctly my FLow and Push it to github?](https://discourse.nodered.org/t/how-to-export-correctly-my-flow-and-push-it-to-github/2278)

<div class="topic-metadata">

**Author:** [@dcarva](https://discourse.nodered.org/u/dcarva)\
**Replies:** 2\
**Last updated:** [14 August 2018 15:27 UTC](https://discourse.nodered.org/t/how-to-export-correctly-my-flow-and-push-it-to-github/2278 "2018-08-14T15:27:47Z")

</div>

Hello, So I'm trying to export my node-red flow to github but first I need to understand how to export. I'm already export library and clipboard which I saved like an .txt file. But How can I share my work in github wi…

---

## [Reply client base on session id](https://discourse.nodered.org/t/reply-client-base-on-session-id/2260)

<div class="topic-metadata">

**Author:** [@thiren](https://discourse.nodered.org/u/thiren)\
**Replies:** 4\
**Last updated:** [14 August 2018 12:46 UTC](https://discourse.nodered.org/t/reply-client-base-on-session-id/2260 "2018-08-14T12:46:30Z")

</div>

How to reply client base on client session id after the request payload go through few nodes?? I need some example flow nodes?

---

## [Delayed payload msg for a node](https://discourse.nodered.org/t/delayed-payload-msg-for-a-node/2270)

<div class="topic-metadata">

**Author:** [@TholoMonyai](https://discourse.nodered.org/u/TholoMonyai)\
**Replies:** 3\
**Last updated:** [14 August 2018 12:08 UTC](https://discourse.nodered.org/t/delayed-payload-msg-for-a-node/2270 "2018-08-14T12:08:39Z")

</div>

Good Day I have an array of integers and I would like to release each element of the array every second as payload msg from the node. task is similar to this: https://groups.google.com/forum/#!topic/node-red/ft1Vrrp9qP…

---

## [Insert into MongoDB - Only allows msg.payload object](https://discourse.nodered.org/t/insert-into-mongodb-only-allows-msg-payload-object/2258)

<div class="topic-metadata">

**Author:** [@d0ublei](https://discourse.nodered.org/u/d0ublei)\
**Replies:** 11\
**Last updated:** [14 August 2018 10:21 UTC](https://discourse.nodered.org/t/insert-into-mongodb-only-allows-msg-payload-object/2258 "2018-08-14T10:21:02Z")

</div>

I am having an issue inserting something other than the msg.payload object into Mongo. I have a JSON object I am trying to insert. I Convert and Format the Object to a JSON string and then insert it into Mongo, however I…

---

## [Dual Server Socket in two deferent Flow sheet](https://discourse.nodered.org/t/dual-server-socket-in-two-deferent-flow-sheet/1046)

<div class="topic-metadata">

**Author:** [@thiren](https://discourse.nodered.org/u/thiren)\
**Replies:** 1\
**Last updated:** [14 August 2018 10:13 UTC](https://discourse.nodered.org/t/dual-server-socket-in-two-deferent-flow-sheet/1046 "2018-08-14T10:13:26Z")

</div>

I have two server socket in two deferent flow sheet, the problem I facing is, when I send request to one of the server socket, the return value getting from both of the server socket. I change my question. How to crea…

---

## [Tcp Request return msg.payload](https://discourse.nodered.org/t/tcp-request-return-msg-payload/2121)

<div class="topic-metadata">

**Author:** [@thiren](https://discourse.nodered.org/u/thiren)\
**Replies:** 2\
**Last updated:** [14 August 2018 02:06 UTC](https://discourse.nodered.org/t/tcp-request-return-msg-payload/2121 "2018-08-14T02:06:38Z")

</div>

The TCP request returning with two msg.payload, MEAN, with single reply from server socket this TCP request client return back with two msg.payload. Please check below image and let me know how to fix? For your informat…

---

## [0.19 Node Red roadmap](https://discourse.nodered.org/t/0-19-node-red-roadmap/1782)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 30\
**Last updated:** [13 August 2018 23:14 UTC](https://discourse.nodered.org/t/0-19-node-red-roadmap/1782 "2018-08-13T23:14:06Z")

</div>

Nick.... This persistable context, will that mean that globals will be optionally backed up to disk/flash between NR sessions (power down/up) ? I'm sure you've already documented it somewhere but if so I've missed it. I …

---

## [Stored Data into Array for Line Chart](https://discourse.nodered.org/t/stored-data-into-array-for-line-chart/1976)

<div class="topic-metadata">

**Author:** [@demillertime](https://discourse.nodered.org/u/demillertime)\
**Replies:** 2\
**Last updated:** [13 August 2018 15:39 UTC](https://discourse.nodered.org/t/stored-data-into-array-for-line-chart/1976 "2018-08-13T15:39:11Z")

</div>

Hello all, First post noobie here. I am looking for a method to take a string of values from a stored data file in the format: {"timestamp":"2018-07-31T18:38:44.613Z","timeinstate":0} {"timestamp":"2018-07-31T18:38:45…

---

## [Pioneer vsx 921](https://discourse.nodered.org/t/pioneer-vsx-921/2239)

<div class="topic-metadata">

**Author:** [@Steffen](https://discourse.nodered.org/u/Steffen)\
**Replies:** 14\
**Last updated:** [13 August 2018 15:38 UTC](https://discourse.nodered.org/t/pioneer-vsx-921/2239 "2018-08-13T15:38:40Z")

</div>

Hello i have an Pioneer VSX 921 and i have a flow that i can control it. But i want a button on ex dashboard to turn up or down volume 10 notches. but when i get value from receiver it wont work in function with if this…

---

## [Response time, update speed](https://discourse.nodered.org/t/response-time-update-speed/2249)

<div class="topic-metadata">

**Author:** [@carver01](https://discourse.nodered.org/u/carver01)\
**Replies:** 1\
**Last updated:** [13 August 2018 15:12 UTC](https://discourse.nodered.org/t/response-time-update-speed/2249 "2018-08-13T15:12:04Z")

</div>

Hey i'm kinda new to node-red and i am wondering when i run this on a raspberry pi, does it update fast eneugh within 30hz (0.03S) for I/O control kind regards,

---

## [Posting audio files using HTTP request node](https://discourse.nodered.org/t/posting-audio-files-using-http-request-node/2254)

<div class="topic-metadata">

**Author:** [@emmajdaws](https://discourse.nodered.org/u/emmajdaws)\
**Replies:** 0\
**Last updated:** [13 August 2018 14:08 UTC](https://discourse.nodered.org/t/posting-audio-files-using-http-request-node/2254 "2018-08-13T14:08:46Z")

</div>

I have a REST API that is expecting an audio file as request.files\['audio\_file'\]. I have msg.payload set to the audio buffer, msg.headers content-type set to audio/\* The request hits the application but it can't find 'a…

---

## [Send data of forms in HTML on output of template without use DASHBOARD?!](https://discourse.nodered.org/t/send-data-of-forms-in-html-on-output-of-template-without-use-dashboard/2252)

<div class="topic-metadata">

**Author:** [@imadouino](https://discourse.nodered.org/u/imadouino)\
**Replies:** 2\
**Last updated:** [13 August 2018 14:04 UTC](https://discourse.nodered.org/t/send-data-of-forms-in-html-on-output-of-template-without-use-dashboard/2252 "2018-08-13T14:04:09Z")

</div>

I want to use my code instead of dashboard to send data to my function in node-red. How i can do it ? thank you for your help. \> \<form\> \> First name:\<br\> \> \<input type="text" name="firstname" value="Mickey"\> \> \<b…

---

## [The old topic of messagse. (msg.payload etc)](https://discourse.nodered.org/t/the-old-topic-of-messagse-msg-payload-etc/2056)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 29\
**Last updated:** [13 August 2018 03:09 UTC](https://discourse.nodered.org/t/the-old-topic-of-messagse-msg-payload-etc/2056 "2018-08-13T03:09:03Z")

</div>

I have been sent to this site a lot: Working with messages Nice. But I am looking at stuff and I am reading about: msg.payload.shift() Mr G sends me to that site (seems to be a very popular one) but I can't find shi…

---

## [Odd pressure reading](https://discourse.nodered.org/t/odd-pressure-reading/2231)

<div class="topic-metadata">

**Author:** [@Backup](https://discourse.nodered.org/u/Backup)\
**Replies:** 11\
**Last updated:** [12 August 2018 19:40 UTC](https://discourse.nodered.org/t/odd-pressure-reading/2231 "2018-08-12T19:40:12Z")

</div>

I have connected to www.openweathermap.org and am receiving weather data in json format. I've managed to split the data to individual items but pressure is making me wonder about units. I'm getting 1017 for a reading a…

---

## [Website format strangeness](https://discourse.nodered.org/t/website-format-strangeness/769)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 3\
**Last updated:** [12 August 2018 15:34 UTC](https://discourse.nodered.org/t/website-format-strangeness/769 "2018-08-12T15:34:06Z")

</div>

Trivial, except to those of us with OCD. Viewing in a narrow window such as on my iPad, the menu bar layout on the “flows” page wraps before it does on the other pages. \[001\] Probably not worth the bother to fix, but I…

---

## [Node Red Fail Service](https://discourse.nodered.org/t/node-red-fail-service/2225)

<div class="topic-metadata">

**Author:** [@kalyanbl](https://discourse.nodered.org/u/kalyanbl)\
**Replies:** 2\
**Last updated:** [11 August 2018 10:46 UTC](https://discourse.nodered.org/t/node-red-fail-service/2225 "2018-08-11T10:46:04Z")

</div>

Hi folks, I'm running the red node in Linux (raspbian) and am experiencing some problems. It constantly restarts unexpectedly by displaying the following log messages: 25 Jul 02:35:47 - \[red\] Uncaught Exception: 25 Ju…

---

## [Power supply setup](https://discourse.nodered.org/t/power-supply-setup/2200)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 12\
**Last updated:** [11 August 2018 07:11 UTC](https://discourse.nodered.org/t/power-supply-setup/2200 "2018-08-11T07:11:48Z")

</div>

Hi folks, This question is not NR related, but I think enough brains are avaliable here... I have lots of devices, all with their own voltage levels (5v / 7,5v / 9v / ...). Currently I have some din-rail adapters to 1…

---

## [Azure SQL Node to Azure SQL db](https://discourse.nodered.org/t/azure-sql-node-to-azure-sql-db/2197)

<div class="topic-metadata">

**Author:** [@nishad1092](https://discourse.nodered.org/u/nishad1092)\
**Replies:** 1\
**Last updated:** [10 August 2018 12:21 UTC](https://discourse.nodered.org/t/azure-sql-node-to-azure-sql-db/2197 "2018-08-10T12:21:32Z")

</div>

Hi, I have already connected to the Azure SQL database using the Azure SQL node. It would be really helpful if somebody could guide me thru a sample flow which connects to the Azure SQL and a code which sends random nu…

---

## [Video stills capture](https://discourse.nodered.org/t/video-stills-capture/1746)

<div class="topic-metadata">

**Author:** [@BigWillow](https://discourse.nodered.org/u/BigWillow)\
**Replies:** 27\
**Last updated:** [8 August 2018 19:24 UTC](https://discourse.nodered.org/t/video-stills-capture/1746 "2018-08-08T19:24:01Z")

</div>

Hi. I'm looking for help on composite video capture, capturing stills. I am thinking of using the USB Webcam node node-red-contrib-usbcamera with a USB capture stick ?? Will this work ??

---

## [Node-red is not executing on IBM cloud, on Node-red start kit is not working](https://discourse.nodered.org/t/node-red-is-not-executing-on-ibm-cloud-on-node-red-start-kit-is-not-working/2119)

<div class="topic-metadata">

**Author:** [@sergiogama](https://discourse.nodered.org/u/sergiogama)\
**Replies:** 6\
**Last updated:** [9 August 2018 01:57 UTC](https://discourse.nodered.org/t/node-red-is-not-executing-on-ibm-cloud-on-node-red-start-kit-is-not-working/2119 "2018-08-09T01:57:19Z")

</div>

Hi, I'm trying to create a instance of Node-red on IBM Cloud, but it is not get up and not run. The instance became crashed. Any clue?

---

## [PiLCD (node-red-node-pilcd) LCD only shows left 8x2 of 16x2 screen](https://discourse.nodered.org/t/pilcd-node-red-node-pilcd-lcd-only-shows-left-8x2-of-16x2-screen/2165)

<div class="topic-metadata">

**Author:** [@R-Shed](https://discourse.nodered.org/u/R-Shed)\
**Replies:** 3\
**Last updated:** [8 August 2018 21:52 UTC](https://discourse.nodered.org/t/pilcd-node-red-node-pilcd-lcd-only-shows-left-8x2-of-16x2-screen/2165 "2018-08-08T21:52:40Z")

</div>

Hi All, I've been creating a Node-Red Raspberry Pi temperature/humidity sensor set-up for my home, and I'd like to output the temperature and humidity values to my 16x2 LCD display. The display is a 16x2 HD44780-type L…

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

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