# General

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

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

**Page:** 580

---

## [How to send(publish) payload data sequentially?](https://discourse.nodered.org/t/how-to-send-publish-payload-data-sequentially/42980)

<div class="topic-metadata">

**Author:** [@OchoijuoO](https://discourse.nodered.org/u/OchoijuoO)\
**Replies:** 3\
**Last updated:** [28 March 2021 16:20 UTC](https://discourse.nodered.org/t/how-to-send-publish-payload-data-sequentially/42980 "2021-03-28T16:20:25Z")

</div>

Hi , I want to send Database's column data . ///////////////////////////////////////////////////////////////// msg.reqList = ;//create empty array var i = 0; msg.payload.rows.forEach(function(e) { let row = e.req\_cm…

---

## [Emotiv Car With Node-Red](https://discourse.nodered.org/t/emotiv-car-with-node-red/43321)

<div class="topic-metadata">

**Author:** [@engineerrules](https://discourse.nodered.org/u/engineerrules)\
**Replies:** 1\
**Last updated:** [28 March 2021 15:25 UTC](https://discourse.nodered.org/t/emotiv-car-with-node-red/43321 "2021-03-28T15:25:18Z")

</div>

Hello Friends; Is it possible with Node -Red. Can ı use serial communication for that, for example; When I blink, ı want to send to my arduino data "w" and w is setted as forward in arduino. laugh data "s" to backward …

---

## [Deleting Chart-Data (flow.data)](https://discourse.nodered.org/t/deleting-chart-data-flow-data/43316)

<div class="topic-metadata">

**Author:** [@Rezcue](https://discourse.nodered.org/u/Rezcue)\
**Replies:** 7\
**Last updated:** [28 March 2021 15:25 UTC](https://discourse.nodered.org/t/deleting-chart-data-flow-data/43316 "2021-03-28T15:25:05Z")

</div>

Hello, im trying to delete my stored chart-data to reset my Chart. But somehow it does not work. I still get the chart with the last data after i restart node-red. Before deleting i block new incoming data. ContextStto…

---

## [Problems with Contrib-Eiscp on Onkyo NR686](https://discourse.nodered.org/t/problems-with-contrib-eiscp-on-onkyo-nr686/43319)

<div class="topic-metadata">

**Author:** [@demolud2](https://discourse.nodered.org/u/demolud2)\
**Replies:** 0\
**Last updated:** [28 March 2021 14:19 UTC](https://discourse.nodered.org/t/problems-with-contrib-eiscp-on-onkyo-nr686/43319 "2021-03-28T14:19:11Z")

</div>

Hi, trying to create a flow which would turn on my device and set to one of the presets in TuneIn. I manage to arrive at presets list sending following commands(the workflow is for Zone 2): ZPW01 SLI2B NSV0E0 NTCSE…

---

## [Return PythonShell output to a http response](https://discourse.nodered.org/t/return-pythonshell-output-to-a-http-response/10834)

<div class="topic-metadata">

**Author:** [@lunawire](https://discourse.nodered.org/u/lunawire)\
**Replies:** 27\
**Last updated:** [28 March 2021 13:57 UTC](https://discourse.nodered.org/t/return-pythonshell-output-to-a-http-response/10834 "2021-03-28T13:57:08Z")

</div>

Hi, I'm somewhat new to NR, but have some python scripts that are triggered via HTTP POSTs to Node Red that are working great. However, I want to complete the transaction by returning the script output to the original h…

---

## [Beginner Question; Only pass payload if another value is true](https://discourse.nodered.org/t/beginner-question-only-pass-payload-if-another-value-is-true/43313)

<div class="topic-metadata">

**Author:** [@knaxman](https://discourse.nodered.org/u/knaxman)\
**Replies:** 3\
**Last updated:** [28 March 2021 13:26 UTC](https://discourse.nodered.org/t/beginner-question-only-pass-payload-if-another-value-is-true/43313 "2021-03-28T13:26:47Z")

</div>

Hi guys, I have a simple question. I have a node calculating values and generating an on/off comand, that works works fine. Now I want to block the command if a switch from the UI is false. How do I have to do this? \[…

---

## [Form and event to control machins and send data to csv fil](https://discourse.nodered.org/t/form-and-event-to-control-machins-and-send-data-to-csv-fil/43302)

<div class="topic-metadata">

**Author:** [@Khaledpro](https://discourse.nodered.org/u/Khaledpro)\
**Replies:** 5\
**Last updated:** [28 March 2021 12:30 UTC](https://discourse.nodered.org/t/form-and-event-to-control-machins-and-send-data-to-csv-fil/43302 "2021-03-28T12:30:47Z")

</div>

hi everyone i wish that you are fine, as @Colin and @Steve-Mcl and others helped me I'm thankful for you ... i have worked on a project it's about tracking events in a machine we want to not turn on this machine just …

---

## [Exec node unable to launch service](https://discourse.nodered.org/t/exec-node-unable-to-launch-service/43246)

<div class="topic-metadata">

**Author:** [@cocothedoges](https://discourse.nodered.org/u/cocothedoges)\
**Replies:** 5\
**Last updated:** [28 March 2021 10:41 UTC](https://discourse.nodered.org/t/exec-node-unable-to-launch-service/43246 "2021-03-28T10:41:53Z")

</div>

Hi guys, from previous issues, im trying to run a ffmpeg command as a service... If I execute from command line, it works like a charm: pi@pi2:~ $ systemctl --user start myscript But, when I execute it from exec nod…

---

## [Turning an attribute into an entity](https://discourse.nodered.org/t/turning-an-attribute-into-an-entity/42181)

<div class="topic-metadata">

**Author:** [@Fuenti](https://discourse.nodered.org/u/Fuenti)\
**Replies:** 10\
**Last updated:** [28 March 2021 06:11 UTC](https://discourse.nodered.org/t/turning-an-attribute-into-an-entity/42181 "2021-03-28T06:11:27Z")

</div>

I am relatively new to Node Red. I have a flow that i would like to trigger every time the Ecobee thermostat changes the target temperature. The difficulty is that this temperature is an attribute to a climate entity. Ho…

---

## [Cant get serialport to work](https://discourse.nodered.org/t/cant-get-serialport-to-work/6719)

<div class="topic-metadata">

**Author:** [@ChuckBanger](https://discourse.nodered.org/u/ChuckBanger)\
**Replies:** 13\
**Last updated:** [28 March 2021 00:28 UTC](https://discourse.nodered.org/t/cant-get-serialport-to-work/6719 "2021-03-28T00:28:59Z")

</div>

I have a node red installed om a RPI3. I'a new to node red so maybe this is easy... I try to use node-red-node-serialport to send serial request. When i hit deploy i get this debug message: "serial port /dev/ttyS0 error…

---

## [Like traffic lights but resending only most recent message](https://discourse.nodered.org/t/like-traffic-lights-but-resending-only-most-recent-message/43295)

<div class="topic-metadata">

**Author:** [@maxym](https://discourse.nodered.org/u/maxym)\
**Replies:** 2\
**Last updated:** [27 March 2021 20:56 UTC](https://discourse.nodered.org/t/like-traffic-lights-but-resending-only-most-recent-message/43295 "2021-03-27T20:56:20Z")

</div>

hello What I want to achieve is functionality of controlled message flow with memorizing of most recent blocked one in order to send it when flow is allowed again. Just imagine messages sent with some frequency. Those …

---

## [Flow Context variables and passing them to a subflow](https://discourse.nodered.org/t/flow-context-variables-and-passing-them-to-a-subflow/43297)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 3\
**Last updated:** [27 March 2021 20:31 UTC](https://discourse.nodered.org/t/flow-context-variables-and-passing-them-to-a-subflow/43297 "2021-03-27T20:31:45Z")

</div>

I have some very repetitive single function nodes that come up on around 20 or so maybe more, maybe less flows... I want to move them all to a subflow to allow for easier editing in future as the system expands, should i…

---

## [Light control with Shellys](https://discourse.nodered.org/t/light-control-with-shellys/43199)

<div class="topic-metadata">

**Author:** [@automati](https://discourse.nodered.org/u/automati)\
**Replies:** 9\
**Last updated:** [27 March 2021 17:14 UTC](https://discourse.nodered.org/t/light-control-with-shellys/43199 "2021-03-27T17:14:30Z")

</div>

Hello everyone, I have 4 shellys at home. Now I have 3 switches for 3 lights each. In addition, I have 1 switch at the entrance. When I enter the building (and press the switch at the entrance) then only one lamp should …

---

## [Node-red/node\_modules/xbee-api/lib/xbee-api ERROR](https://discourse.nodered.org/t/node-red-node-modules-xbee-api-lib-xbee-api-error/43039)

<div class="topic-metadata">

**Author:** [@Rezcue](https://discourse.nodered.org/u/Rezcue)\
**Replies:** 10\
**Last updated:** [27 March 2021 16:11 UTC](https://discourse.nodered.org/t/node-red-node-modules-xbee-api-lib-xbee-api-error/43039 "2021-03-27T16:11:37Z")

</div>

Hello, im using the XBee-Nodes. My Setup is running like it should. Checking Waterlvl and sending it via XBee to Node-RED. But i get this error when my setup is running longer. 22 Mar 20:27:50 - \[info\] \[mqtt-broker:2af…

---

## [Display any real time value direcly in front of picture?](https://discourse.nodered.org/t/display-any-real-time-value-direcly-in-front-of-picture/43138)

<div class="topic-metadata">

**Author:** [@corso66](https://discourse.nodered.org/u/corso66)\
**Replies:** 10\
**Last updated:** [27 March 2021 15:11 UTC](https://discourse.nodered.org/t/display-any-real-time-value-direcly-in-front-of-picture/43138 "2021-03-27T15:11:20Z")

</div>

Hi all, I have succeeded to insert a picture in background or in a node group. However, i'm telling me about how can i display any température and other real time values on a hydraulic schema like this one : I have …

---

## [Nodered can't turn on/off digital pin](https://discourse.nodered.org/t/nodered-cant-turn-on-off-digital-pin/43276)

<div class="topic-metadata">

**Author:** [@faprile](https://discourse.nodered.org/u/faprile)\
**Replies:** 2\
**Last updated:** [27 March 2021 13:47 UTC](https://discourse.nodered.org/t/nodered-cant-turn-on-off-digital-pin/43276 "2021-03-27T13:47:38Z")

</div>

Hello, I have installed nodered whit the script. I'm trying to run my firs flow, i read this guide https://projects.raspberrypi.org/en/projects/getting-started-with-node-red. I can't tur on or off my led, it's always …

---

## [Clarifying use of split node](https://discourse.nodered.org/t/clarifying-use-of-split-node/43091)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 16\
**Last updated:** [27 March 2021 12:42 UTC](https://discourse.nodered.org/t/clarifying-use-of-split-node/43091 "2021-03-27T12:42:54Z")

</div>

Hi, I need a clarification on use of split node. I have an incoming message like this one: \*#\*1##\*#\*1##\*5\*1\*##\*5\*5\*##\*5\*7\*##\*5\*9\*##\*5\*18\*#1##\*5\*18\*#2##\*5\*18\*#3##\*5\*18\*#4##\*5\*11\*#5##\*5\*11\*#6##\*5\*11\*#7##\*5\*11\*#8## and I…

---

## [Weird timer behaviour](https://discourse.nodered.org/t/weird-timer-behaviour/43186)

<div class="topic-metadata">

**Author:** [@manjha](https://discourse.nodered.org/u/manjha)\
**Replies:** 14\
**Last updated:** [27 March 2021 08:26 UTC](https://discourse.nodered.org/t/weird-timer-behaviour/43186 "2021-03-27T08:26:06Z")

</div>

I have a task in Node Red that is triggered at a specific time. This has worked OK for several months, but now for some reason stopped working. The weird thing: when I change the specific time to a few minutes in the f…

---

## [Land Mines? NPM 7.7.5? With NR?](https://discourse.nodered.org/t/land-mines-npm-7-7-5-with-nr/43239)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 3\
**Last updated:** [27 March 2021 05:38 UTC](https://discourse.nodered.org/t/land-mines-npm-7-7-5-with-nr/43239 "2021-03-27T05:38:42Z")

</div>

Using my test Pi, I tried to upgrade npm to 7.7.5... yes I know this can be ugly, and it was. The actual update was not the issue, but when I did npm install against the package list after deleting node\_modules, somethi…

---

## [Split string to object and send to webserver (Traccar)](https://discourse.nodered.org/t/split-string-to-object-and-send-to-webserver-traccar/43046)

<div class="topic-metadata">

**Author:** [@bjornsundberg](https://discourse.nodered.org/u/bjornsundberg)\
**Replies:** 8\
**Last updated:** [26 March 2021 18:36 UTC](https://discourse.nodered.org/t/split-string-to-object-and-send-to-webserver-traccar/43046 "2021-03-26T18:36:49Z")

</div>

I'm not very good at coding and have now tried with split, function and JSON to Object convert nodes for days without success. Please help me: O I'm getting this string below from an ESP8266 with a GPS and need it to pu…

---

## [Error Code on new startup](https://discourse.nodered.org/t/error-code-on-new-startup/43240)

<div class="topic-metadata">

**Author:** [@Rookie](https://discourse.nodered.org/u/Rookie)\
**Replies:** 0\
**Last updated:** [26 March 2021 17:45 UTC](https://discourse.nodered.org/t/error-code-on-new-startup/43240 "2021-03-26T17:45:32Z")

</div>

Hi all, I just upgraded to standard plan on IBM Cloud, I tried to startup a new instance and got this error The application manager cannot find the service. Incident ID: 3a623036-cf9e-4ec7-ad44-fb598da59b75 Does not ex…

---

## [Global variable undefined in subflow?](https://discourse.nodered.org/t/global-variable-undefined-in-subflow/43132)

<div class="topic-metadata">

**Author:** [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Replies:** 21\
**Last updated:** [26 March 2021 16:09 UTC](https://discourse.nodered.org/t/global-variable-undefined-in-subflow/43132 "2021-03-26T16:09:13Z")

</div>

Hi All, I've just bumped into a problem and I just can't believe my eyes. One of our systems started to send emails with undefined values where no such values should appear. So I started to investigate the email sending…

---

## [Msg.topic manipilation of output of a function node](https://discourse.nodered.org/t/msg-topic-manipilation-of-output-of-a-function-node/43236)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 2\
**Last updated:** [26 March 2021 15:53 UTC](https://discourse.nodered.org/t/msg-topic-manipilation-of-output-of-a-function-node/43236 "2021-03-26T15:53:33Z")

</div>

A newbie question.... Again.... I have a function node that has a few outputs, what is the correct way of setting a different topic for a particular output? ie: return \[ {payload:0}, {payload:1} \]; Sets the payloads …

---

## [Advice On JavaScript Again](https://discourse.nodered.org/t/advice-on-javascript-again/43197)

<div class="topic-metadata">

**Author:** [@Dgillett](https://discourse.nodered.org/u/Dgillett)\
**Replies:** 9\
**Last updated:** [26 March 2021 15:07 UTC](https://discourse.nodered.org/t/advice-on-javascript-again/43197 "2021-03-26T15:07:29Z")

</div>

I was able to find a huge solution to one of my problems yesterday using this forum, I'm hoping to get one last piece of advice to figure out the one remaining issue with this code. if (typeof msg.payload.ProgramNumber …

---

## [Dropdown node in node red](https://discourse.nodered.org/t/dropdown-node-in-node-red/43196)

<div class="topic-metadata">

**Author:** [@ivexy24](https://discourse.nodered.org/u/ivexy24)\
**Replies:** 33\
**Last updated:** [26 March 2021 14:45 UTC](https://discourse.nodered.org/t/dropdown-node-in-node-red/43196 "2021-03-26T14:45:32Z")

</div>

Lets say I have 1 GET request and from it i get an array of objects. Is there any way to make a dropdown of all the objects so i can manually select which object I want to use?

---

## [Mongodb network access issues. IP Address?](https://discourse.nodered.org/t/mongodb-network-access-issues-ip-address/43143)

<div class="topic-metadata">

**Author:** [@perryjamessugden](https://discourse.nodered.org/u/perryjamessugden)\
**Replies:** 6\
**Last updated:** [26 March 2021 13:55 UTC](https://discourse.nodered.org/t/mongodb-network-access-issues-ip-address/43143 "2021-03-26T13:55:10Z")

</div>

Hey I've started to use Node-RED for a project which I'm super excited about. I've setup my OSC in and formatted as JSON and can read in the debug window, all good. Now i've been following some tutorials but run into …

---

## [How to extract data from mysql node response?](https://discourse.nodered.org/t/how-to-extract-data-from-mysql-node-response/43221)

<div class="topic-metadata">

**Author:** [@RMILIOussama](https://discourse.nodered.org/u/RMILIOussama)\
**Replies:** 7\
**Last updated:** [26 March 2021 12:59 UTC](https://discourse.nodered.org/t/how-to-extract-data-from-mysql-node-response/43221 "2021-03-26T12:59:07Z")

</div>

Node-Red version : 1.0.6 I want to extract some data from DataBase MySQL response to do some other operation ! \[{"id":"b3dfdc6d.e7775","type":"function","z":"ccdfe680.e48b48","name":"Get data","func":"msg.topic = msg.p…

---

## [Sonos amp mit NodeRed](https://discourse.nodered.org/t/sonos-amp-mit-nodered/43227)

<div class="topic-metadata">

**Author:** [@automati](https://discourse.nodered.org/u/automati)\
**Replies:** 1\
**Last updated:** [26 March 2021 12:57 UTC](https://discourse.nodered.org/t/sonos-amp-mit-nodered/43227 "2021-03-26T12:57:33Z")

</div>

Hello everyone, does anyone know if I can control a sonos amp with nodered? So I want to be able to switch the Sonos amp on and off from Nodered, and does someone know when I switch on the Sonos amp whether the last stat…

---

## [Pass value to S7 from mysql](https://discourse.nodered.org/t/pass-value-to-s7-from-mysql/43230)

<div class="topic-metadata">

**Author:** [@Eimerich](https://discourse.nodered.org/u/Eimerich)\
**Replies:** 0\
**Last updated:** [26 March 2021 09:26 UTC](https://discourse.nodered.org/t/pass-value-to-s7-from-mysql/43230 "2021-03-26T09:26:46Z")

</div>

Hi there, My next step into the forest of S7/Mysql interconnection... I successfully created a test insert node using an "inject" node connected to the S7 out node and forcing the script of a value (text). Right... no…

---

## [Flows restart after restart of Node Red but not after a reboot of the pi](https://discourse.nodered.org/t/flows-restart-after-restart-of-node-red-but-not-after-a-reboot-of-the-pi/43129)

<div class="topic-metadata">

**Author:** [@IanLauder](https://discourse.nodered.org/u/IanLauder)\
**Replies:** 23\
**Last updated:** [26 March 2021 09:10 UTC](https://discourse.nodered.org/t/flows-restart-after-restart-of-node-red-but-not-after-a-reboot-of-the-pi/43129 "2021-03-26T09:10:10Z")

</div>

Relatively new to Node Red so if you can answer in laymans terms or with a complete example. I have a Raspberri Pi running Node Red and some of the flows are not restarted after the Pi is rebooted. If I do a restart of…

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

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